Enum Class FKCanvasFormat

java.lang.Object
java.lang.Enum<FKCanvasFormat>
dev.pfaff.altargui.pathfinder.fontkit.FKCanvasFormat
All Implemented Interfaces:
Serializable, Comparable<FKCanvasFormat>, Constable

public enum FKCanvasFormat extends Enum<FKCanvasFormat>
  • Enum Constant Details

    • Rgba32

      public static final FKCanvasFormat Rgba32
      Premultiplied R8G8B8A8, little-endian.
    • Rgb24

      public static final FKCanvasFormat Rgb24
      R8G8B8, little-endian.
    • A8

      public static final FKCanvasFormat A8
      A8.
  • Method Details

    • values

      public static FKCanvasFormat[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static FKCanvasFormat valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • value

      public final byte value()
    • pixelSizeInBytes

      public final byte pixelSizeInBytes()