[]
        
(Showing Draft Content)

C1.Util.DX.Direct2D.Geometry.GetBounds

GetBounds Method

GetBounds()

Retrieves the bounds of the geometry.

Declaration
public RectF GetBounds()
Returns
Type Description
RectF

When this method returns, contains the bounds of this geometry. If the bounds are empty, this will be a rect where bounds.left > bounds.right. You must allocate storage for this parameter.

GetBounds(Matrix3x2?)

HRESULT ID2D1Geometry::GetBounds([In, Optional] const D2D_MATRIX_3X2_F* worldTransform,[Out] D2D_RECT_F* bounds)

Declaration
public RectF GetBounds(Matrix3x2? worldTransform)
Parameters
Type Name Description
Matrix3x2? worldTransform
Returns
Type Description
RectF