Uses of Enum
com.orsonpdf.util.TextAnchor
Packages that use TextAnchor
-
Uses of TextAnchor in com.orsonpdf.util
Methods in com.orsonpdf.util that return TextAnchorModifier and TypeMethodDescriptionstatic TextAnchorReturns the enum constant of this type with the specified name.static TextAnchor[]TextAnchor.values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.orsonpdf.util with parameters of type TextAnchorModifier and TypeMethodDescriptionstatic Rectangle2DTextUtils.drawAlignedString(String text, Graphics2D g2, float x, float y, TextAnchor anchor) Draws a string such that the specified anchor point is aligned to the given(x, y)location.static voidTextUtils.drawRotatedString(String text, Graphics2D g2, float x, float y, TextAnchor textAnchor, double angle, float rotationX, float rotationY) Draws a string that is aligned by one anchor point and rotated about another anchor point.static voidTextUtils.drawRotatedString(String text, Graphics2D g2, float x, float y, TextAnchor textAnchor, double angle, TextAnchor rotationAnchor) Draws a string that is aligned by one anchor point and rotated about another anchor point.