pattern: An element to create a specified pattern (used as fill),

Description Available Attributes (Named Parameters) Available Content Elements (Unnamed Parameters)

Description

A pattern is used to fill or stroke an object using a pre-defined graphic object which can be replicated (""tiled""), at fixed intervals in x and y to cover the areas to be painted. Patterns are defined using the pattern element and then referenced by properties fill and stroke on a given graphics element to indicate that the given element shall be filled or stroked with the referenced pattern.

Available Attributes (Named Parameters)

Complementary Attributes

wh, xy

Conditional Processing Attributes

requiredExtensions, requiredFeatures, systemLanguage

Core Attributes

id, xml.base, xml.lang, xml.space

Filter Primitive Attributes

height, width, x, y

Presentation Attributes

clip, clip.path, color.interpolation, color.rendering, cursor, enable.background, filter, mask, opacity, overflow

Unclassified

class, externalResourcesRequired, patternContentUnits, patternTransform, patternUnits, preserveAspectRatio, style, viewBox

Xlink Attributes

xlink.actuate, xlink.arcrole, xlink.href, xlink.role, xlink.show, xlink.title, xlink.type

Available Content Elements (Unnamed Parameters)

Animation Elements

animate, animateColor, animateMotion, animateTransform, set

Descriptive Elements

desc, metadata, title

Gradient Elements

linearGradient, radialGradient

Graphics Referencing Elements

image, use

Non-structural Container Elements

a, marker, mask, pattern, switch

Shape Elements

circle, ellipse, line, path, polygon, polyline, rect

Structural Container Elements

defs, g, svg, symbol

Text Content Elements

text

Uncategorized Elements

altGlyphDef, clipPath, color.profile, cursor, filter, font, font.face, foreignObject, script, style, view


mslegrand/svgR documentation built on Jan. 21, 2020, 2:59 p.m.