ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 Assembly / C1.Util.DX.Direct2D Namespace / Geometry Class / GetWidenedBounds Method / GetWidenedBounds(Single,StrokeStyle,Single) Method
The amount by which to widen the geometry by stroking its outline.
The style of the stroke that widens the geometry.
The maximum bounds on the distance between points in the polygonal approximation of the geometry. Smaller values produce more accurate results but cause slower execution.

In This Topic
    GetWidenedBounds(Single,StrokeStyle,Single) Method
    In This Topic
    Gets the bounds of the geometry after it has been widened by the specified stroke width and style and transformed by the specified matrix.
    Syntax
    'Declaration
     
    Public Overloads Function GetWidenedBounds( _
       ByVal strokeWidth As System.Single, _
       ByVal strokeStyle As StrokeStyle, _
       ByVal flatteningTolerance As System.Single _
    ) As RectF
    public RectF GetWidenedBounds( 
       System.float strokeWidth,
       StrokeStyle strokeStyle,
       System.float flatteningTolerance
    )

    Parameters

    strokeWidth
    The amount by which to widen the geometry by stroking its outline.
    strokeStyle
    The style of the stroke that widens the geometry.
    flatteningTolerance
    The maximum bounds on the distance between points in the polygonal approximation of the geometry. Smaller values produce more accurate results but cause slower execution.

    Return Value

    When this method returns, contains the bounds of the widened geometry. You must allocate storage for this parameter.
    See Also