[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.Direct2D.Geometry.Widen

Widen Method

Widen(float, IGeometrySink)

Widens the geometry by the specified stroke and writes the result to an ISimplifiedGeometrySink after it has been transformed by the specified matrix and flattened using the specified tolerance.

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

The amount by which to widen the geometry.

IGeometrySink geometrySink

The ISimplifiedGeometrySink to which the widened geometry is appended.

Widen(float, float, IGeometrySink)

Widens the geometry by the specified stroke and writes the result to an ISimplifiedGeometrySink after it has been transformed by the specified matrix and flattened using the specified tolerance.

Declaration
public void Widen(float strokeWidth, float flatteningTolerance, IGeometrySink 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.

IGeometrySink geometrySink

The ISimplifiedGeometrySink to which the widened geometry is appended.

Widen(float, StrokeStyle, float, IGeometrySink)

Widens the geometry by the specified stroke and writes the result to an ISimplifiedGeometrySink 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, IGeometrySink 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.

IGeometrySink geometrySink

The ISimplifiedGeometrySink to which the widened geometry is appended.

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

Widens the geometry by the specified stroke and writes the result to an ISimplifiedGeometrySink 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, IGeometrySink 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.

IGeometrySink geometrySink

The ISimplifiedGeometrySink to which the widened geometry is appended.