Uses of Enum Class
net.risingworld.api.ui.style.Unit
Packages that use Unit
-
Uses of Unit in net.risingworld.api.ui
Methods in net.risingworld.api.ui with parameters of type UnitModifier and TypeMethodDescriptionvoid
UILabel.setFontSize
(float size, Unit unit) Sets a font size for the label. -
Uses of Unit in net.risingworld.api.ui.style
Methods in net.risingworld.api.ui.style that return UnitModifier 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.Methods in net.risingworld.api.ui.style with parameters of type Unit