Package org.freedesktop.harfbuzz
Class OtVarAxis
java.lang.Object
io.github.jwharm.javagi.base.ProxyInstance
org.freedesktop.harfbuzz.OtVarAxis
-
Constructor Summary
ConstructorDescriptionDeprecated.Allocate a new OtVarAxis.Deprecated.Allocate a new OtVarAxis.OtVarAxis
(MemorySegment address) Deprecated.Create a OtVarAxis proxy instance for the provided memory address.Deprecated.Allocate a new OtVarAxis with the fields set to the provided values.OtVarAxis
(Tag tag, OtNameId nameId, float minValue, float defaultValue, float maxValue, Arena arena) Deprecated.Allocate a new OtVarAxis with the fields set to the provided values. -
Method Summary
Modifier and TypeMethodDescriptionstatic MemoryLayout
Deprecated.The memory layout of the native struct.float
Deprecated.Read the value of the fielddefault_value
.float
Deprecated.Read the value of the fieldmax_value
.float
Deprecated.Read the value of the fieldmin_value
.Deprecated.Read the value of the fieldname_id
.readTag()
Deprecated.Read the value of the fieldtag
.void
writeDefaultValue
(float defaultValue) Deprecated.Write a value in the fielddefault_value
.void
writeMaxValue
(float maxValue) Deprecated.Write a value in the fieldmax_value
.void
writeMinValue
(float minValue) Deprecated.Write a value in the fieldmin_value
.void
writeNameId
(OtNameId nameId) Deprecated.Write a value in the fieldname_id
.void
Deprecated.Write a value in the fieldtag
.Methods inherited from class io.github.jwharm.javagi.base.ProxyInstance
equals, handle, hashCode
-
Constructor Details
-
OtVarAxis
Deprecated.Create a OtVarAxis proxy instance for the provided memory address.- Parameters:
address
- the memory address of the native object
-
OtVarAxis
Deprecated.Allocate a new OtVarAxis.- Parameters:
arena
- to control the memory allocation scope
-
OtVarAxis
public OtVarAxis()Deprecated.Allocate a new OtVarAxis. The memory is allocated withArena.ofAuto()
. -
OtVarAxis
public OtVarAxis(Tag tag, OtNameId nameId, float minValue, float defaultValue, float maxValue, Arena arena) Deprecated.Allocate a new OtVarAxis with the fields set to the provided values.- Parameters:
tag
- value for the fieldtag
nameId
- value for the fieldnameId
minValue
- value for the fieldminValue
defaultValue
- value for the fielddefaultValue
maxValue
- value for the fieldmaxValue
arena
- to control the memory allocation scope
-
OtVarAxis
Deprecated.Allocate a new OtVarAxis with the fields set to the provided values. The memory is allocated withArena.ofAuto()
.- Parameters:
tag
- value for the fieldtag
nameId
- value for the fieldnameId
minValue
- value for the fieldminValue
defaultValue
- value for the fielddefaultValue
maxValue
- value for the fieldmaxValue
-
-
Method Details
-
getMemoryLayout
Deprecated.The memory layout of the native struct.- Returns:
- the memory layout
-
readTag
Deprecated.Read the value of the fieldtag
.- Returns:
- The value of the field
tag
-
writeTag
Deprecated.Write a value in the fieldtag
.- Parameters:
tag
- The new value for the fieldtag
-
readNameId
Deprecated.Read the value of the fieldname_id
.- Returns:
- The value of the field
name_id
-
writeNameId
Deprecated.Write a value in the fieldname_id
.- Parameters:
nameId
- The new value for the fieldname_id
-
readMinValue
public float readMinValue()Deprecated.Read the value of the fieldmin_value
.- Returns:
- The value of the field
min_value
-
writeMinValue
public void writeMinValue(float minValue) Deprecated.Write a value in the fieldmin_value
.- Parameters:
minValue
- The new value for the fieldmin_value
-
readDefaultValue
public float readDefaultValue()Deprecated.Read the value of the fielddefault_value
.- Returns:
- The value of the field
default_value
-
writeDefaultValue
public void writeDefaultValue(float defaultValue) Deprecated.Write a value in the fielddefault_value
.- Parameters:
defaultValue
- The new value for the fielddefault_value
-
readMaxValue
public float readMaxValue()Deprecated.Read the value of the fieldmax_value
.- Returns:
- The value of the field
max_value
-
writeMaxValue
public void writeMaxValue(float maxValue) Deprecated.Write a value in the fieldmax_value
.- Parameters:
maxValue
- The new value for the fieldmax_value
-