SVGTransform

external class SVGTransform(source)

SVGTransform is the interface for one of the component transformations within an SVGTransformList; thus, an SVGTransform object corresponds to a single component (e.g., scale(…) or matrix(…)) within a transform attribute.

MDN Reference

Types

Link copied to clipboard
object Companion
Link copied to clipboard
sealed interface Type

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun setMatrix(matrix: DOMMatrix2DInit = definedExternally)
Link copied to clipboard
fun setRotate(angle: Float, cx: Float, cy: Float)
Link copied to clipboard
fun setScale(sx: Float, sy: Float)
Link copied to clipboard
fun setSkewX(angle: Float)
Link copied to clipboard
fun setSkewY(angle: Float)
Link copied to clipboard
fun setTranslate(tx: Float, ty: Float)