Class ShapePlan

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

@Generated("org.javagi.JavaGI") public class ShapePlan extends ProxyInstance

Data type for holding a shaping plan.

Shape plans contain information about how HarfBuzz will shape a particular text segment, based on the segment's properties and the capabilities in the font face in use.

Shape plans can be queried about how shaping will perform, given a set of specific input parameters (script, language, direction, features, etc.).

  • Constructor Details

    • ShapePlan

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

    • getType

      public static @Nullable Type getType()
      Get the GType of the ShapePlan class.
      Returns:
      the GType
    • getMemoryLayout

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