Export (0) Print
Expand All
Expand Minimize

createSVGPathSegArcRel method

Returns a stand-alone, parentless SVGPathSegArcRel object.

Scalable Vector Graphics: Paths, Section 8.5.23Internet Explorer 9

 

Syntax

var retval = SVGPathElement.createSVGPathSegArcRel(x, y, r1, r2, angle, largeArcFlag, sweepFlag);

Parameters

x [in]

Type: Floating-point

The relative x-coordinate for the end point of this path segment.

y [in]

Type: Floating-point

The relative y-coordinate for the end point of this path segment.

r1 [in]

Type: Floating-point

The x-axis radius for the ellipse.

r2 [in]

Type: Floating-point

The y-axis radius for the ellipse

angle [in]

Type: Floating-point

The rotation angle, in degrees, for the ellipse's x-axis relative to the x-axis of the user coordinate system.

largeArcFlag [in]

Type: Boolean

A value of 0 indicates that the arc's measure is less than 180°. A value of 1 indicates that the arc's measure is greater than or equal to 180°

sweepFlag [in]

Type: Boolean

A value of 0 indicates that the arc is to be drawn in the negative angle direction (counterclockwise). A value of 1 indicates that the arch is to be drawn in the positive angle direction (clockwise).

Return value

Type: ISVGPathSegArcRel

A stand-alone, parentless SVGPathSegArcRel object.

Standards information

Remarks

Returns a stand-alone, parentless elliptical arc that is drawn from the current point to the specified point by using relative coordinates.

See also

SVGPathElement

 

 

Show:
© 2015 Microsoft