Uses of Enum Class
ca.corbett.extras.image.ImageTextUtil.TextAlign
Packages that use ImageTextUtil.TextAlign
Package
Description
Contains utilities and components related to image handling.
-
Uses of ImageTextUtil.TextAlign in ca.corbett.extras.image
Methods in ca.corbett.extras.image that return ImageTextUtil.TextAlignModifier and TypeMethodDescriptionstatic ImageTextUtil.TextAlignstatic ImageTextUtil.TextAlignReturns the enum constant of this class with the specified name.static ImageTextUtil.TextAlign[]ImageTextUtil.TextAlign.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in ca.corbett.extras.image with parameters of type ImageTextUtil.TextAlignModifier and TypeMethodDescriptionstatic voidImageTextUtil.drawText(BufferedImage image, String text, int lineLength, Font font, ImageTextUtil.TextAlign align, Color outlineColor, float outlineWidthFactor, Color fillColor) Outputs the given lines of text using the given styling parameters.static voidImageTextUtil.drawText(BufferedImage image, String text, int lineLength, Font font, ImageTextUtil.TextAlign align, Color outlineColor, float outlineWidthFactor, Color fillColor, BufferedImage fillTexture, Rectangle rect) Outputs the given lines of text using the given styling parameters and the given placement rectangle.static voidImageTextUtil.drawText(BufferedImage image, String text, Font font, Color outlineColor, Color fillColor, ImageTextUtil.TextAlign align) Shorthand for drawing text on an image with the given font styling properties and alignment.