Struct quicksilver::graphics::Draw[][src]

pub struct Draw { /* fields omitted */ }

A single drawable item, with a transform, a blend color, and a depth

Methods

impl Draw
[src]

Create a sprite with an image

Create a sprite from a given shape

Create a sprite with a point

Create a sprite with a rectangle

Create a sprite with a circle

Change the position of a sprite

Change the color of a sprite

Change the transform of a sprite

Change the depth of a sprite

Trait Implementations

impl Clone for Draw
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Draw
[src]

Formats the value using the given formatter. Read more

impl Drawable for Draw
[src]

Draw the object to the window

Auto Trait Implementations

impl !Send for Draw

impl !Sync for Draw