SKPathEffect Class

Definition

The base class for objects in the SKPaint that affect the geometry of a drawing primitive before it is transformed by the canvas' matrix and drawn.

public class SKPathEffect : SkiaSharp.SKObject
Inheritance

Properties

Handle

Gets or sets the handle to the underlying native object.

(Inherited from SKObject)
IgnorePublicDispose

Gets or sets a value indicating whether the call the public Dispose() should be no-op.

(Inherited from SKNativeObject)
IsDisposed

Gets or sets a value indicating whether the object has already been disposed.

(Inherited from SKNativeObject)
OwnsHandle

Gets a value indicating whether this object should destroy the underlying native object.

(Inherited from SKObject)

Methods

Create1DPath(SKPath, Single, Single, SkPath1DPathEffectStyle)

Creates a dash path effect by replicating the specified path.

Create1DPath(SKPath, Single, Single, SKPath1DPathEffectStyle)

Creates a dash path effect by replicating the specified path.

Create2DLine(Single, SKMatrix)

Creates a dash path effect by replacing the path with a solid line.

Create2DPath(SKMatrix, SKPath)

Stamp the specified path to fill the shape, using the matrix to define the latice.

CreateArcTo(Single)

Creates a path effect that can turn sharp corners into various arcs.

CreateCompose(SKPathEffect, SKPathEffect)

Creates a compound path effect.

CreateCorner(Single)

Creates a path effect that can turn sharp corners into various treatments (e.g. rounded corners).

CreateDash(Single[], Single)

Creates a dash path effect by specifying the dash intervals.

CreateDiscrete(Single, Single, UInt32)

Creates a "jitter" path effect by chopping a path into discrete segments, and randomly displacing them.

CreateSum(SKPathEffect, SKPathEffect)

Creates a compound path effect.

CreateTrim(Single, Single)

Creates a path effect that trims the path.

CreateTrim(Single, Single, SKTrimPathEffectMode)

Creates a path effect that trims the path.

Dispose()

Releases all resources used by this SKNativeObject.

(Inherited from SKNativeObject)
Dispose(Boolean)

Releases the unmanaged resources used by the SKPathEffect and optionally releases the managed resources.

DisposeInternal()

Triggers a dispose, ignoring the value of IgnorePublicDispose.

(Inherited from SKNativeObject)
DisposeManaged()

Implemented by derived SKObject types to destroy any managed objects.

(Inherited from SKObject)
DisposeNative()

Implemented by derived SKObject types to destroy any native objects.

(Inherited from SKObject)

Applies to