Class FT_PaintLinearGradient

All Implemented Interfaces:
Pointer

public class FT_PaintLinearGradient extends Struct<FT_PaintLinearGradient>

 struct FT_PaintLinearGradient {
     {@link FT_ColorLine FT_ColorLine} colorline;
     {@link FT_Vector FT_Vector} p0;
     {@link FT_Vector FT_Vector} p1;
     {@link FT_Vector FT_Vector} p2;
 }
  • Field Details

    • SIZEOF

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

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

      public static final int COLORLINE
      The struct member offsets.
    • P0

      public static final int P0
      The struct member offsets.
    • P1

      public static final int P1
      The struct member offsets.
    • P2

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

    • FT_PaintLinearGradient

      public FT_PaintLinearGradient(ByteBuffer container)
      Creates a FT_PaintLinearGradient 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