[]
        
(Showing Draft Content)

C1.Util.DX.Direct2D.Geometry.Widen

Widen Method

Widen(float, GeometrySink)

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.

Declaration
public void Widen(float strokeWidth, GeometrySink geometrySink)
Parameters
Type Name Description
float strokeWidth

The amount by which to widen the geometry.

GeometrySink geometrySink

The SimplifiedGeometrySink to which the widened geometry is appended.

Widen(float, float, GeometrySink)

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.

Declaration
public void Widen(float strokeWidth, float flatteningTolerance, GeometrySink geometrySink)
Parameters
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.

Widen(float, StrokeStyle, float, GeometrySink)

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.

Declaration
public void Widen(float strokeWidth, StrokeStyle strokeStyle, float flatteningTolerance, GeometrySink geometrySink)
Parameters
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.

Widen(float, StrokeStyle, Matrix3x2?, float, GeometrySink)

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.

Declaration
public void Widen(float strokeWidth, StrokeStyle strokeStyle, Matrix3x2? worldTransform, float flatteningTolerance, GeometrySink geometrySink)
Parameters
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.