SKPath.Simplify Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.
Applies to
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
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
SkiaSharp