Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RectangleGeometry

Describes a rectangular geometry.

Hierarchy

Implements

Index

Constructors

constructor

Properties

height

height: number

Gets or sets the height.

position

position: Point

Gets or sets the position.

transform

transform: Transform

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

width

width: number

Gets or sets the width.

Accessors

Private type

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

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 createRectangleGeometry

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

    Parameters

    Returns RectangleGeometry

Static measure

Generated using TypeDoc