Class VelloGraphicsPath
Namespace: VelloSharp.WinForms
Assembly: VelloSharp.WinForms.Core.dll
public sealed class VelloGraphicsPath : IDisposable
Inheritance
Implements
Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
VelloGraphicsPath()
public VelloGraphicsPath()
VelloGraphicsPath(FillMode)
public VelloGraphicsPath(FillMode fillMode)
Parameters
fillMode
FillMode
Properties
FillMode
public FillMode FillMode { get; set; }
Property Value
IsEmpty
public bool IsEmpty { get; }
Property Value
Methods
AddBezier(PointF, PointF, PointF, PointF)
public void AddBezier(PointF pt1, PointF pt2, PointF pt3, PointF pt4)
Parameters
pt1
PointF
pt2
PointF
pt3
PointF
pt4
PointF
AddBezier(float, float, float, float, float, float, float, float)
public void AddBezier(float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4)
Parameters
x1
float
y1
float
x2
float
y2
float
x3
float
y3
float
x4
float
y4
float
AddBeziers(ReadOnlySpan<PointF>)
public void AddBeziers(ReadOnlySpan<PointF> points)
Parameters
points
ReadOnlySpan<PointF>
AddEllipse(RectangleF)
public void AddEllipse(RectangleF rectangle)
Parameters
rectangle
RectangleF
AddLine(PointF, PointF)
public void AddLine(PointF pt1, PointF pt2)
Parameters
pt1
PointF
pt2
PointF
AddLine(float, float, float, float)
public void AddLine(float x1, float y1, float x2, float y2)
Parameters
x1
float
y1
float
x2
float
y2
float
AddLines(ReadOnlySpan<PointF>)
public void AddLines(ReadOnlySpan<PointF> points)
Parameters
points
ReadOnlySpan<PointF>
AddPath(VelloGraphicsPath, bool)
public void AddPath(VelloGraphicsPath path, bool connect)
Parameters
path
VelloGraphicsPath
connect
bool
AddPolygon(ReadOnlySpan<PointF>)
public void AddPolygon(ReadOnlySpan<PointF> points)
Parameters
points
ReadOnlySpan<PointF>
AddQuadratic(PointF, PointF, PointF)
public void AddQuadratic(PointF pt1, PointF control, PointF pt2)
Parameters
pt1
PointF
control
PointF
pt2
PointF
AddRectangle(RectangleF)
public void AddRectangle(RectangleF rectangle)
Parameters
rectangle
RectangleF
AddRectangles(ReadOnlySpan<RectangleF>)
public void AddRectangles(ReadOnlySpan<RectangleF> rectangles)
Parameters
rectangles
ReadOnlySpan<RectangleF>
CloseFigure()
public void CloseFigure()
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Reset()
public void Reset()
StartFigure()
public void StartFigure()
Transform(Matrix3x2)
public void Transform(Matrix3x2 matrix)
Parameters
matrix
Matrix3x2