Package org.freedesktop.harfbuzz
Class AatLayoutFeatureSelectorInfo
java.lang.Object
org.javagi.base.ProxyInstance
org.freedesktop.harfbuzz.AatLayoutFeatureSelectorInfo
- All Implemented Interfaces:
Proxy
@Generated("io.github.jwharm.JavaGI")
public class AatLayoutFeatureSelectorInfo
extends ProxyInstance
Structure representing a setting for an
hb_aat_layout_feature_type_t.-
Constructor Summary
ConstructorsConstructorDescriptionAllocate a new AatLayoutFeatureSelectorInfo.Allocate a new AatLayoutFeatureSelectorInfo.Create a AatLayoutFeatureSelectorInfo proxy instance for the provided memory address.AatLayoutFeatureSelectorInfo(OtNameId nameId, AatLayoutFeatureSelector enable, AatLayoutFeatureSelector disable) Allocate a new AatLayoutFeatureSelectorInfo with the fields set to the provided values.AatLayoutFeatureSelectorInfo(OtNameId nameId, AatLayoutFeatureSelector enable, AatLayoutFeatureSelector disable, Arena arena) Allocate a new AatLayoutFeatureSelectorInfo with the fields set to the provided values. -
Method Summary
Modifier and TypeMethodDescriptionstatic MemoryLayoutThe memory layout of the native struct.Read the value of the fielddisable.Read the value of the fieldenable.Read the value of the fieldname_id.voidwriteDisable(AatLayoutFeatureSelector disable) Write a value in the fielddisable.voidwriteEnable(AatLayoutFeatureSelector enable) Write a value in the fieldenable.voidwriteNameId(OtNameId nameId) Write a value in the fieldname_id.Methods inherited from class org.javagi.base.ProxyInstance
equals, handle, hashCode
-
Constructor Details
-
AatLayoutFeatureSelectorInfo
Create a AatLayoutFeatureSelectorInfo proxy instance for the provided memory address.- Parameters:
address- the memory address of the native object
-
AatLayoutFeatureSelectorInfo
Allocate a new AatLayoutFeatureSelectorInfo.- Parameters:
arena- to control the memory allocation scope
-
AatLayoutFeatureSelectorInfo
public AatLayoutFeatureSelectorInfo()Allocate a new AatLayoutFeatureSelectorInfo. The memory is allocated withArena.ofAuto(). -
AatLayoutFeatureSelectorInfo
public AatLayoutFeatureSelectorInfo(OtNameId nameId, AatLayoutFeatureSelector enable, AatLayoutFeatureSelector disable, Arena arena) Allocate a new AatLayoutFeatureSelectorInfo with the fields set to the provided values.- Parameters:
nameId- value for the fieldnameIdenable- value for the fieldenabledisable- value for the fielddisablearena- to control the memory allocation scope
-
AatLayoutFeatureSelectorInfo
public AatLayoutFeatureSelectorInfo(OtNameId nameId, AatLayoutFeatureSelector enable, AatLayoutFeatureSelector disable) Allocate a new AatLayoutFeatureSelectorInfo with the fields set to the provided values. The memory is allocated withArena.ofAuto().- Parameters:
nameId- value for the fieldnameIdenable- value for the fieldenabledisable- value for the fielddisable
-
-
Method Details
-
getMemoryLayout
The memory layout of the native struct.- Returns:
- the memory layout
-
readNameId
Read the value of the fieldname_id.- Returns:
- The value of the field
name_id
-
writeNameId
Write a value in the fieldname_id.- Parameters:
nameId- The new value for the fieldname_id
-
readEnable
Read the value of the fieldenable.- Returns:
- The value of the field
enable
-
writeEnable
Write a value in the fieldenable.- Parameters:
enable- The new value for the fieldenable
-
readDisable
Read the value of the fielddisable.- Returns:
- The value of the field
disable
-
writeDisable
Write a value in the fielddisable.- Parameters:
disable- The new value for the fielddisable
-