2025-01-15 19:42:35 +01:00

71 lines
28 KiB
HTML

<!DOCTYPE html>
<html lang="en"><!-- use theme color or fallback -->
<!--use textcolor from settings, otherwise create a contrasting color to theme color-->
<head><meta charset="utf-8"/><link href="../../bootstrap/css/bootstrap.min.css" rel="stylesheet"/><link href="../../bootstrap/css/bootstrap-responsive.min.css" rel="stylesheet"/><link href="../../bootstrap/css/bootstrap-select.min.css" rel="stylesheet"/><link href="http://fonts.googleapis.com/css?family=Open+Sans:400,700,700italic,400italic" rel="stylesheet" type="text/css"/><link href="http://fonts.googleapis.com/css?family=Source+Sans+Pro:200,600,600italic,400" rel="stylesheet" type="text/css"/><link href="http://netdna.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.css" rel="stylesheet" type="text/css"/><script src="../../jquery-1.9.1.min.js"></script><script src="../../bootstrap/js/bootstrap.min.js"></script><script src="../../bootstrap/js/bootstrap-select.min.js"></script><link href="../../styles.css" rel="stylesheet"/><link href="../../haxe-nav.css" rel="stylesheet"/><script type="text/javascript">var dox = {rootPath: "../../",platforms: ["Neko","Android","Flash","iOS","macOS","Linux","HTML5","Windows"]};</script><script type="text/javascript" src="../../nav.js"></script><script type="text/javascript" src="../../index.js"></script><link rel="icon" href="../../favicon.ico" type="image/x-icon"></link><title>js.html.DOMMatrixReadOnly - API Reference</title><meta name="description" content="The &lt;code&gt;&lt;a href="../../js/html/DOMMatrixReadOnly.html"&gt;DOMMatrixReadOnly&lt;/a&gt;&lt;/code&gt; interface represents 4x4 matrices, suitable for 2D and 3D operations. If this interface defines only read-only matrices, the &lt;code&gt;&lt;a href="../../js/html/DOMMatrix.html"&gt;DOMMatrix&lt;/a&gt;&lt;/code&gt; interface which inherits from it, add all the properties and the methods to allow to have modifiable matrices."/></head><body><style>
a, code .type {
color: #24afc4;
}
.navbar .brand {
display: inline-block;
float: none;
text-shadow: 0 0 0 transparent;
}
.nav-list>.active>a.treeLink, .nav-list>.active>a.treeLink:hover, .nav-list>.active>a.treeLink:focus {
background: #24afc4;
color: #ffffff;
text-shadow: 0 0 0 transparent;
}
.navbar .container {
width: 940px ;
}
@media (max-width: 767px) {
.navbar .container {
width: auto;
}
}
@media (max-width: 979px) and (min-width: 768px) {
.navbar .container {
width: 724px;
}
}
@media (min-width: 1200px) {
.navbar .container {
width: 1170px;
}
}
.navbar .container img {
margin: 5px 0 0 4px;
}
</style><nav class="nav"><div class="navbar"><div class="navbar-inner" style="background:#FAFAFA; border-bottom:1px solid rgba(0,0,0,.09)"><div class="container"><a class="brand" href="http://www.openfl.org"><img alt="" src="http://www.openfl.org/images/logo.png"/></a><a class="brand" style="color:#777777" href="../../">API Reference</a></div></div></div></nav><div class="container main-content"><div class="row-fluid"><div class="span3"><div class="well sidebar-nav"><form class="form-search" id="searchForm"><div class="input-prepend input-block-level"><span class="add-on"><i class="icon-search"></i></span><input id="search" type="text" placeholder="Search" autocomplete="off"/></div></form><div class="dropdown"><select id="select-platform" class="selectpicker" title="Filter by platform" data-width="100%"><option value="all" selected="true">All Platforms</option><option>Neko</option><option>Android</option><option>Flash</option><option>iOS</option><option>macOS</option><option>Linux</option><option>HTML5</option><option>Windows</option></select></div></div><div class="well sidebar-nav"><div id="nav"></div></div></div><div class="span9"><div class="page-header"><h1><small>class</small> DOMMatrixReadOnly</h1><h4><small>package <a href="../../js/html/index.html">js.html</a></small></h4> <h4><small><span class="muted">extended by </span><a class="type" title="The DOMMatrix interface represents 4x4 matrices, suitable for 2D and 3D operations." href="../../js/html/DOMMatrix.html">DOMMatrix</a></small></h4><p class="availability"><hr/><em>Available on HTML5</em></p></div><div class="body"><div class="doc doc-main"><div class="indent"><p>The <code><a href="../../js/html/DOMMatrixReadOnly.html">DOMMatrixReadOnly</a></code> interface represents 4x4 matrices, suitable for 2D and 3D operations. If this interface defines only read-only matrices, the <code><a href="../../js/html/DOMMatrix.html">DOMMatrix</a></code> interface which inherits from it, add all the properties and the methods to allow to have modifiable matrices.</p>
<p>Documentation <a href="https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly">DOMMatrixReadOnly</a> by <a href="https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly$history">Mozilla Contributors</a>, licensed under <a href="https://creativecommons.org/licenses/by-sa/2.5/">CC-BY-SA 2.5</a>.</p><p class="javadoc">See:</p><div class="indent inline-content"><p><a href="https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly">https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly</a></p></div></div></div><h3 class="section">Variables</h3><div class="fields"><div class="field "><a name="a"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/DOMMatrixReadOnly.html#a"><span class="identifier">a</span></a>:<a class="type" title="The standard Float type, this is a double-precision IEEE 64bit float." href="../../Float.html">Float</a></code></p></h3><div class="doc"><p>Are <code>double</code> representing each component of a 4x4 matrix needed for 2D rotations and translations. They are aliases for some components of the 4x4 matrix:
<table class="standard-table"></p>
<p><tr>
2D
3D equivalent
</tr></p>
<p><tr>
<td><code>a</code></td>
<td><code>m11</code></td>
</tr>
<tr>
<td><code>b</code></td>
<td><code>m12</code></td>
</tr>
<tr>
<td><code>c</code></td>
<td><code>m21</code></td>
</tr>
<tr>
<td><code>d</code></td>
<td><code>m22</code></td>
</tr>
<tr>
<td><code>e</code></td>
<td><code>m41</code></td>
</tr>
<tr>
<td><code>f</code></td>
<td><code>m42</code></td>
</tr></p>
<p></table>
They are read-only, but their counterpart, with the same name, in <code>DOMMatrix</code> aren't.</p></div></div><div class="field "><a name="b"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/DOMMatrixReadOnly.html#b"><span class="identifier">b</span></a>:<a class="type" title="The standard Float type, this is a double-precision IEEE 64bit float." href="../../Float.html">Float</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="c"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/DOMMatrixReadOnly.html#c"><span class="identifier">c</span></a>:<a class="type" title="The standard Float type, this is a double-precision IEEE 64bit float." href="../../Float.html">Float</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="d"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/DOMMatrixReadOnly.html#d"><span class="identifier">d</span></a>:<a class="type" title="The standard Float type, this is a double-precision IEEE 64bit float." href="../../Float.html">Float</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="e"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/DOMMatrixReadOnly.html#e"><span class="identifier">e</span></a>:<a class="type" title="The standard Float type, this is a double-precision IEEE 64bit float." href="../../Float.html">Float</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="f"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/DOMMatrixReadOnly.html#f"><span class="identifier">f</span></a>:<a class="type" title="The standard Float type, this is a double-precision IEEE 64bit float." href="../../Float.html">Float</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="identity"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/DOMMatrixReadOnly.html#identity"><span class="identifier">identity</span></a>:<a class="type" title="The standard Boolean type, which can either be true or false." href="../../Bool.html">Bool</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="is2D"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/DOMMatrixReadOnly.html#is2D"><span class="identifier">is2D</span></a>:<a class="type" title="The standard Boolean type, which can either be true or false." href="../../Bool.html">Bool</a></code></p></h3><div class="doc"><p>Is a <code>Boolean</code> indicating if the matrix contains a 2D matrix and only accept 2D transformations.</p></div></div><div class="field "><a name="m11"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/DOMMatrixReadOnly.html#m11"><span class="identifier">m11</span></a>:<a class="type" title="The standard Float type, this is a double-precision IEEE 64bit float." href="../../Float.html">Float</a></code></p></h3><div class="doc"><p>Are <code>double</code> representing each component of a 4x4 matrix. They are read-only, but their counterpart, with the same name, in <code><a href="../../js/html/DOMMatrix.html">DOMMatrix</a></code> aren't.</p></div></div><div class="field "><a name="m12"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/DOMMatrixReadOnly.html#m12"><span class="identifier">m12</span></a>:<a class="type" title="The standard Float type, this is a double-precision IEEE 64bit float." href="../../Float.html">Float</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="m13"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/DOMMatrixReadOnly.html#m13"><span class="identifier">m13</span></a>:<a class="type" title="The standard Float type, this is a double-precision IEEE 64bit float." href="../../Float.html">Float</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="m14"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/DOMMatrixReadOnly.html#m14"><span class="identifier">m14</span></a>:<a class="type" title="The standard Float type, this is a double-precision IEEE 64bit float." href="../../Float.html">Float</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="m21"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/DOMMatrixReadOnly.html#m21"><span class="identifier">m21</span></a>:<a class="type" title="The standard Float type, this is a double-precision IEEE 64bit float." href="../../Float.html">Float</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="m22"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/DOMMatrixReadOnly.html#m22"><span class="identifier">m22</span></a>:<a class="type" title="The standard Float type, this is a double-precision IEEE 64bit float." href="../../Float.html">Float</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="m23"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/DOMMatrixReadOnly.html#m23"><span class="identifier">m23</span></a>:<a class="type" title="The standard Float type, this is a double-precision IEEE 64bit float." href="../../Float.html">Float</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="m24"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/DOMMatrixReadOnly.html#m24"><span class="identifier">m24</span></a>:<a class="type" title="The standard Float type, this is a double-precision IEEE 64bit float." href="../../Float.html">Float</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="m31"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/DOMMatrixReadOnly.html#m31"><span class="identifier">m31</span></a>:<a class="type" title="The standard Float type, this is a double-precision IEEE 64bit float." href="../../Float.html">Float</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="m32"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/DOMMatrixReadOnly.html#m32"><span class="identifier">m32</span></a>:<a class="type" title="The standard Float type, this is a double-precision IEEE 64bit float." href="../../Float.html">Float</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="m33"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/DOMMatrixReadOnly.html#m33"><span class="identifier">m33</span></a>:<a class="type" title="The standard Float type, this is a double-precision IEEE 64bit float." href="../../Float.html">Float</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="m34"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/DOMMatrixReadOnly.html#m34"><span class="identifier">m34</span></a>:<a class="type" title="The standard Float type, this is a double-precision IEEE 64bit float." href="../../Float.html">Float</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="m41"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/DOMMatrixReadOnly.html#m41"><span class="identifier">m41</span></a>:<a class="type" title="The standard Float type, this is a double-precision IEEE 64bit float." href="../../Float.html">Float</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="m42"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/DOMMatrixReadOnly.html#m42"><span class="identifier">m42</span></a>:<a class="type" title="The standard Float type, this is a double-precision IEEE 64bit float." href="../../Float.html">Float</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="m43"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/DOMMatrixReadOnly.html#m43"><span class="identifier">m43</span></a>:<a class="type" title="The standard Float type, this is a double-precision IEEE 64bit float." href="../../Float.html">Float</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="m44"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/DOMMatrixReadOnly.html#m44"><span class="identifier">m44</span></a>:<a class="type" title="The standard Float type, this is a double-precision IEEE 64bit float." href="../../Float.html">Float</a></code></p></h3><div class="doc"><p></p></div></div></div><h3 class="section">Methods</h3><div class="fields"><div class="field "><a name="flipX"></a><h3><p><code><a href="#flipX"><span class="identifier">flipX</span></a> ():<a class="type" title="The DOMMatrix interface represents 4x4 matrices, suitable for 2D and 3D operations." href="../../js/html/DOMMatrix.html">DOMMatrix</a></code></p></h3><div class="doc"><p>Returns a <code><a href="../../js/html/DOMMatrix.html">DOMMatrix</a></code> containing a new matrix being the result of the original matrix being flipped around the x-axis, that is multiplied by the <code><a href="../../js/html/DOMMatrix.html">DOMMatrix</a>(-1, 0, 0, 1, 0, 0)</code>. The original matrix is not modified.</p></div></div><div class="field "><a name="flipY"></a><h3><p><code><a href="#flipY"><span class="identifier">flipY</span></a> ():<a class="type" title="The DOMMatrix interface represents 4x4 matrices, suitable for 2D and 3D operations." href="../../js/html/DOMMatrix.html">DOMMatrix</a></code></p></h3><div class="doc"><p>Returns a <code><a href="../../js/html/DOMMatrix.html">DOMMatrix</a></code> containing a new matrix being the result of the original matrix being flipped around the y-axis, that is multiplied by the <code><a href="../../js/html/DOMMatrix.html">DOMMatrix</a>(1, 0, 0, -1, 0, 0)</code>. The original matrix is not modified.</p></div></div><div class="field "><a name="inverse"></a><h3><p><code><a href="#inverse"><span class="identifier">inverse</span></a> ():<a class="type" title="The DOMMatrix interface represents 4x4 matrices, suitable for 2D and 3D operations." href="../../js/html/DOMMatrix.html">DOMMatrix</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="multiply"></a><h3><p><code><a href="#multiply"><span class="identifier">multiply</span></a> (<span style="white-space:nowrap">other:<a class="type" title="The DOMMatrix interface represents 4x4 matrices, suitable for 2D and 3D operations." href="../../js/html/DOMMatrix.html">DOMMatrix</a></span>):<a class="type" title="The DOMMatrix interface represents 4x4 matrices, suitable for 2D and 3D operations." href="../../js/html/DOMMatrix.html">DOMMatrix</a></code></p></h3><div class="doc"><p>Returns a <code><a href="../../js/html/DOMMatrix.html">DOMMatrix</a></code> containing a new matrix being the result of the original matrix being multiplied by the given <code><a href="../../js/html/DOMMatrix.html">DOMMatrix</a></code>. The original matrix is not modified.</p></div></div><div class="field "><a name="rotate"></a><h3><p><code><a href="#rotate"><span class="identifier">rotate</span></a> (<span style="white-space:nowrap">angle:<a class="type" title="The standard Float type, this is a double-precision IEEE 64bit float." href="../../Float.html">Float</a>,</span> <span style="white-space:nowrap">originX:<a class="type" title="The standard Float type, this is a double-precision IEEE 64bit float." href="../../Float.html">Float</a> = 0.0,</span> <span style="white-space:nowrap">originY:<a class="type" title="The standard Float type, this is a double-precision IEEE 64bit float." href="../../Float.html">Float</a> = 0.0</span>):<a class="type" title="The DOMMatrix interface represents 4x4 matrices, suitable for 2D and 3D operations." href="../../js/html/DOMMatrix.html">DOMMatrix</a></code></p></h3><div class="doc"><p>Returns a <code><a href="../../js/html/DOMMatrix.html">DOMMatrix</a></code> containing a new matrix being the result of the original matrix being rotated by the given angle, with the rotation centered on the origin given. The original matrix is not modified.</p></div></div><div class="field "><a name="rotateAxisAngle"></a><h3><p><code><a href="#rotateAxisAngle"><span class="identifier">rotateAxisAngle</span></a> (<span style="white-space:nowrap">x:<a class="type" title="The standard Float type, this is a double-precision IEEE 64bit float." href="../../Float.html">Float</a>,</span> <span style="white-space:nowrap">y:<a class="type" title="The standard Float type, this is a double-precision IEEE 64bit float." href="../../Float.html">Float</a>,</span> <span style="white-space:nowrap">z:<a class="type" title="The standard Float type, this is a double-precision IEEE 64bit float." href="../../Float.html">Float</a>,</span> <span style="white-space:nowrap">angle:<a class="type" title="The standard Float type, this is a double-precision IEEE 64bit float." href="../../Float.html">Float</a></span>):<a class="type" title="The DOMMatrix interface represents 4x4 matrices, suitable for 2D and 3D operations." href="../../js/html/DOMMatrix.html">DOMMatrix</a></code></p></h3><div class="doc"><p>Returns a <code><a href="../../js/html/DOMMatrix.html">DOMMatrix</a></code> containing a new matrix being the result of the original matrix being rotated by the given angle and the give vector. The original matrix is not modified.</p></div></div><div class="field "><a name="rotateFromVector"></a><h3><p><code><a href="#rotateFromVector"><span class="identifier">rotateFromVector</span></a> (<span style="white-space:nowrap">x:<a class="type" title="The standard Float type, this is a double-precision IEEE 64bit float." href="../../Float.html">Float</a>,</span> <span style="white-space:nowrap">y:<a class="type" title="The standard Float type, this is a double-precision IEEE 64bit float." href="../../Float.html">Float</a></span>):<a class="type" title="The DOMMatrix interface represents 4x4 matrices, suitable for 2D and 3D operations." href="../../js/html/DOMMatrix.html">DOMMatrix</a></code></p></h3><div class="doc"><p>Returns a <code><a href="../../js/html/DOMMatrix.html">DOMMatrix</a></code> containing a new matrix being the result of the original matrix being rotated by the angle between the given vector and (1,0), centered on the origin given. The original matrix is not modified.</p></div></div><div class="field "><a name="scale"></a><h3><p><code><a href="#scale"><span class="identifier">scale</span></a> (<span style="white-space:nowrap">scale:<a class="type" title="The standard Float type, this is a double-precision IEEE 64bit float." href="../../Float.html">Float</a>,</span> <span style="white-space:nowrap">originX:<a class="type" title="The standard Float type, this is a double-precision IEEE 64bit float." href="../../Float.html">Float</a> = 0.0,</span> <span style="white-space:nowrap">originY:<a class="type" title="The standard Float type, this is a double-precision IEEE 64bit float." href="../../Float.html">Float</a> = 0.0</span>):<a class="type" title="The DOMMatrix interface represents 4x4 matrices, suitable for 2D and 3D operations." href="../../js/html/DOMMatrix.html">DOMMatrix</a></code></p></h3><div class="doc"><p>Returns a <code><a href="../../js/html/DOMMatrix.html">DOMMatrix</a></code> containing a new matrix being the result of the matrix x and y dimensions being scaled by the given factor, centered on the origin given. The original matrix is not modified.</p></div></div><div class="field "><a name="scale3d"></a><h3><p><code><a href="#scale3d"><span class="identifier">scale3d</span></a> (<span style="white-space:nowrap">scale:<a class="type" title="The standard Float type, this is a double-precision IEEE 64bit float." href="../../Float.html">Float</a>,</span> <span style="white-space:nowrap">originX:<a class="type" title="The standard Float type, this is a double-precision IEEE 64bit float." href="../../Float.html">Float</a> = 0.0,</span> <span style="white-space:nowrap">originY:<a class="type" title="The standard Float type, this is a double-precision IEEE 64bit float." href="../../Float.html">Float</a> = 0.0,</span> <span style="white-space:nowrap">originZ:<a class="type" title="The standard Float type, this is a double-precision IEEE 64bit float." href="../../Float.html">Float</a> = 0.0</span>):<a class="type" title="The DOMMatrix interface represents 4x4 matrices, suitable for 2D and 3D operations." href="../../js/html/DOMMatrix.html">DOMMatrix</a></code></p></h3><div class="doc"><p>Returns a <code><a href="../../js/html/DOMMatrix.html">DOMMatrix</a></code> containing a new matrix being the result of the matrix x, y and z dimension being scaled by the given factor, centered on the origin given. The original matrix is not modified.</p></div></div><div class="field "><a name="scaleNonUniform"></a><h3><p><code><a href="#scaleNonUniform"><span class="identifier">scaleNonUniform</span></a> (<span style="white-space:nowrap">scaleX:<a class="type" title="The standard Float type, this is a double-precision IEEE 64bit float." href="../../Float.html">Float</a>,</span> <span style="white-space:nowrap">scaleY:<a class="type" title="The standard Float type, this is a double-precision IEEE 64bit float." href="../../Float.html">Float</a> = 1.0,</span> <span style="white-space:nowrap">scaleZ:<a class="type" title="The standard Float type, this is a double-precision IEEE 64bit float." href="../../Float.html">Float</a> = 1.0,</span> <span style="white-space:nowrap">originX:<a class="type" title="The standard Float type, this is a double-precision IEEE 64bit float." href="../../Float.html">Float</a> = 0.0,</span> <span style="white-space:nowrap">originY:<a class="type" title="The standard Float type, this is a double-precision IEEE 64bit float." href="../../Float.html">Float</a> = 0.0,</span> <span style="white-space:nowrap">originZ:<a class="type" title="The standard Float type, this is a double-precision IEEE 64bit float." href="../../Float.html">Float</a> = 0.0</span>):<a class="type" title="The DOMMatrix interface represents 4x4 matrices, suitable for 2D and 3D operations." href="../../js/html/DOMMatrix.html">DOMMatrix</a></code></p></h3><div class="doc"><p>Returns a <code><a href="../../js/html/DOMMatrix.html">DOMMatrix</a></code> containing a new matrix being the result of the matrix x, y and z dimension being scaled by the given factor for each dimension, centered on the origin given. The original matrix is not modified.</p></div></div><div class="field "><a name="skewX"></a><h3><p><code><a href="#skewX"><span class="identifier">skewX</span></a> (<span style="white-space:nowrap">sx:<a class="type" title="The standard Float type, this is a double-precision IEEE 64bit float." href="../../Float.html">Float</a></span>):<a class="type" title="The DOMMatrix interface represents 4x4 matrices, suitable for 2D and 3D operations." href="../../js/html/DOMMatrix.html">DOMMatrix</a></code></p></h3><div class="doc"><p>Returns a <code><a href="../../js/html/DOMMatrix.html">DOMMatrix</a></code> containing a new matrix being the result of the original matrix being skewed along the x-axis by the given factor. The original matrix is not modified.</p></div></div><div class="field "><a name="skewY"></a><h3><p><code><a href="#skewY"><span class="identifier">skewY</span></a> (<span style="white-space:nowrap">sy:<a class="type" title="The standard Float type, this is a double-precision IEEE 64bit float." href="../../Float.html">Float</a></span>):<a class="type" title="The DOMMatrix interface represents 4x4 matrices, suitable for 2D and 3D operations." href="../../js/html/DOMMatrix.html">DOMMatrix</a></code></p></h3><div class="doc"><p>Returns a <code><a href="../../js/html/DOMMatrix.html">DOMMatrix</a></code> containing a new matrix being the result of the original matrix being skewed along the y-axis by the given factor. The original matrix is not modified.</p></div></div><div class="field "><a name="toFloat32Array"></a><h3><p><code><a href="#toFloat32Array"><span class="identifier">toFloat32Array</span></a> ():<a class="type" title="" href="../../js/html/Float32Array.html">Float32Array</a></code></p></h3><div class="doc"><p class="javadoc">Throws:</p><table class="table table-bordered params"><div class="indent inline-content"><tr><th width="25%"><code>null</code></th><td><p>DOMError</p></td></tr></div></table></div></div><div class="field "><a name="toFloat64Array"></a><h3><p><code><a href="#toFloat64Array"><span class="identifier">toFloat64Array</span></a> ():<a class="type" title="" href="../../js/html/Float64Array.html">Float64Array</a></code></p></h3><div class="doc"><p class="javadoc">Throws:</p><table class="table table-bordered params"><div class="indent inline-content"><tr><th width="25%"><code>null</code></th><td><p>DOMError</p></td></tr></div></table></div></div><div class="field "><a name="transformPoint"></a><h3><p><code><a href="#transformPoint"><span class="identifier">transformPoint</span></a> (<span style="white-space:nowrap">?point:<a class="type" title="" href="../../js/html/DOMPointInit.html">DOMPointInit</a></span>):<a class="type" title="A DOMPoint represents a 2D or 3D point in a coordinate system." href="../../js/html/DOMPoint.html">DOMPoint</a></code></p></h3><div class="doc"><p>Returns a <code><a href="../../js/html/DOMPoint.html">DOMPoint</a></code> that is the point given in parameter multiplied by the matrix. Bot the original point and the matrix aren't modified.</p></div></div><div class="field "><a name="translate"></a><h3><p><code><a href="#translate"><span class="identifier">translate</span></a> (<span style="white-space:nowrap">tx:<a class="type" title="The standard Float type, this is a double-precision IEEE 64bit float." href="../../Float.html">Float</a>,</span> <span style="white-space:nowrap">ty:<a class="type" title="The standard Float type, this is a double-precision IEEE 64bit float." href="../../Float.html">Float</a>,</span> <span style="white-space:nowrap">tz:<a class="type" title="The standard Float type, this is a double-precision IEEE 64bit float." href="../../Float.html">Float</a> = 0.0</span>):<a class="type" title="The DOMMatrix interface represents 4x4 matrices, suitable for 2D and 3D operations." href="../../js/html/DOMMatrix.html">DOMMatrix</a></code></p></h3><div class="doc"><p>Returns a <code><a href="../../js/html/DOMMatrix.html">DOMMatrix</a></code> containing a new matrix being the result of the matrix being translated by the given vector. The original matrix is not modified.</p></div></div></div></div></div></div></div><footer class="section site-footer" style="background:#FAFAFA"><div class="container"><div class="copyright"><p style="color:#777777">&copy; 2017 &nbsp;<a style="color:#777777" href="http://www.openfl.org">http://www.openfl.org</a></p></div></div></footer><script src="../..//highlighter.js"></script><link href="../../highlighter.css" rel="stylesheet"/></body></html>