Class FT_COLR_Paint

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class FT_COLR_Paint extends Struct<FT_COLR_Paint> implements NativeResource

 struct FT_COLR_Paint {
     FT_PaintFormat format;
     union {
         FT_PaintColrLayers colr_layers;
         FT_PaintGlyph glyph;
         FT_PaintSolid solid;
         FT_PaintLinearGradient linear_gradient;
         FT_PaintRadialGradient radial_gradient;
         FT_PaintSweepGradient sweep_gradient;
         FT_PaintTransform transform;
         FT_PaintTranslate translate;
         FT_PaintScale scale;
         FT_PaintRotate rotate;
         FT_PaintSkew skew;
         FT_PaintComposite composite;
         FT_PaintColrGlyph colr_glyph;
     } u;
 }
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • FORMAT

      public static final int FORMAT
      The struct member offsets.
    • U

      public static final int U
      The struct member offsets.
    • U_COLR_LAYERS

      public static final int U_COLR_LAYERS
      The struct member offsets.
    • U_GLYPH

      public static final int U_GLYPH
      The struct member offsets.
    • U_SOLID

      public static final int U_SOLID
      The struct member offsets.
    • U_LINEAR_GRADIENT

      public static final int U_LINEAR_GRADIENT
      The struct member offsets.
    • U_RADIAL_GRADIENT

      public static final int U_RADIAL_GRADIENT
      The struct member offsets.
    • U_SWEEP_GRADIENT

      public static final int U_SWEEP_GRADIENT
      The struct member offsets.
    • U_TRANSFORM

      public static final int U_TRANSFORM
      The struct member offsets.
    • U_TRANSLATE

      public static final int U_TRANSLATE
      The struct member offsets.
    • U_SCALE

      public static final int U_SCALE
      The struct member offsets.
    • U_ROTATE

      public static final int U_ROTATE
      The struct member offsets.
    • U_SKEW

      public static final int U_SKEW
      The struct member offsets.
    • U_COMPOSITE

      public static final int U_COMPOSITE
      The struct member offsets.
    • U_COLR_GLYPH

      public static final int U_COLR_GLYPH
      The struct member offsets.
  • Constructor Details

    • FT_COLR_Paint

      public FT_COLR_Paint(ByteBuffer container)
      Creates a FT_COLR_Paint instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

      The created instance holds a strong reference to the container object.

  • Method Details