Uses of Enum Class
net.risingworld.api.ui.style.Unit
-
Uses of Unit in net.risingworld.api.ui
Modifier and TypeMethodDescriptionvoid
UILabel.setFontSize
(float size, Unit unit) Sets a font size for the label. -
Uses of Unit in net.risingworld.api.ui.style
Modifier and TypeMethodDescriptionstatic Unit
Unit.get
(int ordinal) Gets an enum from the ordinal value.StyleLength.getUnit()
StyleTransformOrigin.getUnitX()
StyleTranslate.getUnitX()
StyleTransformOrigin.getUnitY()
StyleTranslate.getUnitY()
static Unit
Returns the enum constant of this class with the specified name.static Unit[]
Unit.values()
Returns an array containing the constants of this enum class, in the order they are declared.