Document Solutions for PDF
DS.Documents.DX.Windows Assembly / GrapeCity.Documents.DX.Direct2D Namespace / Geometry Class / StrokeContainsPoint Method / StrokeContainsPoint(Point2F,Single) Method
The point to test for containment.
The thickness of the stroke to apply.

In This Topic
    StrokeContainsPoint(Point2F,Single) Method
    In This Topic
    Determines whether the geometry's stroke contains the specified point given the specified stroke thickness, style, and transform.
    Syntax
    'Declaration
     
    Public Overloads Function StrokeContainsPoint( _
       ByVal point As Point2F, _
       ByVal strokeWidth As System.Single _
    ) As System.Boolean
    public System.bool StrokeContainsPoint( 
       Point2F point,
       System.float strokeWidth
    )

    Parameters

    point
    The point to test for containment.
    strokeWidth
    The thickness of the stroke to apply.

    Return Value

    When this method returns, contains a boolean value set to true if the geometry's stroke contains the specified point; otherwise, false. You must allocate storage for this parameter.
    See Also