Package org.freedesktop.harfbuzz
Class OtVarAxis
java.lang.Object
org.javagi.base.ProxyInstance
org.freedesktop.harfbuzz.OtVarAxis
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.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 MemoryLayoutDeprecated.The memory layout of the native struct.floatDeprecated.Read the value of the fielddefault_value.floatDeprecated.Read the value of the fieldmax_value.floatDeprecated.Read the value of the fieldmin_value.Deprecated.Read the value of the fieldname_id.readTag()Deprecated.Read the value of the fieldtag.voidwriteDefaultValue(float defaultValue) Deprecated.Write a value in the fielddefault_value.voidwriteMaxValue(float maxValue) Deprecated.Write a value in the fieldmax_value.voidwriteMinValue(float minValue) Deprecated.Write a value in the fieldmin_value.voidwriteNameId(OtNameId nameId) Deprecated.Write a value in the fieldname_id.voidDeprecated.Write a value in the fieldtag.Methods inherited from class org.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 fieldtagnameId- value for the fieldnameIdminValue- value for the fieldminValuedefaultValue- value for the fielddefaultValuemaxValue- value for the fieldmaxValuearena- 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 fieldtagnameId- value for the fieldnameIdminValue- value for the fieldminValuedefaultValue- value for the fielddefaultValuemaxValue- 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
-