[]
Calculates the length of the geometry as though each segment were unrolled into a line.
public float ComputeLength()
Type | Description |
---|---|
float | When this method returns, contains a reference to the length of the geometry. For closed geometries, the length includes an implicit closing segment. You must allocate storage for this parameter. |
Calculates the length of the geometry as though each segment were unrolled into a line.
public float ComputeLength(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 method returns, contains a reference to the length of the geometry. For closed geometries, the length includes an implicit closing segment. You must allocate storage for this parameter. |
HRESULT ID2D1Geometry::ComputeLength([In, Optional] const D2D_MATRIX_3X2_F* worldTransform,[In] float flatteningTolerance,[Out] float* length)
public float ComputeLength(Matrix3x2? worldTransform, float flatteningTolerance)
Type | Name | Description |
---|---|---|
Matrix3x2? | worldTransform | |
float | flatteningTolerance |
Type | Description |
---|---|
float |