class SVGMatrix extends Object
Many of SVG's graphics operations utilize 2x3 matrices of the form:
MDN
- Annotations
- @JSType() @native() @JSGlobal()
- Alphabetic
- By Inheritance
- SVGMatrix
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new SVGMatrix()
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- var a: Double
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- var b: Double
- var c: Double
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- var d: Double
- var e: Double
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- var f: Double
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
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
-
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
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hasOwnProperty(v: String): Boolean
- Definition Classes
- Object
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
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
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isPrototypeOf(v: Object): Boolean
- Definition Classes
- Object
-
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
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
propertyIsEnumerable(v: String): Boolean
- Definition Classes
- Object
-
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
-
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
-
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
-
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
-
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
-
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
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toLocaleString(): String
- Definition Classes
- Object
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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
-
def
valueOf(): Any
- Definition Classes
- Object
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()