Class AatLayoutFeatureSelectorInfo

java.lang.Object
org.javagi.base.ProxyInstance
org.freedesktop.harfbuzz.AatLayoutFeatureSelectorInfo
All Implemented Interfaces:
Proxy

@Generated("org.javagi.JavaGI") public class AatLayoutFeatureSelectorInfo extends ProxyInstance
Structure representing a setting for an hb_aat_layout_feature_type_t.
  • Constructor Details

    • AatLayoutFeatureSelectorInfo

      public AatLayoutFeatureSelectorInfo(MemorySegment address)
      Create a AatLayoutFeatureSelectorInfo proxy instance for the provided memory address.
      Parameters:
      address - the memory address of the native object
    • AatLayoutFeatureSelectorInfo

      public AatLayoutFeatureSelectorInfo(Arena arena)
      Allocate a new AatLayoutFeatureSelectorInfo.
      Parameters:
      arena - to control the memory allocation scope
    • AatLayoutFeatureSelectorInfo

      public AatLayoutFeatureSelectorInfo()
      Allocate a new AatLayoutFeatureSelectorInfo. The memory is allocated with Arena.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 field nameId
      enable - value for the field enable
      disable - value for the field disable
      arena - 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 with Arena.ofAuto().
      Parameters:
      nameId - value for the field nameId
      enable - value for the field enable
      disable - value for the field disable
  • Method Details

    • getMemoryLayout

      public static MemoryLayout getMemoryLayout()
      The memory layout of the native struct.
      Returns:
      the memory layout
    • readNameId

      public OtNameId readNameId()
      Read the value of the field name_id.
      Returns:
      The value of the field name_id
    • writeNameId

      public void writeNameId(OtNameId nameId)
      Write a value in the field name_id.
      Parameters:
      nameId - The new value for the field name_id
    • readEnable

      public AatLayoutFeatureSelector readEnable()
      Read the value of the field enable.
      Returns:
      The value of the field enable
    • writeEnable

      public void writeEnable(AatLayoutFeatureSelector enable)
      Write a value in the field enable.
      Parameters:
      enable - The new value for the field enable
    • readDisable

      public AatLayoutFeatureSelector readDisable()
      Read the value of the field disable.
      Returns:
      The value of the field disable
    • writeDisable

      public void writeDisable(AatLayoutFeatureSelector disable)
      Write a value in the field disable.
      Parameters:
      disable - The new value for the field disable