Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LineSegment

Creates a line between two points in a PathFigure. In case you want to use multiple line segments consecutively, consider using the PolyLineSegment.

Hierarchy

Implements

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

to

to: Point

Gets or sets the endpoint of the segment.

Accessors

Private type

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

Methods

Private serialize

  • serialize(target: BufferWriter): void
  • Parameters

    • target: BufferWriter

    Returns void

Static create

  • Returns the path segment that is defined by the specified description.

    Parameters

    Returns PathSegment

Static createLineSegment

  • Returns the line segment that is defined by the specified description.

    Parameters

    Returns LineSegment

Generated using TypeDoc