C# Class Core2D.Path.XPathFigure

Path figure.
Inheritance: ObservableObject
ファイルを表示 Open project: Core2D/Core2D Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
Create ( XPoint startPoint, bool isFilled = true, bool isClosed = true ) : XPathFigure

Creates a new XPathFigure instance.

GetPoints ( ) : IEnumerable

Get all points in the figure.

ToString ( ) : string
ToString ( ImmutableArray segments ) : string

Creates a string representation of segments collection.

XPathFigure ( ) : System.Collections.Generic

Initializes a new instance of the XPathFigure class.

Method Details

Create() public static method

Creates a new XPathFigure instance.
public static Create ( XPoint startPoint, bool isFilled = true, bool isClosed = true ) : XPathFigure
startPoint Core2D.Shapes.XPoint The start point.
isFilled bool The flag indicating whether path is filled.
isClosed bool The flag indicating whether path is closed.
return XPathFigure

GetPoints() public method

Get all points in the figure.
public GetPoints ( ) : IEnumerable
return IEnumerable

ToString() public method

public ToString ( ) : string
return string

ToString() public method

Creates a string representation of segments collection.
public ToString ( ImmutableArray segments ) : string
segments ImmutableArray The segments collection.
return string

XPathFigure() public method

Initializes a new instance of the XPathFigure class.
public XPathFigure ( ) : System.Collections.Generic
return System.Collections.Generic