Movatterモバイル変換


[0]ホーム

URL:


  1. Web
  2. Web APIs
  3. SVGPatternElement

SVGPatternElement

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since ⁨July 2015⁩.

TheSVGPatternElement interface corresponds to the<pattern> element.

EventTarget Node Element SVGElement SVGPatternElement

Instance properties

This interface also inherits properties from its parent,SVGElement.

SVGPatternElement.hrefRead only

AnSVGAnimatedString corresponding to thehref orxlink:hrefDeprecated attribute of the given<pattern> element.

SVGPatternElement.patternUnitsRead only

AnSVGAnimatedEnumeration corresponding to thepatternUnits attribute of the given<pattern> element. Takes one of the constants defined inSVGUnitTypes.

SVGPatternElement.patternContentUnitsRead only

AnSVGAnimatedEnumeration corresponding to thepatternContentUnits attribute of the given<pattern> element. Takes one of the constants defined inSVGUnitTypes.

SVGPatternElement.patternTransformRead only

AnSVGAnimatedTransformList corresponding to thepatternTransform attribute of the given<pattern> element.

SVGPatternElement.viewBoxRead only

AnSVGAnimatedRect corresponding to theviewBox attribute of the given<pattern> element.

SVGPatternElement.preserveAspectRatioRead only

AnSVGAnimatedPreserveAspectRatio corresponding to thepreserveAspectRatio attribute of the given<pattern> element.

SVGPatternElement.xRead only

AnSVGAnimatedEnumeration corresponding to thex attribute of the given<pattern> element.

SVGPatternElement.yRead only

AnSVGAnimatedEnumeration corresponding to they attribute of the given<pattern> element.

SVGPatternElement.widthRead only

AnSVGAnimatedEnumeration corresponding to thewidth attribute of the given<pattern> element.

SVGPatternElement.heightRead only

AnSVGAnimatedEnumeration corresponding to theheight attribute of the given<pattern> element.

Instance methods

This interface doesn't implement any specific methods, but inherits methods from its parent interface,SVGElement.

Specifications

Specification
Scalable Vector Graphics (SVG) 2
# InterfaceSVGPatternElement

Browser compatibility

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2025 Movatter.jp