SVGPathSegArcRel object

Defines a SVGPathSeg command with relative arcto path data.

Scalable Vector Graphics: Paths, Section 8.5.12Internet Explorer 9

Members

The SVGPathSegArcRel object has these types of members:

Properties

The SVGPathSegArcRel object has these properties.

PropertyDescription

angle

Gets or sets a value that indicates an angle unit.

largeArcFlag

Gets or sets the value of the large-arc-flag parameter.

pathSegType

Gets the type of the path segment.

pathSegTypeAsLetter

Gets the type of the path segment, specified by the corresponding one-character command name.

r1

Gets or sets the x-axis radius for an ellipse that is associated with a path element.

r2

Gets or sets the y-axis radius for an ellipse that is associated with a path element.

sweepFlag

Gets or sets the value of the sweep-flag parameter.

x

Gets or sets the x-coordinate value.

y

Gets or sets the y-coordinate value.

 

Standards information

Remarks

Note  In addition to the attributes, properties, events, methods, and styles listed above, SVG elements also inherit core HTML attributes, properties, events, methods, and styles.

The a command uses relative coordinates to draw an elliptical arc from the current point to (x, y). The size and orientation of the ellipse are defined by two radius values (rx, ry) and a rotation about the x-axis, which indicates how the ellipse is rotated relative to the current coordinate system. The center (cx, cy) of the ellipse is calculated automatically to meet the constraints from the other parameters. large-arc-flag and sweep-flag contribute to the automatic calculations and help determine how the arc is drawn.

 

 

Show:
© 2014 Microsoft