gradienttransform

gradienttransform

The gradientTransform attribute contains the definition of an optional additional transformation from the gradient coordinate system onto the target coordinate system (i.e., userSpaceOnUse or objectBoundingBox). This allows for things such as skewing the gradient. This additional transformation matrix is post-multiplied to (i.e., inserted to the right of) any previously defined transformations, including the implicit transformation necessary to convert from object bounding box units to user space.

If attribute gradientTransform is not specified, then the effect is as if an identity transform were specified.

Usage context

Categories None
Value <transform-list>
Animatable Yes
Normative document

Types of transform definition

To know more about the definition of transform types, see the transform attribute definition.

Example

Elements

The following elements can use the gradientTransform attribute

© 2005–2017 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/gradientTransform

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部