ComponentOne Bitmap for WPF
C1.WPF.DX.4.6.2 Assembly / C1.Util.DX.Direct2D Namespace / Geometry Class / StrokeContainsPoint Method / StrokeContainsPoint(Point2L,Single,StrokeStyle,Matrix3x2) Method
The point to test for containment.
The thickness of the stroke to apply.
The style of stroke to apply.
The transform to apply to the stroked geometry.

In This Topic
    StrokeContainsPoint(Point2L,Single,StrokeStyle,Matrix3x2) 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 Point2L, _
       ByVal strokeWidth As Single, _
       ByVal strokeStyle As StrokeStyle, _
       ByVal transform As Matrix3x2 _
    ) As Boolean
    public bool StrokeContainsPoint( 
       Point2L point,
       float strokeWidth,
       StrokeStyle strokeStyle,
       Matrix3x2 transform
    )

    Parameters

    point
    The point to test for containment.
    strokeWidth
    The thickness of the stroke to apply.
    strokeStyle
    The style of stroke to apply.
    transform
    The transform to apply to the stroked geometry.

    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