Type Alias ImageMode

Source
pub type ImageMode = DrawMode;
Expand description

Drawing mode which determines how (x, y) coordinates are interpreted when drawing Images.

Aliased Type§

pub enum ImageMode {
    Corner,
    Center,
}

Variants§

§

Corner

Use (x, y) as the top-left corner. Default.

§

Center

Use (x, y) as the center.