Document Solutions for PDF
DS.Documents.DX.Windows Assembly / GrapeCity.Documents.DX.Direct2D Namespace / Geometry Class / GetWidenedBounds Method / GetWidenedBounds(Single,Single) Method
The amount by which to widen the geometry by stroking its outline.
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,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 flatteningTolerance As System.Single _
    ) As RectF
    public RectF GetWidenedBounds( 
       System.float strokeWidth,
       System.float flatteningTolerance
    )

    Parameters

    strokeWidth
    The amount by which to widen the geometry by stroking its outline.
    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