Description Available Attribute Values Details Animatable Used by the Elements
Sets a coordinate transformation to be applied to the radial gradient. This coordinate transformation can constructed as the composition of a sequence of the simpler basic linear transformations.
The value is defined as follows:
Specifies sequence transforms of the gradient. Exotic effects, such as skewing can be made using these additional transforms. The default is the identity.
A transform-list is named list of coordinate transforms to be applied in the order in which they appear.
For example:
list(translate=c(100,20), scale=1.2, rotate=c(30,100,20))
The list names and
corresponding values (all numeric)
are summarized in the following table
Transforms
name | value | action |
matrix | a 2x3 matrix m. | Transforms coordinates x,y to x'y' by c(x',y',1)<-m %*% c(x,y,1), where m'<-rbind(m,c(0,0,1). |
translate | x or c(x,y) | Translates by c(x, y). If only x is specified, y is set to 0. |
scale | sx or c(sx, sy) | Scales by sx, sy. If only sx is specified, sy=sx. |
rotate | θ or c( θ,x,y). | Rotates by theta degrees about the point c(x,y). If only the θ is specified, then x=y=0. |
skewX | θ_x | Skews along the x-axis by an angle of θ_x , where θ_x is interpreted in units of degrees. |
skewY | θ_y | Skews along the y-axis by an angle of θ_y , where θ_y is interpreted in units of degrees. |
Using: animateTransform
.
Supports Additive: Yes .
radialGradient
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.