C# Класс Core2D.Path.XGeometryContext

Geometry context.
Показать файл Открыть проект

Открытые методы

Метод Описание
ArcTo ( XPoint point, XPathSize size, double rotationAngle, bool isLargeArc = false, XSweepDirection sweepDirection = XSweepDirection.Clockwise, bool isStroked = true, bool isSmoothJoin = true ) : void

Adds arc segment.

BeginFigure ( XPoint startPoint, bool isFilled = true, bool isClosed = true ) : void

Begins path figure.

CubicBezierTo ( XPoint point1, XPoint point2, XPoint point3, bool isStroked = true, bool isSmoothJoin = true ) : void

Adds cubic bezier segment.

LineTo ( XPoint point, bool isStroked = true, bool isSmoothJoin = true ) : void

Adds line segment.

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

Adds poly cubic bezier segment.

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

Adds poly line segment.

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

Adds poly quadratic bezier segment.

QuadraticBezierTo ( XPoint point1, XPoint point2, bool isStroked = true, bool isSmoothJoin = true ) : void

Adds quadratic bezier segment.

SetClosedState ( bool isClosed ) : void

Sets the current closed state of the figure.

Описание методов

ArcTo() публичный абстрактный Метод

Adds arc segment.
public abstract ArcTo ( XPoint point, XPathSize size, double rotationAngle, bool isLargeArc = false, XSweepDirection sweepDirection = XSweepDirection.Clockwise, bool isStroked = true, bool isSmoothJoin = true ) : void
point Core2D.Shapes.XPoint The end point.
size XPathSize The arc size.
rotationAngle double The rotation angle.
isLargeArc bool The is large flag.
sweepDirection XSweepDirection The sweep direction flag.
isStroked bool The flag indicating whether shape is stroked.
isSmoothJoin bool The flag indicating whether shape is smooth join.
Результат void

BeginFigure() публичный абстрактный Метод

Begins path figure.
public abstract BeginFigure ( XPoint startPoint, bool isFilled = true, bool isClosed = true ) : void
startPoint Core2D.Shapes.XPoint The start point.
isFilled bool The flag indicating whether figure is filled.
isClosed bool The flag indicating whether figure is closed.
Результат void

CubicBezierTo() публичный абстрактный Метод

Adds cubic bezier segment.
public abstract CubicBezierTo ( XPoint point1, XPoint point2, XPoint point3, bool isStroked = true, bool isSmoothJoin = true ) : void
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.
Результат void

LineTo() публичный абстрактный Метод

Adds line segment.
public abstract LineTo ( XPoint point, bool isStroked = true, bool isSmoothJoin = true ) : void
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.
Результат void

PolyCubicBezierTo() публичный абстрактный Метод

Adds poly cubic bezier segment.
public abstract PolyCubicBezierTo ( ImmutableArray points, bool isStroked = true, bool isSmoothJoin = true ) : void
points ImmutableArray The points array.
isStroked bool The flag indicating whether shape is stroked.
isSmoothJoin bool The flag indicating whether shape is smooth join.
Результат void

PolyLineTo() публичный абстрактный Метод

Adds poly line segment.
public abstract PolyLineTo ( ImmutableArray points, bool isStroked = true, bool isSmoothJoin = true ) : void
points ImmutableArray The points array.
isStroked bool The flag indicating whether shape is stroked.
isSmoothJoin bool The flag indicating whether shape is smooth join.
Результат void

PolyQuadraticBezierTo() публичный абстрактный Метод

Adds poly quadratic bezier segment.
public abstract PolyQuadraticBezierTo ( ImmutableArray points, bool isStroked = true, bool isSmoothJoin = true ) : void
points ImmutableArray The points array.
isStroked bool The flag indicating whether shape is stroked.
isSmoothJoin bool The flag indicating whether shape is smooth join.
Результат void

QuadraticBezierTo() публичный абстрактный Метод

Adds quadratic bezier segment.
public abstract QuadraticBezierTo ( XPoint point1, XPoint point2, bool isStroked = true, bool isSmoothJoin = true ) : void
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.
Результат void

SetClosedState() публичный абстрактный Метод

Sets the current closed state of the figure.
public abstract SetClosedState ( bool isClosed ) : void
isClosed bool The flag indicating whether figure is closed.
Результат void