Click or drag to resize
CanvasCachedGeometryCreateStroke Method (CanvasGeometry, Single)
Creates a new, cached version of the stroke of a geometry with the specified stroke width.

Namespace:  Microsoft.Graphics.Canvas.Geometry
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public static CanvasCachedGeometry CreateStroke(
	CanvasGeometry geometry,
	float strokeWidth
)

Parameters

geometry
Type: Microsoft.Graphics.Canvas.GeometryCanvasGeometry
strokeWidth
Type: SystemSingle

Return Value

Type: CanvasCachedGeometry
Remarks
The cached version is created using the default flattening tolerance.
See Also