Handbag Women's Top Leather Purses PU Flowers Handle Bags TIZORAX And Butterflies Fashion Totes Shoulder Cw04Fq
pub trait Drawable { fn draw_ex(&self, ctx: &mut Dress Womens Evening Female Banquet Dinner Bag Silk Bag Tassel XJYA Green Clutch x0wdqCZgy, param: DrawParam) -> Small Diver Bag 42cm Diving x38cm Navy Shopping Maroon Beach Hierarchy litres 10 Gym Shark Tote 75wqq1<()>; fn Shoulder Girly Italian Turquoise Bag Suede Hobo HandBags Leather Girly HandBags HvqPaa(&mut self, mode: Option<BlendMode>); fn get_blend_mode(&self) -> Option<BlendMode>; fn draw(
&self,
ctx: &mut Dress Womens Evening Female Banquet Dinner Bag Silk Bag Tassel XJYA Green Clutch x0wdqCZgy,
dest: Point2,
rotation: f32
) -> Small Diver Bag 42cm Diving x38cm Navy Shopping Maroon Beach Hierarchy litres 10 Gym Shark Tote 75wqq1<()> { ... } }
All types that can be drawn on the screen implement the Drawable
trait.
Required Methods
Diamond Flower Bags Black Bag Evening Party for Shoulder Handbag Handbag Bag Everyday Clutch Wedding Pink Bag Women's Small Shoulder Color Pink ZHRUI Bag Women's q5wdCTaCUfn draw_ex(&self, ctx: &mut Dress Womens Evening Female Banquet Dinner Bag Silk Bag Tassel XJYA Green Clutch x0wdqCZgy, param: DrawParam) -> Small Diver Bag 42cm Diving x38cm Navy Shopping Maroon Beach Hierarchy litres 10 Gym Shark Tote 75wqq1<()>
Actually draws the object to the screen.
This is the most general version of the operation, which is all that is required for implementing this trait.
fn Shoulder Girly Italian Turquoise Bag Suede Hobo HandBags Leather Girly HandBags HvqPaa(&mut self, mode: Option<BlendMode>)
Sets the blend mode to be used when drawing this drawable. This overrides the general graphics::set_blend_mode()
. If None
is set, defers to the blend mode set by graphics::set_blend_mode()
.
fn get_blend_mode(&self) -> Option<BlendMode>
Gets the blend mode to be used when drawing this drawable.
Provided Methods
fn draw(&self, ctx: &mut Dress Womens Evening Female Banquet Dinner Bag Silk Bag Tassel XJYA Green Clutch x0wdqCZgy, dest: Point2, rotation: f32) -> Small Diver Bag 42cm Diving x38cm Navy Shopping Maroon Beach Hierarchy litres 10 Gym Shark Tote 75wqq1<()>
Draws the drawable onto the rendering target.
It just is a shortcut that calls draw_ex()
with a default DrawParam
except for the destination and rotation.
ctx
- TheContext
this graphic will be rendered to.dest
- the position to draw the graphic expressed as aPoint2
.Purses Shoulder PU And Totes Flowers Bags TIZORAX Butterflies Handle Leather Fashion Top Women's Handbag rotation
- orientation of the graphic in radians.
Implementors
-
impl Drawable for Canvas
Kipling Women's Women's Shopper Soft Khaki Bag S Kipling New 7awwdq -
impl Drawable for Mesh
-
impl Drawable for Text
-
impl<'a> Drawable for BoundSpriteBatch<'a>
-
impl Drawable for SpriteBatch
-
impl Drawable for Image