[]
Computes the area of the geometry after it has been transformed by the specified matrix and flattened using the specified tolerance.
public float ComputeArea()
Public Function ComputeArea() As Single
| 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)
Public Function ComputeArea(flatteningTolerance As Single) As Single
| 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)
Public Function ComputeArea(worldTransform As Matrix3x2?, flatteningTolerance As Single) As Single
| Type | Name | Description |
|---|---|---|
| Matrix3x2? | worldTransform | |
| float | flatteningTolerance |
| Type | Description |
|---|---|
| float |