[]
Widens the geometry by the specified stroke and writes the result to an SimplifiedGeometrySink after it has been transformed by the specified matrix and flattened using the specified tolerance.
public void Widen(float strokeWidth, GeometrySink geometrySink)
Type | Name | Description |
---|---|---|
float | strokeWidth | The amount by which to widen the geometry. |
GeometrySink | geometrySink | The SimplifiedGeometrySink to which the widened geometry is appended. |
Widens the geometry by the specified stroke and writes the result to an SimplifiedGeometrySink after it has been transformed by the specified matrix and flattened using the specified tolerance.
public void Widen(float strokeWidth, float flatteningTolerance, GeometrySink geometrySink)
Type | Name | Description |
---|---|---|
float | strokeWidth | The amount by which to widen 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. |
GeometrySink | geometrySink | The SimplifiedGeometrySink to which the widened geometry is appended. |
Widens the geometry by the specified stroke and writes the result to an SimplifiedGeometrySink after it has been transformed by the specified matrix and flattened using the specified tolerance.
public void Widen(float strokeWidth, StrokeStyle strokeStyle, float flatteningTolerance, GeometrySink geometrySink)
Type | Name | Description |
---|---|---|
float | strokeWidth | The amount by which to widen the geometry. |
StrokeStyle | strokeStyle | The style of stroke to apply to the geometry, or NULL. |
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. |
GeometrySink | geometrySink | The SimplifiedGeometrySink to which the widened geometry is appended. |
Widens the geometry by the specified stroke and writes the result to an SimplifiedGeometrySink after it has been transformed by the specified matrix and flattened using the specified tolerance.
public void Widen(float strokeWidth, StrokeStyle strokeStyle, Matrix3x2? worldTransform, float flatteningTolerance, GeometrySink geometrySink)
Type | Name | Description |
---|---|---|
float | strokeWidth | The amount by which to widen the geometry. |
StrokeStyle | strokeStyle | The style of stroke to apply to the geometry, or NULL. |
Matrix3x2? | worldTransform | The transform to apply to the geometry after widening it, or NULL. |
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. |
GeometrySink | geometrySink | The SimplifiedGeometrySink to which the widened geometry is appended. |