Struct imgui::draw_list::ImageQuad [−][src]
pub struct ImageQuad<'ui> { /* fields omitted */ }
Expand description
Represents a image about to be drawn
Implementations
Typically constructed by DrawListMut::add_image_quad
Set uv coordinates of each point of the quad. If not called, defaults are:
uv1: [0.0, 0.0],
uv2: [1, 0],
uv3: [1, 1],
uv4: [0, 1],
Set color tint (default: no tint/white [1.0, 1.0, 1.0, 1.0]
)