Class TextAlign

java.lang.Object
org.openpatch.scratch.extensions.text.TextAlign

public class TextAlign extends Object
The TextAlign class provides constants for text alignment options. These constants can be used to set the alignment of text in a graphical application.

Available alignment options:

  • DEFAULT - Default alignment, represented by -1.
  • CENTER - Center alignment, uses PApplet.CENTER.
  • RIGHT - Right alignment, uses PApplet.RIGHT.
  • LEFT - Left alignment, uses PApplet.LEFT.
  • Field Details

    • DEFAULT

      public static int DEFAULT
    • CENTER

      public static int CENTER
    • LEFT

      public static int LEFT
  • Constructor Details

    • TextAlign

      public TextAlign()