C# Class Core2D.Path.XPathGeometryContext

Path geometry context.
Inheritance: XGeometryContext
Show file Open project: Core2D/Core2D Class Usage Examples

Public Methods

Method Description
ArcTo ( XPoint point, XPathSize size, double rotationAngle = 0.0, bool isLargeArc = false, XSweepDirection sweepDirection = XSweepDirection.Clockwise, bool isStroked = true, bool isSmoothJoin = true ) : void
BeginFigure ( XPoint startPoint, bool isFilled = true, bool isClosed = true ) : void
CubicBezierTo ( XPoint point1, XPoint point2, XPoint point3, bool isStroked = true, bool isSmoothJoin = true ) : void
LineTo ( XPoint point, bool isStroked = true, bool isSmoothJoin = true ) : void
PolyCubicBezierTo ( ImmutableArray points, bool isStroked = true, bool isSmoothJoin = true ) : void
PolyLineTo ( ImmutableArray points, bool isStroked = true, bool isSmoothJoin = true ) : void
PolyQuadraticBezierTo ( ImmutableArray points, bool isStroked = true, bool isSmoothJoin = true ) : void
QuadraticBezierTo ( XPoint point1, XPoint point2, bool isStroked = true, bool isSmoothJoin = true ) : void
SetClosedState ( bool isClosed ) : void
XPathGeometryContext ( XPathGeometry geometry ) : System

Initializes a new instance of the XPathGeometryContext class.

Method Details

ArcTo() public method

public ArcTo ( XPoint point, XPathSize size, double rotationAngle = 0.0, bool isLargeArc = false, XSweepDirection sweepDirection = XSweepDirection.Clockwise, bool isStroked = true, bool isSmoothJoin = true ) : void
point Core2D.Shapes.XPoint
size XPathSize
rotationAngle double
isLargeArc bool
sweepDirection XSweepDirection
isStroked bool
isSmoothJoin bool
return void

BeginFigure() public method

public BeginFigure ( XPoint startPoint, bool isFilled = true, bool isClosed = true ) : void
startPoint Core2D.Shapes.XPoint
isFilled bool
isClosed bool
return void

CubicBezierTo() public method

public CubicBezierTo ( XPoint point1, XPoint point2, XPoint point3, bool isStroked = true, bool isSmoothJoin = true ) : void
point1 Core2D.Shapes.XPoint
point2 Core2D.Shapes.XPoint
point3 Core2D.Shapes.XPoint
isStroked bool
isSmoothJoin bool
return void

LineTo() public method

public LineTo ( XPoint point, bool isStroked = true, bool isSmoothJoin = true ) : void
point Core2D.Shapes.XPoint
isStroked bool
isSmoothJoin bool
return void

PolyCubicBezierTo() public method

public PolyCubicBezierTo ( ImmutableArray points, bool isStroked = true, bool isSmoothJoin = true ) : void
points ImmutableArray
isStroked bool
isSmoothJoin bool
return void

PolyLineTo() public method

public PolyLineTo ( ImmutableArray points, bool isStroked = true, bool isSmoothJoin = true ) : void
points ImmutableArray
isStroked bool
isSmoothJoin bool
return void

PolyQuadraticBezierTo() public method

public PolyQuadraticBezierTo ( ImmutableArray points, bool isStroked = true, bool isSmoothJoin = true ) : void
points ImmutableArray
isStroked bool
isSmoothJoin bool
return void

QuadraticBezierTo() public method

public QuadraticBezierTo ( XPoint point1, XPoint point2, bool isStroked = true, bool isSmoothJoin = true ) : void
point1 Core2D.Shapes.XPoint
point2 Core2D.Shapes.XPoint
isStroked bool
isSmoothJoin bool
return void

SetClosedState() public method

public SetClosedState ( bool isClosed ) : void
isClosed bool
return void

XPathGeometryContext() public method

Initializes a new instance of the XPathGeometryContext class.
public XPathGeometryContext ( XPathGeometry geometry ) : System
geometry XPathGeometry
return System