[]
Path implementation.
public sealed class PathEx : ICloneable
Name | Description |
---|---|
PathEx() | |
PathEx(IEnumerable<Segment>, FillModeEx) |
Name | Description |
---|---|
FillMode | |
IsEmpty | |
PathPoints | Gets current path points. |
Segments | Gets internal path representation. |
Name | Description |
---|---|
AddArc(RectangleF, float, float) | Adds arc. |
AddArc(float, float, float, float, float, float) | Adds arc. |
AddBeziers(Vector2[]) | Adds curve as already calculated beziers (start, control, control, end-start, control, control, end-start ...). |
AddCurve(Vector2[], float) | Adds spline curve. |
AddEllipse(float, float, float, float) | Adds ellipse to rectangle. |
AddLine(Vector2, Vector2) | Adds line from point to point. |
AddLineTo(Vector2) | Adds line from last point to point. |
AddLines(Vector2[]) | Adds polyline. |
AddPath(PathEx) | Appends path. |
AddPath(PathEx, bool) | Appends path. |
AddPolygon(Vector2[]) | Adds polygon. |
AddRectangle(RectangleF) | Adds rectangle and closes the figure. |
Clone() | |
CloseAllFigures() | Closes all figures in current path. |
CloseFigure() | Closes only last figure. |
Flatten(int) | Break beziers to lines. |
Flatten(float) | Break beziers to lines. |
GetBounds() | Evaluates the bounds of the figure specified by the given path. |
IsVisible(Vector2) | Contains point implementation. |
Reverse() | Reverses the order of points in the path. |
StartFigure() | Starts a new figure without closing the current figure. All subsequent points added to the path are added to this new figure. |
ToString() | |
Transform(Matrix3x2) | Applies transformation. |
Translate(float, float) | Translates the path by the given offset. |
Widen(float) |