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 {
         {@link FT_PaintColrLayers FT_PaintColrLayers} colr_layers;
         {@link FT_PaintGlyph FT_PaintGlyph} glyph;
         {@link FT_PaintSolid FT_PaintSolid} solid;
         {@link FT_PaintLinearGradient FT_PaintLinearGradient} linear_gradient;
         {@link FT_PaintRadialGradient FT_PaintRadialGradient} radial_gradient;
         {@link FT_PaintSweepGradient FT_PaintSweepGradient} sweep_gradient;
         {@link FT_PaintTransform FT_PaintTransform} transform;
         {@link FT_PaintTranslate FT_PaintTranslate} translate;
         {@link FT_PaintScale FT_PaintScale} scale;
         {@link FT_PaintRotate FT_PaintRotate} rotate;
         {@link FT_PaintSkew FT_PaintSkew} skew;
         {@link FT_PaintComposite FT_PaintComposite} composite;
         {@link FT_PaintColrGlyph 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