[]
Computes the area of the geometry after it has been transformed by the specified matrix and flattened using the specified tolerance.
public float ComputeArea()
Type | Description |
---|---|
float | When this this method returns, contains a reference to the area of the transformed, flattened version of this geometry. You must allocate storage for this parameter. |
Computes the area of the geometry after it has been transformed by the specified matrix and flattened using the specified tolerance.
public float ComputeArea(float flatteningTolerance)
Type | Name | Description |
---|---|---|
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 |
---|---|
float | When this this method returns, contains a reference to the area of the transformed, flattened version of this geometry. You must allocate storage for this parameter. |
HRESULT ID2D1Geometry::ComputeArea([In, Optional] const D2D_MATRIX_3X2_F* worldTransform,[In] float flatteningTolerance,[Out] float* area)
public float ComputeArea(Matrix3x2? worldTransform, float flatteningTolerance)
Type | Name | Description |
---|---|---|
Matrix3x2? | worldTransform | |
float | flatteningTolerance |
Type | Description |
---|---|
float |