Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PathFigure

Describes a component of a PathGeometry. Multiple path figures are combined using a FillRule. The path figures of a path geometry are not connected, so they appear as independent shapes.

Hierarchy

  • PathFigure

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

  • Initializes a new instance of the PathFigure class.

    Parameters

    • startPoint: Point

      The start point.

    • segments: PathSegment[]

      The path segments.

    • isClosed: boolean

      A value indicating, whether this figure is closed.

    Returns PathFigure

Properties

isClosed

isClosed: boolean

Gets or sets a value indicating, whether this figure is closed.

segments

segments: PathSegment[]

Gets or sets the path segments.

startPoint

startPoint: Point

Gets or sets the start point.

Methods

Private serialize

  • serialize(target: BufferWriter): void
  • Parameters

    • target: BufferWriter

    Returns void

Static create

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

    Parameters

    Returns PathFigure

Generated using TypeDoc