Type Alias style::values::computed::transform::Matrix

source ·
pub type Matrix = Matrix<Number>;
Expand description

computed value of matrix()

Aliased Type§

struct Matrix {
    pub a: f32,
    pub b: f32,
    pub c: f32,
    pub d: f32,
    pub e: f32,
    pub f: f32,
}

Fields§

§a: f32§b: f32§c: f32§d: f32§e: f32§f: f32

Implementations§

source§

impl Matrix

source

pub fn identity() -> Self

Get an identity matrix

Trait Implementations§

source§

impl Animate for Matrix

source§

fn animate(&self, other: &Self, procedure: Procedure) -> Result<Self, ()>

Animate a value towards another one, given an animation procedure.