Class Block
-
-
Field Summary
Fields Modifier and Type Field Description private FloatArrayradiiprivate PolyColorboarderColorprivate FloatboarderWidthprivate Vec2sizeprivate Vec2visibleSizeprivate final transient Drawableparentprivate Vec2atprivate BooleanrawResizeprivate transient StringsimpleNameprivate final LinkedList<Drawable>childrenprivate final transient PolyUIpolyUIprivate final Rendererrendererprivate Framebufferframebufferprivate PolyColor.Animatedcolorprivate final transient Colors.Palettepaletteprivate Floatxprivate Floatyprivate Floatwidthprivate Floatheightprivate FloatvisibleWidthprivate FloatvisibleHeightprivate transient BooleanneedsRedrawprivate transient BooleanacceptsInputprivate final transient Booleaninitializedprivate transient ByteinputStateprivate transient Booleanrendersprivate final BooleanconsumesHoverprivate Booleanenabledprivate Doublerotationprivate DoubleskewXprivate DoubleskewYprivate FloatscaleXprivate FloatscaleYprivate Floatalphaprivate Alignalignmentprivate final Booleanfocusable
-
Constructor Summary
Constructors Constructor Description Block(Vec2 at, Vec2 size, Align alignment, Vec2 visibleSize, Boolean focusable, FloatArray radii, PolyColor boarderColor, Float boarderWidth, Drawable children)Block(Vec2 at, Vec2 size, Align alignment, Vec2 visibleSize, Boolean focusable, FloatArray radii, PolyColor boarderColor, Drawable children)Block(Vec2 at, Vec2 size, Align alignment, Vec2 visibleSize, Boolean focusable, FloatArray radii, 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 FloatArraygetRadii()final UnitsetRadii(FloatArray radii)final PolyColorgetBoarderColor()final UnitsetBoarderColor(PolyColor boarderColor)final FloatgetBoarderWidth()final UnitsetBoarderWidth(Float boarderWidth)-
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, getConsumesHover, getEnabled, getFocusable, getFramebuffer, getHeight, getInitialized, getInputState, getNeedsRedraw, getPalette, getParent, getPolyUI, getRawResize, getRenderer, getRenders, getRotation, getScaleX, getScaleY, getSimpleName, getSize, getSkewX, getSkewY, getVisibleHeight, getVisibleSize, getVisibleWidth, getWidth, getX, getY, intersects, isInside, removeChild, removeChild, removeOperation, repositionChildren, rescale, reset, set, set, setAcceptsInput, setAlignment, setAlpha, setAt, setColor, setEnabled, setFramebuffer, setHeight, setInputState, setNeedsRedraw, setPalette, setRawResize, setRenders, setRotation, setScaleX, setScaleY, setSimpleName, setSize, setSkewX, setSkewY, setVisibleHeight, setVisibleSize, setVisibleWidth, setWidth, setX, setY, setup, toString -
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, FloatArray radii, PolyColor boarderColor, Float boarderWidth, Drawable children)
-
Block
Block(Vec2 at, Vec2 size, Align alignment, Vec2 visibleSize, Boolean focusable, FloatArray radii, PolyColor boarderColor, Drawable children)
-
Block
Block(Vec2 at, Vec2 size, Align alignment, Vec2 visibleSize, Boolean focusable, FloatArray radii, Drawable children)
-
Block
Block(Vec2 at, Vec2 size, Align alignment, Vec2 visibleSize, Boolean focusable, Drawable children)
-
Block
Block(Drawable children)
-
-
Method Detail
-
getRadii
final FloatArray getRadii()
-
setRadii
final Unit setRadii(FloatArray radii)
-
getBoarderColor
final PolyColor getBoarderColor()
-
setBoarderColor
final Unit setBoarderColor(PolyColor boarderColor)
-
getBoarderWidth
final Float getBoarderWidth()
-
setBoarderWidth
final Unit setBoarderWidth(Float boarderWidth)
-
-
-
-