line: An element used to create a line (segment), shape

Description Available Attributes (Named Parameters) Available Content Elements (Unnamed Parameters)

Description

The line element is an SVG basic shape, used to create a line connecting two points.

Available Attributes (Named Parameters)

Animation Event Attributes

onload

Complementary Attributes

x12, xy1, xy2, y12

Conditional Processing Attributes

requiredExtensions, requiredFeatures, systemLanguage

Core Attributes

id, xml.base, xml.lang, xml.space

Graphical Event Attributes

onactivate, onclick, onfocusin, onfocusout, onload, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup

Presentation Attributes

clip.path, clip.rule, color, color.interpolation, color.rendering, cursor, display, fill, fill.opacity, fill.rule, filter, marker.end, marker.mid, marker.start, mask, opacity, pointer.events, shape.rendering, stroke, stroke.dasharray, stroke.dashoffset, stroke.linecap, stroke.linejoin, stroke.miterlimit, stroke.opacity, stroke.width, visibility

Unclassified

class, externalResourcesRequired, style, transform, x1, x2, y1, y2

Available Content Elements (Unnamed Parameters)

Animation Elements

animate, animateColor, animateMotion, animateTransform, set

Descriptive Elements

desc, metadata, title


mslegrand/svgR documentation built on Jan. 21, 2020, 2:59 p.m.