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

Namespace:  Microsoft.Graphics.Canvas.Geometry
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public Rect ComputeStrokeBounds(
	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: Rect
Remarks
Uses the specified flattening tolerance and transform applied to the input geometry.
See Also