Uses of Enum Class
net.risingworld.api.ui.style.TextAnchor
Packages that use TextAnchor
-
Uses of TextAnchor in net.risingworld.api.objects
Methods in net.risingworld.api.objects that return TextAnchorModifier and TypeMethodDescriptionSign.getTextAnchor()
Gets the text anchor, i.e the pivot positioni of the text.Methods in net.risingworld.api.objects with parameters of type TextAnchorModifier and TypeMethodDescriptionvoid
Sign.setTextAnchor
(TextAnchor anchor) Sets the text anchor, i.e the pivot position of the text. -
Uses of TextAnchor in net.risingworld.api.ui
Methods in net.risingworld.api.ui with parameters of type TextAnchorModifier and TypeMethodDescriptionvoid
UILabel.setTextAlign
(TextAnchor anchor) Sets the alignment for the text. -
Uses of TextAnchor in net.risingworld.api.ui.style
Fields in net.risingworld.api.ui.style with type parameters of type TextAnchorModifier and TypeFieldDescriptionfinal StyleEnum<TextAnchor>
Style.textAlign
Sets the vertical and horizontal text alignment (for text / labels)Methods in net.risingworld.api.ui.style that return TextAnchorModifier and TypeMethodDescriptionstatic TextAnchor
TextAnchor.get
(int ordinal) Gets an enum from the ordinal value.static TextAnchor
Returns the enum constant of this class with the specified name.static TextAnchor[]
TextAnchor.values()
Returns an array containing the constants of this enum class, in the order they are declared.