Class Block
-
-
Field Summary
-
Method Summary
Modifier and Type Method Description final PolyColorgetBorderColor()final UnitsetBorderColor(PolyColor borderColor)final FloatgetBorderWidth()final UnitsetBorderWidth(Float borderWidth)final FloatArraygetRadii()final UnitsetRadii(FloatArray radii)Unitrescale0(Float scaleX, Float scaleY, Boolean withChildren)raw rescale method that does not check rawResize and uses the given scale factors directly. -
Methods inherited from class org.polyfrost.polyui.component.Drawable
clone, debugDraw, draw, get, getAlpha, getColor, getColorOrNull, getFramebuffer, getPalette, getRenderer, getRotation, getScaleX, getScaleY, getSkewX, getSkewY, needsRedraw, setAlpha, setColor, setColorInternal, setNeedsRedraw, setPalette, setRotation, setScaleX, setScaleY, setSkewX, setSkewY, setup, toString -
Methods inherited from class org.polyfrost.polyui.component.Scrollable
accept, fixVisibleSize, getHasVisibleSize, getShouldScroll, getVisibleSize, isScrolling, isScrollingX, isScrollingY, popScroll, pushScroll, recalculate, resetScroll, screenAt, setHasVisibleSize, setShouldScroll, setVisibleSize, tryMakeScrolling -
Methods inherited from class org.polyfrost.polyui.component.Inputtable
acceptsInput, addEventhandler, clearHandlers, getInputState, hasListenersFor, hasListenersFor, isEnabled, isFocusable, isFocused, on, setAcceptsInput, setEnabled, setInputState -
Methods inherited from class org.polyfrost.polyui.component.Component
addChild, addChild, addOperation, addOperation, at, calculateSize, clipChildren, createdWithSetPosition, createdWithSetSize, debugString, get, get, getAlignment, getAt, getChildren, getClipped, getHeight, getInitialized, getLayoutFlags, getName, getOperations, getPadding, getParent, getParentOrNull, getPolyUI, getSize, getWidth, getX, getY, intersects, isInside, isLayoutIgnored, isOperating, isPositioned, isRawResize, isSizeValid, position, removeChild, removeChild, removeOperation, rescale, set, set, setAt, setClipped, setHeight, setLayoutFlags, setLayoutIgnored, setName, setPadding, setParent, setRawResize, setSize, setWidth, setX, setY, set_parent, size -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getBorderColor
final PolyColor getBorderColor()
-
setBorderColor
final Unit setBorderColor(PolyColor borderColor)
-
getBorderWidth
final Float getBorderWidth()
-
setBorderWidth
final Unit setBorderWidth(Float borderWidth)
-
getRadii
final FloatArray getRadii()
-
setRadii
final Unit setRadii(FloatArray radii)
-
-
-
-