Struct ggez::graphics::Text [] [src]

pub struct Text { /* fields omitted */ }

Drawable text created from a Font.

Methods

impl Text
[src]

Renders a new Text from the given Font

Returns the width of the rendered text, in pixels.

Returns the height of the rendered text, in pixels.

Returns the string that the text represents.

Returns the dimensions of the rendered text.

Get the filter mode for the the rendered text.

Set the filter mode for the the rendered text.

Trait Implementations

impl Clone for Text
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Drawable for Text
[src]

Actually draws the object to the screen. Read more

Draws the drawable onto the rendering target. Read more

impl Debug for Text
[src]

Formats the value using the given formatter.