Click or drag to resize
CanvasGeometryStrokeContainsPoint Method (Vector2, Single, CanvasStrokeStyle, Matrix3x2, Single)
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,
	Matrix3x2 transform,
	float flatteningTolerance
)

Parameters

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

Return Value

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