Package org.lwjgl.util.freetype
Class FT_PaintRadialGradient
- All Implemented Interfaces:
Pointer
struct FT_PaintRadialGradient {
{@link FT_ColorLine FT_ColorLine} colorline;
{@link FT_Vector FT_Vector} c0;
FT_Pos r0;
{@link FT_Vector FT_Vector} c1;
FT_Pos r1;
}-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct size in bytes.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionFT_PaintRadialGradient(ByteBuffer container) Creates aFT_PaintRadialGradientinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionc0()c1()static FT_PaintRadialGradientcreate(long address) Returns a newFT_PaintRadialGradientinstance for the specified memory address.create(long address, int capacity) Create aFT_PaintRadialGradient.Bufferinstance at the specified memory.static @Nullable FT_PaintRadialGradientcreateSafe(long address) static @Nullable FT_PaintRadialGradient.BuffercreateSafe(long address, int capacity) static FT_Vectornc0(long struct) Unsafe version ofc0().static FT_Vectornc1(long struct) Unsafe version ofc1().static FT_ColorLinencolorline(long struct) Unsafe version ofcolorline().static longnr0(long struct) Unsafe version ofr0().static longnr1(long struct) Unsafe version ofr1().longr0()longr1()intsizeof()Returnssizeof(struct).Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
COLORLINE
public static final int COLORLINEThe struct member offsets. -
C0
public static final int C0The struct member offsets. -
R0
public static final int R0The struct member offsets. -
C1
public static final int C1The struct member offsets. -
R1
public static final int R1The struct member offsets.
-
-
Constructor Details
-
FT_PaintRadialGradient
Creates aFT_PaintRadialGradientinstance at the current position of the specifiedByteBuffercontainer. 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
-
sizeof
public int sizeof()Description copied from class:StructReturnssizeof(struct).- Specified by:
sizeofin classStruct<FT_PaintRadialGradient>
-
colorline
- Returns:
- a
FT_ColorLineview of thecolorlinefield.
-
c0
- Returns:
- a
FT_Vectorview of thec0field.
-
r0
public long r0()- Returns:
- the value of the
r0field.
-
c1
- Returns:
- a
FT_Vectorview of thec1field.
-
r1
public long r1()- Returns:
- the value of the
r1field.
-
create
Returns a newFT_PaintRadialGradientinstance for the specified memory address. -
createSafe
-
create
Create aFT_PaintRadialGradient.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
ncolorline
Unsafe version ofcolorline(). -
nc0
Unsafe version ofc0(). -
nr0
public static long nr0(long struct) Unsafe version ofr0(). -
nc1
Unsafe version ofc1(). -
nr1
public static long nr1(long struct) Unsafe version ofr1().
-