Click or drag to resize
CanvasGeometryComputeStrokeBounds Method (Single, CanvasStrokeStyle)
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
)

Parameters

strokeWidth
Type: SystemSingle
strokeStyle
Type: Microsoft.Graphics.Canvas.GeometryCanvasStrokeStyle

Return Value

Type: Rect
Remarks
Uses the default flattening tolerance and identity transform on the input geometry.
See Also