Class SwitchProperties
-
- All Implemented Interfaces:
-
kotlin.Cloneable
public class SwitchProperties extends StatedProperties
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description SwitchProperties()
-
Method Summary
Modifier and Type Method Description FloatArraygetCornerRadii()UnitgetBitPadding()This is the padding between the switch background and the switch 'bit' (the bit that moves) PolyColorgetBitColor()PolyColorgetLabelColor()UnitgetLabelFontSize()FontgetLabelFont()UnitgetLateralPadding()UnitgetVerticalPadding()only used if fontSize is 0 -
Methods inherited from class org.polyfrost.polyui.property.impl.StatedProperties
getActivateAnimation, getActivateAnimationDuration, getActivePalette, getOnActivate, getOnDeactivate -
Methods inherited from class org.polyfrost.polyui.property.impl.BlockProperties
getHoverAnimation, getHoverAnimationDuration, getOutlineColor, getOutlineThickness, getPalette, getPaletteGet, getPressedAnimation, getPressedAnimationDuration, setPaletteGet -
Methods inherited from class org.polyfrost.polyui.property.Properties
addEventHandler, getColors, getEventHandlers, getFonts, getInitialized, getSize, init, setColors, setFonts -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getCornerRadii
FloatArray getCornerRadii()
-
getBitPadding
Unit getBitPadding()
This is the padding between the switch background and the switch 'bit' (the bit that moves)
-
getBitColor
PolyColor getBitColor()
-
getLabelColor
PolyColor getLabelColor()
-
getLabelFontSize
Unit getLabelFontSize()
-
getLabelFont
Font getLabelFont()
-
getLateralPadding
Unit getLateralPadding()
-
getVerticalPadding
Unit getVerticalPadding()
only used if fontSize is 0
-
-
-
-