Type Alias pix_engine::state::settings::ImageMode

source ·
pub type ImageMode = DrawMode;
Expand description

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

Aliased Type§

enum ImageMode {
    Corner,
    Center,
}

Variants§

§

Corner

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

§

Center

Use (x, y) as the center.