Skip to main content

Class SKPath

Namespace: SkiaSharp
Assembly: VelloSharp.Skia.Core.dll

public sealed class SKPath : IDisposable

Inheritance

objectSKPath

Implements

IDisposable

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

SKPathFillType

TightBounds

public SKRect TightBounds { get; }

Property Value

SKRect

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

SKPath

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

bool

CreateIterator(bool)

public SKPath.Iterator CreateIterator(bool forceClose)

Parameters

forceClose bool

Returns

SKPath.Iterator

CreateIterator()

public SKPath.Iterator CreateIterator()

Returns

SKPath.Iterator

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

SKPath

QuadTo(SKPoint, SKPoint)

public void QuadTo(SKPoint control, SKPoint end)

Parameters

control SKPoint

end SKPoint

Reset()

public void Reset()