[−][src]Struct web_sys::DomMatrix
The DomMatrix class.
This API requires the following crate features to be activated: DomMatrix
Implementations
impl DomMatrix[src]
pub fn a(&self) -> f64[src]
Getter for the a field of this object.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn set_a(&self, value: f64)[src]
Setter for the a field of this object.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn b(&self) -> f64[src]
Getter for the b field of this object.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn set_b(&self, value: f64)[src]
Setter for the b field of this object.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn c(&self) -> f64[src]
Getter for the c field of this object.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn set_c(&self, value: f64)[src]
Setter for the c field of this object.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn d(&self) -> f64[src]
Getter for the d field of this object.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn set_d(&self, value: f64)[src]
Setter for the d field of this object.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn e(&self) -> f64[src]
Getter for the e field of this object.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn set_e(&self, value: f64)[src]
Setter for the e field of this object.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn f(&self) -> f64[src]
Getter for the f field of this object.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn set_f(&self, value: f64)[src]
Setter for the f field of this object.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn m11(&self) -> f64[src]
Getter for the m11 field of this object.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn set_m11(&self, value: f64)[src]
Setter for the m11 field of this object.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn m12(&self) -> f64[src]
Getter for the m12 field of this object.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn set_m12(&self, value: f64)[src]
Setter for the m12 field of this object.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn m13(&self) -> f64[src]
Getter for the m13 field of this object.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn set_m13(&self, value: f64)[src]
Setter for the m13 field of this object.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn m14(&self) -> f64[src]
Getter for the m14 field of this object.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn set_m14(&self, value: f64)[src]
Setter for the m14 field of this object.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn m21(&self) -> f64[src]
Getter for the m21 field of this object.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn set_m21(&self, value: f64)[src]
Setter for the m21 field of this object.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn m22(&self) -> f64[src]
Getter for the m22 field of this object.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn set_m22(&self, value: f64)[src]
Setter for the m22 field of this object.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn m23(&self) -> f64[src]
Getter for the m23 field of this object.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn set_m23(&self, value: f64)[src]
Setter for the m23 field of this object.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn m24(&self) -> f64[src]
Getter for the m24 field of this object.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn set_m24(&self, value: f64)[src]
Setter for the m24 field of this object.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn m31(&self) -> f64[src]
Getter for the m31 field of this object.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn set_m31(&self, value: f64)[src]
Setter for the m31 field of this object.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn m32(&self) -> f64[src]
Getter for the m32 field of this object.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn set_m32(&self, value: f64)[src]
Setter for the m32 field of this object.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn m33(&self) -> f64[src]
Getter for the m33 field of this object.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn set_m33(&self, value: f64)[src]
Setter for the m33 field of this object.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn m34(&self) -> f64[src]
Getter for the m34 field of this object.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn set_m34(&self, value: f64)[src]
Setter for the m34 field of this object.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn m41(&self) -> f64[src]
Getter for the m41 field of this object.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn set_m41(&self, value: f64)[src]
Setter for the m41 field of this object.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn m42(&self) -> f64[src]
Getter for the m42 field of this object.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn set_m42(&self, value: f64)[src]
Setter for the m42 field of this object.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn m43(&self) -> f64[src]
Getter for the m43 field of this object.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn set_m43(&self, value: f64)[src]
Setter for the m43 field of this object.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn m44(&self) -> f64[src]
Getter for the m44 field of this object.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn set_m44(&self, value: f64)[src]
Setter for the m44 field of this object.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn new() -> Result<DomMatrix, JsValue>[src]
The new DomMatrix(..) constructor, creating a new instance of DomMatrix.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn new_with_transform_list(
transform_list: &str
) -> Result<DomMatrix, JsValue>[src]
transform_list: &str
) -> Result<DomMatrix, JsValue>
The new DomMatrix(..) constructor, creating a new instance of DomMatrix.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn new_with_other(other: &DomMatrixReadOnly) -> Result<DomMatrix, JsValue>[src]
The new DomMatrix(..) constructor, creating a new instance of DomMatrix.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn new_with_array32(array32: &mut [f32]) -> Result<DomMatrix, JsValue>[src]
The new DomMatrix(..) constructor, creating a new instance of DomMatrix.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn new_with_array64(array64: &mut [f64]) -> Result<DomMatrix, JsValue>[src]
The new DomMatrix(..) constructor, creating a new instance of DomMatrix.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn new_with_number_sequence(
number_sequence: &JsValue
) -> Result<DomMatrix, JsValue>[src]
number_sequence: &JsValue
) -> Result<DomMatrix, JsValue>
The new DomMatrix(..) constructor, creating a new instance of DomMatrix.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn invert_self(&self) -> DomMatrix[src]
The invertSelf() method.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn multiply_self(&self, other: &DomMatrix) -> DomMatrix[src]
The multiplySelf() method.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn pre_multiply_self(&self, other: &DomMatrix) -> DomMatrix[src]
The preMultiplySelf() method.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn rotate_axis_angle_self(
&self,
x: f64,
y: f64,
z: f64,
angle: f64
) -> DomMatrix[src]
&self,
x: f64,
y: f64,
z: f64,
angle: f64
) -> DomMatrix
The rotateAxisAngleSelf() method.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn rotate_from_vector_self(&self, x: f64, y: f64) -> DomMatrix[src]
The rotateFromVectorSelf() method.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn rotate_self(&self, angle: f64) -> DomMatrix[src]
The rotateSelf() method.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn rotate_self_with_origin_x(&self, angle: f64, origin_x: f64) -> DomMatrix[src]
The rotateSelf() method.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn rotate_self_with_origin_x_and_origin_y(
&self,
angle: f64,
origin_x: f64,
origin_y: f64
) -> DomMatrix[src]
&self,
angle: f64,
origin_x: f64,
origin_y: f64
) -> DomMatrix
The rotateSelf() method.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn scale3d_self(&self, scale: f64) -> DomMatrix[src]
The scale3dSelf() method.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn scale3d_self_with_origin_x(&self, scale: f64, origin_x: f64) -> DomMatrix[src]
The scale3dSelf() method.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn scale3d_self_with_origin_x_and_origin_y(
&self,
scale: f64,
origin_x: f64,
origin_y: f64
) -> DomMatrix[src]
&self,
scale: f64,
origin_x: f64,
origin_y: f64
) -> DomMatrix
The scale3dSelf() method.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn scale3d_self_with_origin_x_and_origin_y_and_origin_z(
&self,
scale: f64,
origin_x: f64,
origin_y: f64,
origin_z: f64
) -> DomMatrix[src]
&self,
scale: f64,
origin_x: f64,
origin_y: f64,
origin_z: f64
) -> DomMatrix
The scale3dSelf() method.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn scale_non_uniform_self(&self, scale_x: f64) -> DomMatrix[src]
The scaleNonUniformSelf() method.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn scale_non_uniform_self_with_scale_y(
&self,
scale_x: f64,
scale_y: f64
) -> DomMatrix[src]
&self,
scale_x: f64,
scale_y: f64
) -> DomMatrix
The scaleNonUniformSelf() method.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn scale_non_uniform_self_with_scale_y_and_scale_z(
&self,
scale_x: f64,
scale_y: f64,
scale_z: f64
) -> DomMatrix[src]
&self,
scale_x: f64,
scale_y: f64,
scale_z: f64
) -> DomMatrix
The scaleNonUniformSelf() method.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn scale_non_uniform_self_with_scale_y_and_scale_z_and_origin_x(
&self,
scale_x: f64,
scale_y: f64,
scale_z: f64,
origin_x: f64
) -> DomMatrix[src]
&self,
scale_x: f64,
scale_y: f64,
scale_z: f64,
origin_x: f64
) -> DomMatrix
The scaleNonUniformSelf() method.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn scale_non_uniform_self_with_scale_y_and_scale_z_and_origin_x_and_origin_y(
&self,
scale_x: f64,
scale_y: f64,
scale_z: f64,
origin_x: f64,
origin_y: f64
) -> DomMatrix[src]
&self,
scale_x: f64,
scale_y: f64,
scale_z: f64,
origin_x: f64,
origin_y: f64
) -> DomMatrix
The scaleNonUniformSelf() method.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn scale_non_uniform_self_with_scale_y_and_scale_z_and_origin_x_and_origin_y_and_origin_z(
&self,
scale_x: f64,
scale_y: f64,
scale_z: f64,
origin_x: f64,
origin_y: f64,
origin_z: f64
) -> DomMatrix[src]
&self,
scale_x: f64,
scale_y: f64,
scale_z: f64,
origin_x: f64,
origin_y: f64,
origin_z: f64
) -> DomMatrix
The scaleNonUniformSelf() method.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn scale_self(&self, scale: f64) -> DomMatrix[src]
The scaleSelf() method.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn scale_self_with_origin_x(&self, scale: f64, origin_x: f64) -> DomMatrix[src]
The scaleSelf() method.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn scale_self_with_origin_x_and_origin_y(
&self,
scale: f64,
origin_x: f64,
origin_y: f64
) -> DomMatrix[src]
&self,
scale: f64,
origin_x: f64,
origin_y: f64
) -> DomMatrix
The scaleSelf() method.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn set_matrix_value(
&self,
transform_list: &str
) -> Result<DomMatrix, JsValue>[src]
&self,
transform_list: &str
) -> Result<DomMatrix, JsValue>
The setMatrixValue() method.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn skew_x_self(&self, sx: f64) -> DomMatrix[src]
The skewXSelf() method.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn skew_y_self(&self, sy: f64) -> DomMatrix[src]
The skewYSelf() method.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn translate_self(&self, tx: f64, ty: f64) -> DomMatrix[src]
The translateSelf() method.
This API requires the following crate features to be activated: DomMatrix
impl DomMatrix[src]
pub fn translate_self_with_tz(&self, tx: f64, ty: f64, tz: f64) -> DomMatrix[src]
The translateSelf() method.
This API requires the following crate features to be activated: DomMatrix
Methods from Deref<Target = DomMatrixReadOnly>
pub fn a(&self) -> f64[src]
Getter for the a field of this object.
This API requires the following crate features to be activated: DomMatrixReadOnly
pub fn b(&self) -> f64[src]
Getter for the b field of this object.
This API requires the following crate features to be activated: DomMatrixReadOnly
pub fn c(&self) -> f64[src]
Getter for the c field of this object.
This API requires the following crate features to be activated: DomMatrixReadOnly
pub fn d(&self) -> f64[src]
Getter for the d field of this object.
This API requires the following crate features to be activated: DomMatrixReadOnly
pub fn e(&self) -> f64[src]
Getter for the e field of this object.
This API requires the following crate features to be activated: DomMatrixReadOnly
pub fn f(&self) -> f64[src]
Getter for the f field of this object.
This API requires the following crate features to be activated: DomMatrixReadOnly
pub fn m11(&self) -> f64[src]
Getter for the m11 field of this object.
This API requires the following crate features to be activated: DomMatrixReadOnly
pub fn m12(&self) -> f64[src]
Getter for the m12 field of this object.
This API requires the following crate features to be activated: DomMatrixReadOnly
pub fn m13(&self) -> f64[src]
Getter for the m13 field of this object.
This API requires the following crate features to be activated: DomMatrixReadOnly
pub fn m14(&self) -> f64[src]
Getter for the m14 field of this object.
This API requires the following crate features to be activated: DomMatrixReadOnly
pub fn m21(&self) -> f64[src]
Getter for the m21 field of this object.
This API requires the following crate features to be activated: DomMatrixReadOnly
pub fn m22(&self) -> f64[src]
Getter for the m22 field of this object.
This API requires the following crate features to be activated: DomMatrixReadOnly
pub fn m23(&self) -> f64[src]
Getter for the m23 field of this object.
This API requires the following crate features to be activated: DomMatrixReadOnly
pub fn m24(&self) -> f64[src]
Getter for the m24 field of this object.
This API requires the following crate features to be activated: DomMatrixReadOnly
pub fn m31(&self) -> f64[src]
Getter for the m31 field of this object.
This API requires the following crate features to be activated: DomMatrixReadOnly
pub fn m32(&self) -> f64[src]
Getter for the m32 field of this object.
This API requires the following crate features to be activated: DomMatrixReadOnly
pub fn m33(&self) -> f64[src]
Getter for the m33 field of this object.
This API requires the following crate features to be activated: DomMatrixReadOnly
pub fn m34(&self) -> f64[src]
Getter for the m34 field of this object.
This API requires the following crate features to be activated: DomMatrixReadOnly
pub fn m41(&self) -> f64[src]
Getter for the m41 field of this object.
This API requires the following crate features to be activated: DomMatrixReadOnly
pub fn m42(&self) -> f64[src]
Getter for the m42 field of this object.
This API requires the following crate features to be activated: DomMatrixReadOnly
pub fn m43(&self) -> f64[src]
Getter for the m43 field of this object.
This API requires the following crate features to be activated: DomMatrixReadOnly
pub fn m44(&self) -> f64[src]
Getter for the m44 field of this object.
This API requires the following crate features to be activated: DomMatrixReadOnly
pub fn is_2d(&self) -> bool[src]
Getter for the is2D field of this object.
This API requires the following crate features to be activated: DomMatrixReadOnly
pub fn is_identity(&self) -> bool[src]
Getter for the isIdentity field of this object.
This API requires the following crate features to be activated: DomMatrixReadOnly
pub fn flip_x(&self) -> DomMatrix[src]
The flipX() method.
This API requires the following crate features to be activated: DomMatrix, DomMatrixReadOnly
pub fn flip_y(&self) -> DomMatrix[src]
The flipY() method.
This API requires the following crate features to be activated: DomMatrix, DomMatrixReadOnly
pub fn inverse(&self) -> DomMatrix[src]
The inverse() method.
This API requires the following crate features to be activated: DomMatrix, DomMatrixReadOnly
pub fn multiply(&self, other: &DomMatrix) -> DomMatrix[src]
The multiply() method.
This API requires the following crate features to be activated: DomMatrix, DomMatrixReadOnly
pub fn rotate(&self, angle: f64) -> DomMatrix[src]
The rotate() method.
This API requires the following crate features to be activated: DomMatrix, DomMatrixReadOnly
pub fn rotate_with_origin_x(&self, angle: f64, origin_x: f64) -> DomMatrix[src]
The rotate() method.
This API requires the following crate features to be activated: DomMatrix, DomMatrixReadOnly
pub fn rotate_with_origin_x_and_origin_y(
&self,
angle: f64,
origin_x: f64,
origin_y: f64
) -> DomMatrix[src]
&self,
angle: f64,
origin_x: f64,
origin_y: f64
) -> DomMatrix
The rotate() method.
This API requires the following crate features to be activated: DomMatrix, DomMatrixReadOnly
pub fn rotate_axis_angle(&self, x: f64, y: f64, z: f64, angle: f64) -> DomMatrix[src]
The rotateAxisAngle() method.
This API requires the following crate features to be activated: DomMatrix, DomMatrixReadOnly
pub fn rotate_from_vector(&self, x: f64, y: f64) -> DomMatrix[src]
The rotateFromVector() method.
This API requires the following crate features to be activated: DomMatrix, DomMatrixReadOnly
pub fn scale(&self, scale: f64) -> DomMatrix[src]
The scale() method.
This API requires the following crate features to be activated: DomMatrix, DomMatrixReadOnly
pub fn scale_with_origin_x(&self, scale: f64, origin_x: f64) -> DomMatrix[src]
The scale() method.
This API requires the following crate features to be activated: DomMatrix, DomMatrixReadOnly
pub fn scale_with_origin_x_and_origin_y(
&self,
scale: f64,
origin_x: f64,
origin_y: f64
) -> DomMatrix[src]
&self,
scale: f64,
origin_x: f64,
origin_y: f64
) -> DomMatrix
The scale() method.
This API requires the following crate features to be activated: DomMatrix, DomMatrixReadOnly
pub fn scale3d(&self, scale: f64) -> DomMatrix[src]
The scale3d() method.
This API requires the following crate features to be activated: DomMatrix, DomMatrixReadOnly
pub fn scale3d_with_origin_x(&self, scale: f64, origin_x: f64) -> DomMatrix[src]
The scale3d() method.
This API requires the following crate features to be activated: DomMatrix, DomMatrixReadOnly
pub fn scale3d_with_origin_x_and_origin_y(
&self,
scale: f64,
origin_x: f64,
origin_y: f64
) -> DomMatrix[src]
&self,
scale: f64,
origin_x: f64,
origin_y: f64
) -> DomMatrix
The scale3d() method.
This API requires the following crate features to be activated: DomMatrix, DomMatrixReadOnly
pub fn scale3d_with_origin_x_and_origin_y_and_origin_z(
&self,
scale: f64,
origin_x: f64,
origin_y: f64,
origin_z: f64
) -> DomMatrix[src]
&self,
scale: f64,
origin_x: f64,
origin_y: f64,
origin_z: f64
) -> DomMatrix
The scale3d() method.
This API requires the following crate features to be activated: DomMatrix, DomMatrixReadOnly
pub fn scale_non_uniform(&self, scale_x: f64) -> DomMatrix[src]
The scaleNonUniform() method.
This API requires the following crate features to be activated: DomMatrix, DomMatrixReadOnly
pub fn scale_non_uniform_with_scale_y(
&self,
scale_x: f64,
scale_y: f64
) -> DomMatrix[src]
&self,
scale_x: f64,
scale_y: f64
) -> DomMatrix
The scaleNonUniform() method.
This API requires the following crate features to be activated: DomMatrix, DomMatrixReadOnly
pub fn scale_non_uniform_with_scale_y_and_scale_z(
&self,
scale_x: f64,
scale_y: f64,
scale_z: f64
) -> DomMatrix[src]
&self,
scale_x: f64,
scale_y: f64,
scale_z: f64
) -> DomMatrix
The scaleNonUniform() method.
This API requires the following crate features to be activated: DomMatrix, DomMatrixReadOnly
pub fn scale_non_uniform_with_scale_y_and_scale_z_and_origin_x(
&self,
scale_x: f64,
scale_y: f64,
scale_z: f64,
origin_x: f64
) -> DomMatrix[src]
&self,
scale_x: f64,
scale_y: f64,
scale_z: f64,
origin_x: f64
) -> DomMatrix
The scaleNonUniform() method.
This API requires the following crate features to be activated: DomMatrix, DomMatrixReadOnly
pub fn scale_non_uniform_with_scale_y_and_scale_z_and_origin_x_and_origin_y(
&self,
scale_x: f64,
scale_y: f64,
scale_z: f64,
origin_x: f64,
origin_y: f64
) -> DomMatrix[src]
&self,
scale_x: f64,
scale_y: f64,
scale_z: f64,
origin_x: f64,
origin_y: f64
) -> DomMatrix
The scaleNonUniform() method.
This API requires the following crate features to be activated: DomMatrix, DomMatrixReadOnly
pub fn scale_non_uniform_with_scale_y_and_scale_z_and_origin_x_and_origin_y_and_origin_z(
&self,
scale_x: f64,
scale_y: f64,
scale_z: f64,
origin_x: f64,
origin_y: f64,
origin_z: f64
) -> DomMatrix[src]
&self,
scale_x: f64,
scale_y: f64,
scale_z: f64,
origin_x: f64,
origin_y: f64,
origin_z: f64
) -> DomMatrix
The scaleNonUniform() method.
This API requires the following crate features to be activated: DomMatrix, DomMatrixReadOnly
pub fn skew_x(&self, sx: f64) -> DomMatrix[src]
The skewX() method.
This API requires the following crate features to be activated: DomMatrix, DomMatrixReadOnly
pub fn skew_y(&self, sy: f64) -> DomMatrix[src]
The skewY() method.
This API requires the following crate features to be activated: DomMatrix, DomMatrixReadOnly
pub fn to_float32_array(&self) -> Result<Vec<f32>, JsValue>[src]
The toFloat32Array() method.
This API requires the following crate features to be activated: DomMatrixReadOnly
pub fn to_float64_array(&self) -> Result<Vec<f64>, JsValue>[src]
The toFloat64Array() method.
This API requires the following crate features to be activated: DomMatrixReadOnly
pub fn to_json(&self) -> Object[src]
The toJSON() method.
This API requires the following crate features to be activated: DomMatrixReadOnly
pub fn transform_point(&self) -> DomPoint[src]
The transformPoint() method.
This API requires the following crate features to be activated: DomMatrixReadOnly, DomPoint
pub fn transform_point_with_point(&self, point: &DomPointInit) -> DomPoint[src]
The transformPoint() method.
This API requires the following crate features to be activated: DomMatrixReadOnly, DomPoint, DomPointInit
pub fn translate(&self, tx: f64, ty: f64) -> DomMatrix[src]
The translate() method.
This API requires the following crate features to be activated: DomMatrix, DomMatrixReadOnly
pub fn translate_with_tz(&self, tx: f64, ty: f64, tz: f64) -> DomMatrix[src]
The translate() method.
This API requires the following crate features to be activated: DomMatrix, DomMatrixReadOnly
Trait Implementations
impl AsRef<DomMatrix> for DomMatrix[src]
impl AsRef<DomMatrix> for WebKitCssMatrix[src]
impl AsRef<DomMatrixReadOnly> for DomMatrix[src]
fn as_ref(&self) -> &DomMatrixReadOnly[src]
impl AsRef<JsValue> for DomMatrix[src]
impl AsRef<Object> for DomMatrix[src]
impl Clone for DomMatrix[src]
impl Debug for DomMatrix[src]
impl Deref for DomMatrix[src]
type Target = DomMatrixReadOnly
The resulting type after dereferencing.
fn deref(&self) -> &DomMatrixReadOnly[src]
impl Eq for DomMatrix[src]
impl From<DomMatrix> for JsValue[src]
impl From<DomMatrix> for DomMatrixReadOnly[src]
fn from(obj: DomMatrix) -> DomMatrixReadOnly[src]
impl From<DomMatrix> for Object[src]
impl From<JsValue> for DomMatrix[src]
impl From<WebKitCssMatrix> for DomMatrix[src]
fn from(obj: WebKitCssMatrix) -> DomMatrix[src]
impl FromWasmAbi for DomMatrix[src]
type Abi = <JsValue as FromWasmAbi>::Abi
The wasm ABI type that this converts from when coming back out from the ABI boundary. Read more
unsafe fn from_abi(js: Self::Abi) -> Self[src]
impl IntoWasmAbi for DomMatrix[src]
type Abi = <JsValue as IntoWasmAbi>::Abi
The wasm ABI type that this converts into when crossing the ABI boundary. Read more
fn into_abi(self) -> Self::Abi[src]
impl<'a> IntoWasmAbi for &'a DomMatrix[src]
type Abi = <&'a JsValue as IntoWasmAbi>::Abi
The wasm ABI type that this converts into when crossing the ABI boundary. Read more
fn into_abi(self) -> Self::Abi[src]
impl JsCast for DomMatrix[src]
fn instanceof(val: &JsValue) -> bool[src]
fn unchecked_from_js(val: JsValue) -> Self[src]
fn unchecked_from_js_ref(val: &JsValue) -> &Self[src]
fn has_type<T>(&self) -> bool where
T: JsCast, [src]
T: JsCast,
fn dyn_into<T>(self) -> Result<T, Self> where
T: JsCast, [src]
T: JsCast,
fn dyn_ref<T>(&self) -> Option<&T> where
T: JsCast, [src]
T: JsCast,
fn unchecked_into<T>(self) -> T where
T: JsCast, [src]
T: JsCast,
fn unchecked_ref<T>(&self) -> &T where
T: JsCast, [src]
T: JsCast,
fn is_instance_of<T>(&self) -> bool where
T: JsCast, [src]
T: JsCast,
fn is_type_of(val: &JsValue) -> bool[src]
impl OptionFromWasmAbi for DomMatrix[src]
impl OptionIntoWasmAbi for DomMatrix[src]
impl<'a> OptionIntoWasmAbi for &'a DomMatrix[src]
impl PartialEq<DomMatrix> for DomMatrix[src]
impl RefFromWasmAbi for DomMatrix[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
The wasm ABI type references to Self are recovered from.
type Anchor = ManuallyDrop<DomMatrix>
The type that holds the reference to Self for the duration of the invocation of the function that has an &Self parameter. This is required to ensure that the lifetimes don't persist beyond one function call, and so that they remain anonymous. Read more
unsafe fn ref_from_abi(js: Self::Abi) -> Self::Anchor[src]
impl StructuralEq for DomMatrix[src]
impl StructuralPartialEq for DomMatrix[src]
impl WasmDescribe for DomMatrix[src]
Auto Trait Implementations
impl RefUnwindSafe for DomMatrix
impl !Send for DomMatrix
impl !Sync for DomMatrix
impl Unpin for DomMatrix
impl UnwindSafe for DomMatrix
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ReturnWasmAbi for T where
T: IntoWasmAbi, [src]
T: IntoWasmAbi,
type Abi = <T as IntoWasmAbi>::Abi
Same as IntoWasmAbi::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi[src]
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,