[]
Gets the bounds of the geometry after it has been widened by the specified stroke width and style and transformed by the specified matrix.
public RectF GetWidenedBounds(float strokeWidth)
Type | Name | Description |
---|---|---|
float | strokeWidth | The amount by which to widen the geometry by stroking its outline. |
Type | Description |
---|---|
RectF | When this method returns, contains the bounds of the widened geometry. You must allocate storage for this parameter. |
Gets the bounds of the geometry after it has been widened by the specified stroke width and style and transformed by the specified matrix.
public RectF GetWidenedBounds(float strokeWidth, float flatteningTolerance)
Type | Name | Description |
---|---|---|
float | strokeWidth | The amount by which to widen the geometry by stroking its outline. |
float | 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. |
Type | Description |
---|---|
RectF | When this method returns, contains the bounds of the widened geometry. You must allocate storage for this parameter. |
Gets the bounds of the geometry after it has been widened by the specified stroke width and style and transformed by the specified matrix.
public RectF GetWidenedBounds(float strokeWidth, StrokeStyle strokeStyle, float flatteningTolerance)
Type | Name | Description |
---|---|---|
float | strokeWidth | The amount by which to widen the geometry by stroking its outline. |
StrokeStyle | strokeStyle | The style of the stroke that widens the geometry. |
float | 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. |
Type | Description |
---|---|
RectF | When this method returns, contains the bounds of the widened geometry. You must allocate storage for this parameter. |
HRESULT ID2D1Geometry::GetWidenedBounds([In] float strokeWidth,[In, Optional] ID2D1StrokeStyle* strokeStyle,[In, Optional] const D2D_MATRIX_3X2_F* worldTransform,[In] float flatteningTolerance,[Out] D2D_RECT_F* bounds)
public RectF GetWidenedBounds(float strokeWidth, StrokeStyle strokeStyle, Matrix3x2? worldTransform, float flatteningTolerance)
Type | Name | Description |
---|---|---|
float | strokeWidth | |
StrokeStyle | strokeStyle | |
Matrix3x2? | worldTransform | |
float | flatteningTolerance |
Type | Description |
---|---|
RectF |