Class SKPath
Namespace: SkiaSharp
Assembly: VelloSharp.Skia.Core.dll
public sealed class SKPath : IDisposable
Inheritance
Implements
Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Properties
FillType
public SKPathFillType FillType { get; set; }
Property Value
TightBounds
public SKRect TightBounds { get; }
Property Value
Methods
ArcTo(float, float, float, SKPathArcSize, SKPathDirection, float, float)
public void ArcTo(float rx, float ry, float xAxisRotate, SKPathArcSize arcSize, SKPathDirection direction, float x, float y)
Parameters
rx
float
ry
float
xAxisRotate
float
arcSize
SKPathArcSize
direction
SKPathDirection
x
float
y
float
Clone()
public SKPath Clone()
Returns
Close()
public void Close()
ConicTo(SKPoint, SKPoint, float)
public void ConicTo(SKPoint control, SKPoint end, float weight)
Parameters
control
SKPoint
end
SKPoint
weight
float
ConicTo(float, float, float, float, float)
public void ConicTo(float x1, float y1, float x2, float y2, float weight)
Parameters
x1
float
y1
float
x2
float
y2
float
weight
float
Contains(float, float)
public bool Contains(float x, float y)
Parameters
x
float
y
float
Returns
CreateIterator(bool)
public SKPath.Iterator CreateIterator(bool forceClose)
Parameters
forceClose
bool
Returns
CreateIterator()
public SKPath.Iterator CreateIterator()
Returns
CubicTo(SKPoint, SKPoint, SKPoint)
public void CubicTo(SKPoint control1, SKPoint control2, SKPoint end)
Parameters
control1
SKPoint
control2
SKPoint
end
SKPoint
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
LineTo(float, float)
public void LineTo(float x, float y)
Parameters
x
float
y
float
LineTo(SKPoint)
public void LineTo(SKPoint point)
Parameters
point
SKPoint
MoveTo(float, float)
public void MoveTo(float x, float y)
Parameters
x
float
y
float
MoveTo(SKPoint)
public void MoveTo(SKPoint point)
Parameters
point
SKPoint
Op(SKPath, SKPathOp)
public SKPath Op(SKPath other, SKPathOp operation)
Parameters
other
SKPath
operation
SKPathOp
Returns
QuadTo(SKPoint, SKPoint)
public void QuadTo(SKPoint control, SKPoint end)
Parameters
control
SKPoint
end
SKPoint
Reset()
public void Reset()