Movatterモバイル変換


[0]ホーム

URL:


  1. Web
  2. Web APIs
  3. SVG API

SVG API

SVG provides elements for circles, rectangles, and simple and complex curves. The elements' attribute values specify how these must be drawn. TheSVG API is the subset of theDOM connecting these SVG elements and their attribute values to scripts or programming languages by representing them in memory. The SVG API thus provides methods that allow programmatic access to the SVG elements and their attribute values.

The SVG API is a set of interfaces that have been categorized into the following broad categories:

  1. The element interfaces provide access to the properties of SVG elements and methods to manipulate them.
  2. The static data type interfaces provide access to element attribute values and methods to manipulate them.
  3. For attributes that can be animated, theanimated data type interfaces provide read only access to the current animated value of an attribute.
  4. The Synchronized Multimedia Integration Language (SMIL) interfaces
  5. Others

Interfaces

SVG element interfaces

SVG data type interfaces

Here are the DOM APIs for data types used in the definitions of SVG properties and attributes.

Static type

Animated type

SMIL-related interfaces

Other SVG interfaces

Specifications

Specification
Scalable Vector Graphics (SVG) 2

See also

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2025 Movatter.jp