Package org.freedesktop.harfbuzz
Class OtMathKernEntry
java.lang.Object
io.github.jwharm.javagi.base.ProxyInstance
org.freedesktop.harfbuzz.OtMathKernEntry
-
Constructor Summary
ConstructorDescriptionAllocate a new OtMathKernEntry.OtMathKernEntry
(Arena arena) Allocate a new OtMathKernEntry.OtMathKernEntry
(MemorySegment address) Create a OtMathKernEntry proxy instance for the provided memory address.OtMathKernEntry
(Position maxCorrectionHeight, Position kernValue) Allocate a new OtMathKernEntry with the fields set to the provided values.OtMathKernEntry
(Position maxCorrectionHeight, Position kernValue, Arena arena) Allocate a new OtMathKernEntry with the fields set to the provided values. -
Method Summary
Modifier and TypeMethodDescriptionstatic MemoryLayout
The memory layout of the native struct.Read the value of the fieldkern_value
.Read the value of the fieldmax_correction_height
.void
writeKernValue
(Position kernValue) Write a value in the fieldkern_value
.void
writeMaxCorrectionHeight
(Position maxCorrectionHeight) Write a value in the fieldmax_correction_height
.Methods inherited from class io.github.jwharm.javagi.base.ProxyInstance
equals, handle, hashCode
-
Constructor Details
-
OtMathKernEntry
Create a OtMathKernEntry proxy instance for the provided memory address.- Parameters:
address
- the memory address of the native object
-
OtMathKernEntry
Allocate a new OtMathKernEntry.- Parameters:
arena
- to control the memory allocation scope
-
OtMathKernEntry
public OtMathKernEntry()Allocate a new OtMathKernEntry. The memory is allocated withArena.ofAuto()
. -
OtMathKernEntry
Allocate a new OtMathKernEntry with the fields set to the provided values.- Parameters:
maxCorrectionHeight
- value for the fieldmaxCorrectionHeight
kernValue
- value for the fieldkernValue
arena
- to control the memory allocation scope
-
OtMathKernEntry
Allocate a new OtMathKernEntry with the fields set to the provided values. The memory is allocated withArena.ofAuto()
.- Parameters:
maxCorrectionHeight
- value for the fieldmaxCorrectionHeight
kernValue
- value for the fieldkernValue
-
-
Method Details
-
getMemoryLayout
The memory layout of the native struct.- Returns:
- the memory layout
-
readMaxCorrectionHeight
Read the value of the fieldmax_correction_height
.- Returns:
- The value of the field
max_correction_height
-
writeMaxCorrectionHeight
Write a value in the fieldmax_correction_height
.- Parameters:
maxCorrectionHeight
- The new value for the fieldmax_correction_height
-
readKernValue
Read the value of the fieldkern_value
.- Returns:
- The value of the field
kern_value
-
writeKernValue
Write a value in the fieldkern_value
.- Parameters:
kernValue
- The new value for the fieldkern_value
-