SKPath.Simplify Method

Definition

Overloads

Simplify()

Return a simplified copy of the current path.

Simplify(SKPath)

Simplifies the current path.

Simplify()

Return a simplified copy of the current path.

public SkiaSharp.SKPath Simplify ();

Returns

SKPath

Returns the new path if simplification was successful, otherwise null.

Remarks

The curve order is reduced where possible so that cubics may be turned into quadratics, and quadratics maybe turned into lines.

Simplify(SKPath)

Simplifies the current path.

public bool Simplify (SkiaSharp.SKPath result);

Parameters

result
SKPath

The path to store the simplified path data. If simplification failed, then this is unmodified.

Returns

Boolean

Returns true if simplification was successful, otherwise false.

Remarks

The curve order is reduced where possible so that cubics may be turned into quadratics, and quadratics maybe turned into lines.

Applies to