Table of Contents

Interface GeometrySink

Namespace
SharpDX.Direct2D1
Assembly
SharpDX.Direct2D1.dll
[Guid("2cd9069f-12e2-11dc-9fed-001143a055f9")]
public interface GeometrySink : SimplifiedGeometrySink, IUnknown, ICallbackable, IDisposable
Inherited Members

Methods

AddArc(ArcSegment)

Adds a single arc to the path geometry.

void AddArc(ArcSegment arc)

Parameters

arc ArcSegment

The arc segment to add to the figure.

AddBezier(BezierSegment)

Creates a cubic Bezier curve between the current point and the specified endpoint.

void AddBezier(BezierSegment bezier)

Parameters

bezier BezierSegment

A structure that describes the control points and endpoint of the Bezier curve to add.

AddLine(RawVector2)

Creates a line segment between the current point and the specified end point and adds it to the geometry sink.

void AddLine(RawVector2 point)

Parameters

point RawVector2

The end point of the line to draw.

AddQuadraticBezier(QuadraticBezierSegment)

Creates a quadratic Bezier curve between the current point and the specified endpoint.

void AddQuadraticBezier(QuadraticBezierSegment bezier)

Parameters

bezier QuadraticBezierSegment

A structure that describes the control point and the endpoint of the quadratic Bezier curve to add.

AddQuadraticBeziers(QuadraticBezierSegment[])

Adds a sequence of quadratic Bezier segments as an array in a single call.

void AddQuadraticBeziers(QuadraticBezierSegment[] beziers)

Parameters

beziers QuadraticBezierSegment[]

An array of a sequence of quadratic Bezier segments.