[−][src]Trait silver_animation::AnimationShape
This is trait used to define the location and the size of an animation This way you can base your animations of Rectangles, Circles, etc
This is trait used to define the location and the size of an animation This way you can base your animations of Rectangles, Circles, etc
pub fn get_size(&self) -> Size
[src]pub fn get_location(&self) -> Vector
[src]pub fn set_size(&mut self, size: Size)
[src]pub fn set_location(&mut self, location: Vector)
[src]pub fn get_both(&self) -> Self
[src]impl AnimationShape<Vector> for Rectangle
[src]pub fn get_size(&self) -> Vector
[src]pub fn get_location(&self) -> Vector
[src]pub fn set_size(&mut self, size: Vector)
[src]pub fn set_location(&mut self, location: Vector)
[src]pub fn get_both(&self) -> Self
[src]impl AnimationShape<f32> for Circle
[src]pub fn get_size(&self) -> f32
[src]pub fn get_location(&self) -> Vector
[src]pub fn set_size(&mut self, size: f32)
[src]pub fn set_location(&mut self, location: Vector)
[src]pub fn get_both(&self) -> Self
[src]