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.StructValidation
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The struct alignment in bytes.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The 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_PaintRadialGradient
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptionc0()
c1()
static FT_PaintRadialGradient
create
(long address) Returns a newFT_PaintRadialGradient
instance for the specified memory address.create
(long address, int capacity) Create aFT_PaintRadialGradient.Buffer
instance at the specified memory.static @Nullable FT_PaintRadialGradient
createSafe
(long address) static @Nullable FT_PaintRadialGradient.Buffer
createSafe
(long address, int capacity) static FT_Vector
nc0
(long struct) Unsafe version ofc0()
.static FT_Vector
nc1
(long struct) Unsafe version ofc1()
.static FT_ColorLine
ncolorline
(long struct) Unsafe version ofcolorline()
.static long
nr0
(long struct) Unsafe version ofr0()
.static long
nr1
(long struct) Unsafe version ofr1()
.long
r0()
long
r1()
int
sizeof()
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_PaintRadialGradient
instance at the current position of the specifiedByteBuffer
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
-
sizeof
public int sizeof()Description copied from class:Struct
Returnssizeof(struct)
.- Specified by:
sizeof
in classStruct<FT_PaintRadialGradient>
-
colorline
- Returns:
- a
FT_ColorLine
view of thecolorline
field.
-
c0
- Returns:
- a
FT_Vector
view of thec0
field.
-
r0
public long r0()- Returns:
- the value of the
r0
field.
-
c1
- Returns:
- a
FT_Vector
view of thec1
field.
-
r1
public long r1()- Returns:
- the value of the
r1
field.
-
create
Returns a newFT_PaintRadialGradient
instance for the specified memory address. -
createSafe
-
create
Create aFT_PaintRadialGradient.Buffer
instance 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()
.
-