Struct imgui::Image[][src]

#[must_use]
pub struct Image<'ui> { /* fields omitted */ }

Represent an image about to be drawn. See Ui::image.

Create your image using the builder pattern then Image::build it.

Methods

impl<'ui> Image<'ui>
[src]

Set size (default based on texture)

Set uv0 (default [0.0, 0.0])

Set uv1 (default [1.0, 1.0])

Set tint color (default: no tint color)

Set border color (default: no border)

Draw image where the cursor currently is

Auto Trait Implementations

impl<'ui> Send for Image<'ui>

impl<'ui> Sync for Image<'ui>