C# Class Core2D.Path.Segments.XLineSegment

Line path segment.
Inheritance: XPathSegment
Exibir arquivo Open project: Core2D/Core2D Class Usage Examples

Public Methods

Method Description
Create ( XPoint point, bool isStroked, bool isSmoothJoin ) : XLineSegment

Creates a new XLineSegment instance.

GetPoints ( ) : IEnumerable
ToString ( ) : string

Method Details

Create() public static method

Creates a new XLineSegment instance.
public static Create ( XPoint point, bool isStroked, bool isSmoothJoin ) : XLineSegment
point Core2D.Shapes.XPoint The end point.
isStroked bool The flag indicating whether shape is stroked.
isSmoothJoin bool The flag indicating whether shape is smooth join.
return XLineSegment

GetPoints() public method

public GetPoints ( ) : IEnumerable
return IEnumerable

ToString() public method

public ToString ( ) : string
return string