Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Geometry

Geometries can be used for drawing and clipping. Multiple geometries can be combined using the GeometryGroup or CombinedGeometry classes.

Hierarchy

Implements

  • Serializable

Index

Constructors

Properties

Methods

Constructors

Protected constructor

  • Initializes a new Geometry instance.

    Parameters

    • Optional transform: Transform

      The transformation matrix.

    Returns Geometry

Properties

transform

transform: Transform

Gets or sets a geometries transformation matrix. The default value is the identity transform.

type

Gets the geometry type.

Methods

measure

  • Returns the bounding box of the geometry.

    host

    Returns GeometryMeasurements

Private serialize

  • serialize(target: BufferWriter): void
  • Parameters

    • target: BufferWriter

    Returns void

Static create

  • Returns the geometry that is defined by the specified geometry description.

    Parameters

    Returns Geometry

Static measure

  • Returns the bounding box of the specified geometry.

    host

    Parameters

    Returns GeometryMeasurements

Generated using TypeDoc