Click or drag to resize
CanvasGeometryStroke Method (Single, CanvasStrokeStyle, Matrix3x2, Single)
Returns a geometry equivalent to a stroked area of this geometry, with the specified stroke width and a default stroke style.

Namespace:  Microsoft.Graphics.Canvas.Geometry
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public CanvasGeometry Stroke(
	float strokeWidth,
	CanvasStrokeStyle strokeStyle,
	Matrix3x2 transform,
	float flatteningTolerance
)

Parameters

strokeWidth
Type: SystemSingle
strokeStyle
Type: Microsoft.Graphics.Canvas.GeometryCanvasStrokeStyle
transform
Type: System.NumericsMatrix3x2
flatteningTolerance
Type: SystemSingle

Return Value

Type: CanvasGeometry
Remarks
Uses the specified flattening tolerance and transform applied to the input geometry.
See Also