Class

org.scalajs.dom.raw

SVGMatrix

Related Doc: package raw

Permalink

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
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SVGMatrix()

    Permalink

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. var a: Double

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. var b: Double

    Permalink
  7. var c: Double

    Permalink
  8. def clone(): AnyRef

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

    Permalink
  10. var e: Double

    Permalink
  11. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  13. var f: Double

    Permalink
  14. def finalize(): Unit

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

    Permalink

    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

    Permalink

    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[_]

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

    Permalink
    Definition Classes
    Object
  19. def hashCode(): Int

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

    Permalink

    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

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

    Permalink
    Definition Classes
    Object
  23. def multiply(secondMatrix: SVGMatrix): SVGMatrix

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef
  25. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit

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

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

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef
  35. def toLocaleString(): String

    Permalink
    Definition Classes
    Object
  36. def toString(): String

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

    Permalink

    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

    Permalink
    Definition Classes
    Object
  39. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped