Class Block
-
-
Field Summary
Fields Modifier and Type Field Description private PolyColorboarderColorprivate FloatboarderWidthprivate FloatArrayradiiprivate Vec2sizeprivate final Vec2visibleSizeprivate final transient Drawableparentprivate Vec2atprivate BooleanrawResizeprivate transient StringsimpleNameprivate final LinkedList<Drawable>childrenprivate final transient PolyUIpolyUIprivate final Rendererrendererprivate final Booleanoperatingprivate PolyColor.Animatedcolorprivate final transient Colors.Palettepaletteprivate Floatxprivate Floatyprivate Floatwidthprivate Floatheightprivate FloatvisibleWidthprivate FloatvisibleHeightprivate transient BooleanneedsRedrawprivate transient BooleanacceptsInputprivate final transient Booleaninitializedprivate transient ByteinputStateprivate transient Booleanrendersprivate Booleanenabledprivate Doublerotationprivate DoubleskewXprivate DoubleskewYprivate FloatscaleXprivate FloatscaleYprivate Floatalphaprivate final Alignalignmentprivate final Booleanfocusable
-
Constructor Summary
Constructors Constructor Description Block(Vec2 at, Vec2 size, Align alignment, Vec2 visibleSize, Boolean focusable, PolyColor color, FloatArray radii, Drawable children)Block(Vec2 at, Vec2 size, Align alignment, Vec2 visibleSize, Boolean focusable, PolyColor color, Drawable children)Block(Vec2 at, Vec2 size, Align alignment, Vec2 visibleSize, Boolean focusable, Drawable children)Block(Vec2 at, Vec2 size, Align alignment, Vec2 visibleSize, Drawable children)Block(Vec2 at, Vec2 size, Align alignment, Drawable children)Block(Vec2 at, Vec2 size, Drawable children)Block(Vec2 at, Drawable children)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)-
Methods inherited from class org.polyfrost.polyui.component.Drawable
accept, addChild, addChild, addEventHandler, addEventhandler, addOperation, addOperation, calculateSize, canBeRemoved, clipChildren, clone, countChildren, debugDraw, debugPrint, draw, get, get, get, getAcceptsInput, getAlignment, getAlpha, getAt, getChildren, getColor, getEnabled, getFocusable, getHeight, getInitialized, getInputState, getNeedsRedraw, getOperating, getPalette, getParent, getPolyUI, getRawResize, getRenderer, getRenders, getRotation, getScaleX, getScaleY, getSimpleName, getSize, getSkewX, getSkewY, getVisibleHeight, getVisibleSize, getVisibleWidth, getWidth, getX, getY, hasParentOf, intersects, isInside, onAllChildren, removeChild, removeChild, removeOperation, repositionChildren, rescale, reset, set, set, setAcceptsInput, setAlpha, setAt, setColor, setEnabled, setHeight, setInputState, setNeedsRedraw, setPalette, setRawResize, setRenders, setRotation, setScaleX, setScaleY, setSimpleName, setSize, setSkewX, setSkewY, setVisibleHeight, setVisibleWidth, setWidth, setX, setY, 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(Vec2 at, Vec2 size, Align alignment, Vec2 visibleSize, Boolean focusable, PolyColor color, FloatArray radii, Drawable children)
-
Block
Block(Vec2 at, Vec2 size, Align alignment, Vec2 visibleSize, Boolean focusable, PolyColor color, Drawable children)
-
Block
Block(Vec2 at, Vec2 size, Align alignment, Vec2 visibleSize, Boolean focusable, Drawable children)
-
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)
-
-
-
-