Table of Contents

Interface IGraphicsPathHandler

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

Contains methods and properties which allow to work with graphics path.

public interface IGraphicsPathHandler : IDisposable

Properties

FillMode

Gets or sets a FillMode enumeration that determines how the interiors of shapes in this GraphicsPath are filled.

Methods

AddArc(PointD, double, double, double)

Appends a circular arc to the current figure.

AddBezier(PointD, PointD, PointD, PointD)

Adds a cubic Bézier curve to the current figure.

AddBezierTo(PointD, PointD, PointD)

Adds a cubic Bézier curve to the current figure.

AddEllipse(RectD)

Adds an ellipse to the current path.

AddLine(PointD, PointD)

Appends a line segment to this GraphicsPath.

AddLineTo(PointD)

Appends a line segment to this GraphicsPath.

AddLines(PointD[])

Appends a series of connected line segments to the end of this GraphicsPath.

AddRectangle(RectD)

Adds a rectangle to this path.

AddRoundedRectangle(RectD, double)

Adds a rounded rectangle to this path.

CloseFigure()

Closes the current figure and starts a new figure. If the current figure contains a sequence of connected lines and curves, the method closes the loop by connecting a line from the endpoint to the starting point.

GetBounds()

Returns a rectangle that bounds this GraphicsPath.

StartFigure(PointD)

Starts a new figure without closing the current figure. All subsequent points added to the path are added to this new figure.