[−][src]Trait sfml_rust::canvas::Drawable
A drawable object can be passed into a CanvasFrame to be rendered Allows Texture or Image drawing via their handles
A drawable object can be passed into a CanvasFrame to be rendered Allows Texture or Image drawing via their handles
fn get_vertices(&self) -> Vec<(f32, f32)>
fn get_color(&self) -> (f32, f32, f32, f32)
fn get_texture_handle(&self) -> Option<Arc<CanvasTextureHandle>>
fn get_image_handle(&self) -> Option<Arc<CanvasImageHandle>>
impl Drawable for CompuSprite
[src]fn get_vertices(&self) -> Vec<(f32, f32)>
[src]fn get_color(&self) -> (f32, f32, f32, f32)
[src]fn get_texture_handle(&self) -> Option<Arc<CanvasTextureHandle>>
[src]fn get_image_handle(&self) -> Option<Arc<CanvasImageHandle>>
[src]impl Drawable for Sprite
[src]fn get_vertices(&self) -> Vec<(f32, f32)>
[src]fn get_color(&self) -> (f32, f32, f32, f32)
[src]fn get_texture_handle(&self) -> Option<Arc<CanvasTextureHandle>>
[src]fn get_image_handle(&self) -> Option<Arc<CanvasImageHandle>>
[src]