Class Block
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Block(Drawable children, Vec2 at, Vec2 size, Align alignment, Vec2 visibleSize, Boolean focusable, PolyColor color, FloatArray radii)Block(Drawable children, Vec2 at, Vec2 size, Align alignment, Vec2 visibleSize, Boolean focusable, PolyColor color)Block(Drawable children, Vec2 at, Vec2 size, Align alignment, Vec2 visibleSize, Boolean focusable)Block(Drawable children, Vec2 at, Vec2 size, Align alignment, Vec2 visibleSize)Block(Drawable children, Vec2 at, Vec2 size, Align alignment)Block(Drawable children, Vec2 at, Vec2 size)Block(Drawable children, Vec2 at)Block(Drawable children)
-
Method Summary
Modifier and Type Method Description final PolyColorgetBoarderColor()final UnitsetBoarderColor(PolyColor boarderColor)final FloatgetBoarderWidth()final UnitsetBoarderWidth(Float boarderWidth)final FloatArraygetRadii()final UnitsetRadii(FloatArray radii)Unitrescale(Float scaleX, Float scaleY, Boolean position)Method that is called when the physical size of the total window area changes. -
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, get, get, get, getAcceptsInput, getAlignment, getAlpha, getAtValid, getChildren, getColor, getEnabled, getFocusable, getFramebuffer, getHasVisibleSize, getHeight, getInitialized, getInputState, getNeedsRedraw, getOperating, getPalette, getParent, getParent0, getPolyUI, getRawResize, getRenderer, getRenders, getRotation, getScaleX, getScaleY, getScrolling, getSimpleName, getSize, getSizeValid, getSkewX, getSkewY, getVisibleSize, getVisibleSize0, getWidth, getX, getY, get_x, get_y, hasListenersFor, intersects, isInside, recalculate, recalculateChildren, removeChild, removeChild, removeOperation, reset, resetScroll, set, set, setAcceptsInput, setAlpha, setColor, setEnabled, setHeight, setInputState, setNeedsRedraw, setPalette, setParent, setParent0, setRawResize, setRenders, 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
-
-
Constructor Detail
-
Block
Block(Drawable children, Vec2 at, Vec2 size, Align alignment, Vec2 visibleSize, Boolean focusable, PolyColor color, FloatArray radii)
-
Block
Block(Drawable children, Vec2 at, Vec2 size, Align alignment, Vec2 visibleSize, Boolean focusable, PolyColor color)
-
Block
Block(Drawable children, Vec2 at, Vec2 size, Align alignment, Vec2 visibleSize, Boolean focusable)
-
Block
Block(Drawable children)
-
-
Method Detail
-
getBoarderColor
final PolyColor getBoarderColor()
-
setBoarderColor
final Unit setBoarderColor(PolyColor boarderColor)
-
getBoarderWidth
final Float getBoarderWidth()
-
setBoarderWidth
final Unit setBoarderWidth(Float boarderWidth)
-
getRadii
final FloatArray getRadii()
-
setRadii
final Unit setRadii(FloatArray radii)
-
-
-
-