fill-presentationAttribute: fill

Description Available Attribute Values Used by the Elements

Description

Defines the paints used to fill the interior of a given graphical element.

Available Attribute Values

''''none''''

Specifies not to paint the interior of the element.

''''currentColor''''

Specifies to use the currentColor to paint the interior. The current color is the value of the color specified by the color property.

<color>

Specifies a paint color to fill either a shape element or at text content element. The color may be given in any one of 3 ways: name (i.e. red), numeric (#f00 or #ff0000) or as ab rgb (rgb(255,0,0)).

''''inherit''''

Specifies to use the fill from the parent element.

<funciri>

Specifies to fill using this reference to a paint server, a paint server being a pattern or a gradient, or a custom paint extension

<linearGradient>

Specifies to fill using this linearGradient element

<pattern>

Specifies to fill using this pattern element

<radialGradient>

Specifies to fill using this radialGradient element

''''currentColor''''

Specifies to use the currentColor to paint the interior. The current color is the value of the color specified by the color property.

Used by the Elements

Shape Elements

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

Text Content Elements

altGlyph, text, textPath, tref, tspan


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