Class Group
-
-
Field Summary
-
Method Summary
Modifier and Type Method Description BooleangetRenders()Whether this drawable should be rendered. UnitsetRenders(Boolean renders)-
Methods inherited from class org.polyfrost.polyui.component.Drawable
accept, addChild, addChild, addEventHandler, addEventhandler, addOperation, addOperation, at, at, calculateSize, canBeRemoved, clipChildren, clone, debugDraw, debugString, draw, forwardEventsTo, get, get, get, getAcceptsInput, getAlignment, getAlpha, getAtValid, getChildren, getColor, getEnabled, getFocusable, getFramebuffer, getHasVisibleSize, getHeight, getInitialized, getInputState, getNeedsRedraw, getOperating, getPalette, getParent, getParent0, getPolyUI, getRawResize, getRenderer, getRotation, getScaleX, getScaleY, getScrolling, getSimpleName, getSize, getSizeValid, getSkewX, getSkewY, getVisibleSize, getVisibleSize0, getWidth, getX, getY, get_x, get_y, intersects, isInside, recalculate, recalculateChildren, removeChild, removeChild, removeOperation, rescale, reset, resetScroll, set, set, setAcceptsInput, setAlpha, setColor, setEnabled, setHeight, setInputState, setNeedsRedraw, setPalette, setParent, setParent0, setRawResize, setRotation, setScaleX, setScaleY, setSimpleName, setSize, setSkewX, setSkewY, setVisibleSize, setVisibleSize0, setWidth, setX, setY, set_x, set_y, setup, toString, tryMakeScrolling -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getRenders
Boolean getRenders()
Whether this drawable should be rendered.
This is controlled by clipChildren to save resources by not drawing drawables which cannot be seen.
if you are calling render yourself (which you really shouldn't), you should check this value.
- Since:
0.21.4
-
setRenders
Unit setRenders(Boolean renders)
-
-
-
-