Previous Element | Next Element |
Stop
This defines a stop point in a gradient color ramp.
Attributes
offset | Position of stop point for the specified color. Each offset is specified as a percentage along the ramp. Values are significant to the nearest 0.4% | |
Type | Float | |
From Value | 0 | |
To Value | 100 | |
Default Value | 0 | |
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 Value | 0 | |
To Value | 255 | |
Value Template | #ColorColorColor | |
From Value | 00 | |
To Value | ff | |
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 Value | 0.0 | |
To Value | 1.0 | |
Default Value | 1.0 |
Child Elements
None
Parent Elements
GradientBevelGradientGlow
LinearGradient
RadialGradient
Examples
Color Gradient ExamplesClipping and Text Clipping Example
MorphShape Example
Previous Element | Next Element |