Join MDN and developers like you at Mozilla's View Source conference, 12-14 September in Berlin, Germany. Learn more at https://viewsourceconf.org

SVGPatternElement

この記事はまだボランティアによって 日本語 に翻訳されていません。ぜひ MDN に参加して翻訳を手伝ってください!

SVG pattern interface

The SVGPatternElement interface corresponds to the <pattern> element.

Interface overview

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

Properties

Name Type Description
patternUnits SVGAnimatedEnumeration Corresponds to attribute patternUnits on the given <pattern> element. Takes one of the constants defined in SVGUnitTypes.
patternContentUnits SVGAnimatedEnumeration Corresponds to attribute patternContentUnits on the given <pattern> element. Takes one of the constants defined in SVGUnitTypes.
patternTransform SVGAnimatedTransformList Corresponds to attribute patternTransform on the given <pattern> element.
x SVGAnimatedLength Corresponds to attribute x on the given <pattern> element.
y SVGAnimatedLength Corresponds to attribute y on the given <pattern> element.
width SVGAnimatedLength Corresponds to attribute width on the given <pattern> element.
height SVGAnimatedLength Corresponds to attribute height on the given <pattern> element.

Methods

The SVGPatternElement interface do not provide any specific methods.

Browser compatibility

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

 

ドキュメントのタグと貢献者

 このページの貢献者: fscholz, kscarfone, Sheppy, pa7, Jeremie
 最終更新者: fscholz,