Table of Contents

Class Figure

Namespace
HelixToolkit.SharpDX.Core2D
Assembly
HelixToolkit.SharpDX.dll
public class Figure
Inheritance
Figure
Inherited Members

Constructors

Figure(Vector2, bool, bool)

Initializes a new instance of the Figure class.

public Figure(Vector2 startPoint, bool filled, bool closed)

Parameters

startPoint Vector2

The start point.

filled bool

if set to true [filled].

closed bool

if set to true [closed].

Properties

Closed

Gets or sets a value indicating whether this Figure is closed.

public bool Closed { get; }

Property Value

bool

true if closed; otherwise, false.

Filled

Gets or sets a value indicating whether this Figure is filled.

public bool Filled { get; }

Property Value

bool

true if filled; otherwise, false.

StartPoint

Gets or sets the start point.

public Vector2 StartPoint { get; }

Property Value

Vector2

The start point.

Methods

AddSegment(ISegment, bool, bool)

Adds the segment.

public void AddSegment(ISegment segment, bool isStroked = true, bool isSmoothJoined = true)

Parameters

segment ISegment

The segment.

isStroked bool

if set to true [is stroked].

isSmoothJoined bool

if set to true [is smooth joined].

Create(GeometrySink)

Creates the specified sink.

public void Create(GeometrySink sink)

Parameters

sink GeometrySink

The sink.