Click or drag to resize
CanvasGeometrySimplify Method (CanvasGeometrySimplification)
Returns a version of the geometry that contains only lines, and, optionally, cubic Bezier curves.

Namespace:  Microsoft.Graphics.Canvas.Geometry
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public CanvasGeometry Simplify(
	CanvasGeometrySimplification simplification
)

Parameters

simplification
Type: Microsoft.Graphics.Canvas.GeometryCanvasGeometrySimplification

Return Value

Type: CanvasGeometry
Remarks
Uses the default flattening tolerance and identity transform applied to the input geometry. Any arcs or quadratic beziers in the source geometry will be output as roughly equivalent cubic beziers or lines, depending on the simplification option.
See Also