Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SVGTransform

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.

Hierarchy

  • SVGTransform

Index

Properties

Readonly SVG_TRANSFORM_MATRIX

SVG_TRANSFORM_MATRIX: number

Readonly SVG_TRANSFORM_ROTATE

SVG_TRANSFORM_ROTATE: number

Readonly SVG_TRANSFORM_SCALE

SVG_TRANSFORM_SCALE: number

Readonly SVG_TRANSFORM_SKEWX

SVG_TRANSFORM_SKEWX: number

Readonly SVG_TRANSFORM_SKEWY

SVG_TRANSFORM_SKEWY: number

Readonly SVG_TRANSFORM_TRANSLATE

SVG_TRANSFORM_TRANSLATE: number

Readonly SVG_TRANSFORM_UNKNOWN

SVG_TRANSFORM_UNKNOWN: number

Readonly angle

angle: number

Readonly matrix

matrix: SVGMatrix

Readonly type

type: number

Methods

setMatrix

  • Parameters

    Returns void

setRotate

  • setRotate(angle: number, cx: number, cy: number): void
  • Parameters

    • angle: number
    • cx: number
    • cy: number

    Returns void

setScale

  • setScale(sx: number, sy: number): void
  • Parameters

    • sx: number
    • sy: number

    Returns void

setSkewX

  • setSkewX(angle: number): void
  • Parameters

    • angle: number

    Returns void

setSkewY

  • setSkewY(angle: number): void
  • Parameters

    • angle: number

    Returns void

setTranslate

  • setTranslate(tx: number, ty: number): void
  • Parameters

    • tx: number
    • ty: number

    Returns void

Generated using TypeDoc