Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

SVGLineElement

Nuestros voluntarios aún no han traducido este artículo al Español. Únete a nosotros y ayúdanos a traducirlo

SVG Line DOM interface

The SVGLineElement interface provides access to the properties of <line> elements, as well as methods to manipulate them.

Interface overview

Also implement SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable
Methods None
Properties
Normative document SVG 1.1 (2nd Edition)

Properties

Name Type Description
x1 SVGAnimatedLength Corresponds to attribute x1 on the given <line> element.
y1 SVGAnimatedLength Corresponds to attribute y1 on the given <line> element.
x2 SVGAnimatedLength Corresponds to attribute x2 on the given <line> element.
y2 SVGAnimatedLength Corresponds to attribute y2 on the given <line> element.

Methods

The SVGLineElement interface do not provide any specific methods.

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support (Yes) (Yes) 9.0 (Yes) (Yes)
Feature Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support Not supported (Yes) ? (Yes) (Yes)

See also

Etiquetas y colaboradores del documento

 Colaboradores en esta página: fscholz, wbamberg, kscarfone, Sheppy, Jeremie
 Última actualización por: fscholz,