[]
        
(Showing Draft Content)

GrapeCity.Documents.Svg.SvgPathBuilder.AddEllipticalArc

AddEllipticalArc Method

AddEllipticalArc(bool, float, float, float, ArcSize, SweepDirection, float, float)

Adds the "elliptical arc" command to the path.

Declaration
public void AddEllipticalArc(bool relative, float rx, float ry, float xAxisRotation, ArcSize arcSize, SweepDirection sweepDirection, float x, float y)
Public Sub AddEllipticalArc(relative As Boolean, rx As Single, ry As Single, xAxisRotation As Single, arcSize As ArcSize, sweepDirection As SweepDirection, x As Single, y As Single)
Parameters
Type Name Description
bool relative

Indicates whether the command uses absolute (false) or relative (true) coordinates.

float rx

The X-radius of the elliptical arc.

float ry

The Y-radius of the elliptical arc.

float xAxisRotation

A value indicating how the ellipse as a whole is rotated, in degrees, relative to the current coordinate system.

ArcSize arcSize

A value indicating whether the arc sweep is greater than or equal to 180 degrees.

SweepDirection sweepDirection

A value that specifies whether the arc sweep is clockwise or counterclockwise.

float x

The X-coordinate of the destination point.

float y

The Y-coordinate of the destination point.