A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://webplatform.github.io/docs/dom/SVGLineElement below:

SVGLineElement ยท WebPlatform Docs

SVGLineElement Summary

Defines a line by using beginning and ending (x,y) coordinate values with stroke and stroke-width styles .

Inherits from SVGElementSVGElement

Properties

No properties.

Methods

No methods.

Events

No events.

Inherited from SVGElement Properties

No properties.

Methods

No methods.

Events

No events.

Inherited from SVGTests Properties

No properties.

Methods

No methods.

Events

No events.

Inherited from SVGLangSpace Properties

No properties.

Methods

No methods.

Events

No events.

Inherited from SVGExternalResourcesRequired Properties

No properties.

Methods

No methods.

Events

No events.

Inherited from SVGStylable Properties

No properties.

Methods

No methods.

Events

No events.

Inherited from SVGTransformable Properties

No properties.

Methods

No methods.

Events

No events.

Examples
<?xml version="1.0"?>
<svg width="120" height="120"
     viewPort="0 0 120 120" version="1.1"
     xmlns="http://www.w3.org/2000/svg">

    <line x1="20" y1="100"
          x2="100" y2="20"
          stroke="black"
          stroke-width="2"/>

</svg>
<?xml version="1.0"?>
<svg xmlns="http://www.w3.org/2000/svg">
    <line x1="20" y1="100" x2="100" y2="100" stroke-width="2"
    stroke="black" transform="rotate(-45 20 100)"/>
</svg>
Notes Remarks

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

Standards information Members

The SVGElement object has these properties:

Attributions

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4