Frames 

 No Frames

Previous Element
ColorAdjust

Next Element
ColorMatrix


ColorFill

This defines a solid color fill for an enclosed area. The color can be expressed using a tuple of color channels or can be represented by a text name and an optional opacity channel value.

Attributes

color The color specified as an RGB/RGBA tuple, a hex string or a color name. The first number of the tuple represents the red intensity, the second green, and the third blue. A minimum value of 0 for each color results in black and a max value of 255 for each color results in white. For RGBA the first three attributes are the same as above and the fourth is the degree of opacity of the color with 0 being totally transparent and 255 totally opaque. Alternatively the color can be specified as in SVG either in hexadecimal with a '#' leading character or by name using the color names defined in the SVG specification. Since these do not specify opacity, an additional opacity attribute can be defined.
Value Template rgb(Color, Color, Color)
Value Template rgba(Color, Color, Color, Color)
From Value0
To Value255
Value Template#ColorColorColor
From Value00
To Valueff
Value Range Any SVG color name supported in the SVG1.1 specification.
opacity Optional attribute specifying the opacity of the color with 0 being totally transparent and 1.0 totally opaque. This will override any opacity channel value specified as part of the color attribute.
From Value0.0
To Value1.0
Default Value1.0
index Optionally specifies the index of the current entry in the table. Informational attribute produced on RVML output and not used on input.
TypeInteger

Child Elements

None

Parent Elements

FillStylePair
FillStyles

Examples

Shape Fill Examples
CArcs Example
Timeline Replace Examples
Shape Origin Example
Square to Circle Morph Example
Animate simple symbols on timeline
Circle Examples
Color Specification Example
Quadratic Curve Example
SVG Arc Example in RVML
Dynamic MovieClip Clipping
Shape Transform Examples
Button Example
Button DragTarget Example
Button Sound Example
Example Of MovieClip classes
Example Of MovieClip classes and scripted animations
Timeline Color Transformations
Elliptical Arcs Example
Examples of Elliptical Arcs and Circular Arcs
Defines simple symbol for export
Polygon Example
Rectangle Example
Clipping and Text Clipping Example

Previous Element
ColorAdjust

Next Element
ColorMatrix