org.scalajs.dom.raw

SVGMatrix

class SVGMatrix extends Object

Many of SVG's graphics operations utilize 2x3 matrices of the form:

MDN

Annotations
@RawJSType() @native() @JSGlobal()
Linear Supertypes
Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SVGMatrix
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SVGMatrix()

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. var a: Double

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. var b: Double

  9. var c: Double

  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. var d: Double

  12. var e: Double

  13. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  15. var f: Double

  16. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def flipX(): SVGMatrix

    Post-multiplies the transformation [-1 0 0 1 0 0] and returns the resulting matrix.

    Post-multiplies the transformation [-1 0 0 1 0 0] and returns the resulting matrix.

    MDN

  18. def flipY(): SVGMatrix

    Post-multiplies the transformation [1 0 0 -1 0 0] and returns the resulting matrix.

    Post-multiplies the transformation [1 0 0 -1 0 0] and returns the resulting matrix.

    MDN

  19. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  20. def hasOwnProperty(v: String): Boolean

    Definition Classes
    Object
  21. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  22. def inverse(): SVGMatrix

    Return the inverse matrix Exceptions: a DOMException with code SVG_MATRIX_NOT_INVERTABLE is raised if the matrix is not invertable.

    Return the inverse matrix Exceptions: a DOMException with code SVG_MATRIX_NOT_INVERTABLE is raised if the matrix is not invertable.

    MDN

  23. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  24. def isPrototypeOf(v: Object): Boolean

    Definition Classes
    Object
  25. def multiply(secondMatrix: SVGMatrix): SVGMatrix

    Performs matrix multiplication.

    Performs matrix multiplication. This matrix is post-multiplied by another matrix, returning the resulting new matrix.

    MDN

  26. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  27. final def notify(): Unit

    Definition Classes
    AnyRef
  28. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  29. def propertyIsEnumerable(v: String): Boolean

    Definition Classes
    Object
  30. def rotate(angle: Double): SVGMatrix

    Post-multiplies a rotation transformation on the current matrix and returns the resulting matrix.

    Post-multiplies a rotation transformation on the current matrix and returns the resulting matrix.

    MDN

  31. def rotateFromVector(x: Double, y: Double): SVGMatrix

    Post-multiplies a rotation transformation on the current matrix and returns the resulting matrix.

    Post-multiplies a rotation transformation on the current matrix and returns the resulting matrix. The rotation angle is determined by taking (+/-) atan(y/x). The direction of the vector (x, y) determines whether the positive or negative angle value is used. Exceptions: a DOMException with code SVG_INVALID_VALUE_ERR is raised if one of the parameters has an invalid value.

    MDN

  32. def scale(scaleFactor: Double): SVGMatrix

    Post-multiplies a uniform scale transformation on the current matrix and returns the resulting matrix.

    Post-multiplies a uniform scale transformation on the current matrix and returns the resulting matrix.

    MDN

  33. def scaleNonUniform(scaleFactorX: Double, scaleFactorY: Double): SVGMatrix

    Post-multiplies a non-uniform scale transformation on the current matrix and returns the resulting matrix.

    Post-multiplies a non-uniform scale transformation on the current matrix and returns the resulting matrix.

    MDN

  34. def skewX(angle: Double): SVGMatrix

    Post-multiplies a skewX transformation on the current matrix and returns the resulting matrix.

    Post-multiplies a skewX transformation on the current matrix and returns the resulting matrix.

    MDN

  35. def skewY(angle: Double): SVGMatrix

    Post-multiplies a skewY transformation on the current matrix and returns the resulting matrix.

    Post-multiplies a skewY transformation on the current matrix and returns the resulting matrix.

    MDN

  36. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  37. def toLocaleString(): String

    Definition Classes
    Object
  38. def toString(): String

    Definition Classes
    AnyRef → Any
  39. def translate(x: Double, y: Double): SVGMatrix

    Post-multiplies a translation transformation on the current matrix and returns the resulting matrix.

    Post-multiplies a translation transformation on the current matrix and returns the resulting matrix.

    MDN

  40. def valueOf(): Any

    Definition Classes
    Object
  41. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped