[][src]Trait valora::transforms::Scale

pub trait Scale {
    fn scale(self, factor: f32) -> Self;
}

A trait for types which can change their scale.

Required methods

fn scale(self, factor: f32) -> Self

Scales the type by the given factor against a default anchor point.

Loading content...

Implementors

impl Scale for Ellipse[src]

impl Scale for Ngon[src]

impl Scale for Polygon[src]

impl Scale for Rect[src]

Loading content...