C# Class Core2D.Path.Segments.XCubicBezierSegment

Cubic bezier path segment.
Inheritance: XPathSegment
Show file Open project: Core2D/Core2D Class Usage Examples

Public Methods

Method Description
Create ( XPoint point1, XPoint point2, XPoint point3, bool isStroked, bool isSmoothJoin ) : XCubicBezierSegment

Creates a new XCubicBezierSegment instance.

GetPoints ( ) : IEnumerable
ToString ( ) : string

Method Details

Create() public static method

Creates a new XCubicBezierSegment instance.
public static Create ( XPoint point1, XPoint point2, XPoint point3, bool isStroked, bool isSmoothJoin ) : XCubicBezierSegment
point1 Core2D.Shapes.XPoint The first control point.
point2 Core2D.Shapes.XPoint The second control point.
point3 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 XCubicBezierSegment

GetPoints() public method

public GetPoints ( ) : IEnumerable
return IEnumerable

ToString() public method

public ToString ( ) : string
return string