Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LineGeometry

Describes a geometry that consists of a line.

Hierarchy

Implements

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

end

end: Point

Gets or sets the end point

start

start: Point

Gets or sets the start point.

transform

transform: Transform

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

Accessors

Private type

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

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 createLineGeometry

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

    Parameters

    Returns LineGeometry

Static measure

Generated using TypeDoc