Class OtVarAxis

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

@Generated("org.javagi.JavaGI") @Deprecated public class OtVarAxis extends ProxyInstance
Deprecated.
Use hb_ot_var_axis_info_t instead.
Since:
1.4.2
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
    Allocate a new OtVarAxis.
    Deprecated.
    Allocate a new OtVarAxis.
    Deprecated.
    Create a OtVarAxis proxy instance for the provided memory address.
    OtVarAxis(Tag tag, OtNameId nameId, float minValue, float defaultValue, float maxValue)
    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 Type
    Method
    Description
    Deprecated.
    The memory layout of the native struct.
    float
    Deprecated.
    Read the value of the field default_value.
    float
    Deprecated.
    Read the value of the field max_value.
    float
    Deprecated.
    Read the value of the field min_value.
    Deprecated.
    Read the value of the field name_id.
    Deprecated.
    Read the value of the field tag.
    void
    writeDefaultValue(float defaultValue)
    Deprecated.
    Write a value in the field default_value.
    void
    writeMaxValue(float maxValue)
    Deprecated.
    Write a value in the field max_value.
    void
    writeMinValue(float minValue)
    Deprecated.
    Write a value in the field min_value.
    void
    Deprecated.
    Write a value in the field name_id.
    void
    Deprecated.
    Write a value in the field tag.

    Methods inherited from class ProxyInstance

    equals, handle, hashCode

    Methods inherited from class Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • OtVarAxis

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

      public OtVarAxis(Arena arena)
      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 with Arena.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 field tag
      nameId - value for the field nameId
      minValue - value for the field minValue
      defaultValue - value for the field defaultValue
      maxValue - value for the field maxValue
      arena - to control the memory allocation scope
    • OtVarAxis

      public OtVarAxis(Tag tag, OtNameId nameId, float minValue, float defaultValue, float maxValue)
      Deprecated.
      Allocate a new OtVarAxis with the fields set to the provided values. The memory is allocated with Arena.ofAuto().
      Parameters:
      tag - value for the field tag
      nameId - value for the field nameId
      minValue - value for the field minValue
      defaultValue - value for the field defaultValue
      maxValue - value for the field maxValue
  • Method Details

    • getMemoryLayout

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

      public Tag readTag()
      Deprecated.
      Read the value of the field tag.
      Returns:
      The value of the field tag
    • writeTag

      public void writeTag(Tag tag)
      Deprecated.
      Write a value in the field tag.
      Parameters:
      tag - The new value for the field tag
    • readNameId

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

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

      public float readMinValue()
      Deprecated.
      Read the value of the field min_value.
      Returns:
      The value of the field min_value
    • writeMinValue

      public void writeMinValue(float minValue)
      Deprecated.
      Write a value in the field min_value.
      Parameters:
      minValue - The new value for the field min_value
    • readDefaultValue

      public float readDefaultValue()
      Deprecated.
      Read the value of the field default_value.
      Returns:
      The value of the field default_value
    • writeDefaultValue

      public void writeDefaultValue(float defaultValue)
      Deprecated.
      Write a value in the field default_value.
      Parameters:
      defaultValue - The new value for the field default_value
    • readMaxValue

      public float readMaxValue()
      Deprecated.
      Read the value of the field max_value.
      Returns:
      The value of the field max_value
    • writeMaxValue

      public void writeMaxValue(float maxValue)
      Deprecated.
      Write a value in the field max_value.
      Parameters:
      maxValue - The new value for the field max_value