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 TypeMethodDescriptionvoidSign.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 TypeMethodDescriptionvoidUILabel.setTextAlign(TextAnchor anchor) Sets the alignment for the text.voidUIElement.setTextTooltip(String tooltip, TextAnchor anchor, int backgroundColor, Vector2f offset) Sets a text tooltip that shows up when hovering the element with the mouse. -
Uses of TextAnchor in net.risingworld.api.ui.style
Subclasses with type arguments of type TextAnchor in net.risingworld.api.ui.styleFields in net.risingworld.api.ui.style with type parameters of type TextAnchorModifier and TypeFieldDescriptionfinal StyleEnum<TextAnchor> Style.textAlignSets the vertical and horizontal text alignment (for text / labels)Methods in net.risingworld.api.ui.style that return TextAnchorModifier and TypeMethodDescriptionstatic TextAnchorTextAnchor.get(int ordinal) Gets an enum from the ordinal value.static TextAnchorReturns 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.