Class FT_PaintRadialGradient.Buffer

All Implemented Interfaces:
Iterable<FT_PaintRadialGradient>, Pointer
Enclosing class:
FT_PaintRadialGradient

public static class FT_PaintRadialGradient.Buffer extends StructBuffer<FT_PaintRadialGradient,FT_PaintRadialGradient.Buffer>
An array of FT_PaintRadialGradient structs.
  • Constructor Details

    • Buffer

      public Buffer(ByteBuffer container)
      Creates a new FT_PaintRadialGradient.Buffer instance backed by the specified container.

      Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by FT_PaintRadialGradient.SIZEOF, and its mark will be undefined.

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

    • Buffer

      public Buffer(long address, int cap)
  • Method Details

    • colorline

      public FT_ColorLine colorline()
      Returns:
      a FT_ColorLine view of the colorline field.
    • c0

      public FT_Vector c0()
      Returns:
      a FT_Vector view of the c0 field.
    • r0

      public long r0()
      Returns:
      the value of the r0 field.
    • c1

      public FT_Vector c1()
      Returns:
      a FT_Vector view of the c1 field.
    • r1

      public long r1()
      Returns:
      the value of the r1 field.