Click or drag to resize
CanvasGeometryStrokeContainsPoint Method (Vector2, Single)
Returns whether the stroked area of this geometry, with the specified stroke width and default 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
)

Parameters

point
Type: System.NumericsVector2
strokeWidth
Type: SystemSingle

Return Value

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