Interface AuthoredGeometryFacade


public interface AuthoredGeometryFacade
HIGH_LEVEL read-only view of an entity's authored local 2D geometry.

Coordinates do not include transform, scale, rotation, origin, parallax, display offsets or quad deformation. Quad deformation remains a separate capability available through EntityRef.quadDeform().

  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns true for rectangles and polygons, and false otherwise.
    boolean
    Returns whether supported authored local geometry exists.
    float
    Authored local height when dimensions exist, otherwise 0.
     
    float
    localX(int vertexIndex)
     
    float
    localY(int vertexIndex)
     
    int
    Number of local vertices: four for rectangles, the authored vertex count for polygons and polylines, and zero when no supported geometry exists.
    float
    Authored local width when dimensions exist, otherwise 0.
  • Method Details

    • exists

      boolean exists()
      Returns whether supported authored local geometry exists.
    • kind

    • width

      float width()
      Authored local width when dimensions exist, otherwise 0.
    • height

      float height()
      Authored local height when dimensions exist, otherwise 0.
    • vertexCount

      int vertexCount()
      Number of local vertices: four for rectangles, the authored vertex count for polygons and polylines, and zero when no supported geometry exists.
    • localX

      float localX(int vertexIndex)
    • localY

      float localY(int vertexIndex)
    • closed

      boolean closed()
      Returns true for rectangles and polygons, and false otherwise.