Options
All
  • Public
  • Public/Protected
  • All
Menu

Class EllipseGeometry

Describes an elliptical geometry.

Hierarchy

Implements

Index

Constructors

constructor

  • Initializes a new instance of the EllipseGeometry class.

    Parameters

    • center: Point

      The center of the ellipse.

    • radiusX: number

      The radius in horizontal direction.

    • radiusY: number

      The radius in horizontal direction.

    • Optional transform: Transform

      The transformation matrix.

    Returns EllipseGeometry

Properties

position

position: Point

Gets or sets the center of the ellipse.

radiusX

radiusX: number

Gets or sets the radius in horizontal direction.

radiusY

radiusY: number

Gets or sets the readius in vertical direction.

transform

transform: Transform

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

Accessors

Private type

  • get type(): "ellipse"
  • Returns "ellipse"

Methods

measure

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 createEllipseGeometry

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

    Parameters

    Returns EllipseGeometry

Static measure

Generated using TypeDoc