Click or drag to resize
CanvasGeometryStrokeContainsPoint Method (Vector2, Single, CanvasStrokeStyle)
Returns whether the stroked area of this geometry, with the specified stroke width and stroke style, would contain the specified point.

Namespace:  Microsoft.Graphics.Canvas.Geometry
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public bool StrokeContainsPoint(
	Vector2 point,
	float strokeWidth,
	CanvasStrokeStyle strokeStyle
)

Parameters

point
Type: System.NumericsVector2
strokeWidth
Type: SystemSingle
strokeStyle
Type: Microsoft.Graphics.Canvas.GeometryCanvasStrokeStyle

Return Value

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