Packages

c

org.scalajs.dom.raw

SVGMatrix

class SVGMatrix extends Object

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

MDN

Annotations
@JSType() @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
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SVGMatrix()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. var a: Double
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. var b: Double
  7. var c: Double
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  9. var d: Double
  10. var e: Double
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. var f: Double
  14. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. 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

  16. 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

  17. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. 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

  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  23. 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

  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  28. 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

  29. 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

  30. 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

  31. 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

  32. 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

  33. 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

  34. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  35. def toLocaleString(): String
    Definition Classes
    Object
  36. def toString(): String
    Definition Classes
    AnyRef → Any
  37. 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

  38. def valueOf(): Any
    Definition Classes
    Object
  39. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped