C# Class Core2D.Path.Segments.XQuadraticBezierSegment

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

Public Methods

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

Creates a new XQuadraticBezierSegment instance.

GetPoints ( ) : IEnumerable
ToString ( ) : string

Method Details

Create() public static method

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

GetPoints() public method

public GetPoints ( ) : IEnumerable
return IEnumerable

ToString() public method

public ToString ( ) : string
return string