Type Alias pix_engine::state::settings::RectMode

source ·
pub type RectMode = DrawMode;
Expand description

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

Aliased Type§

enum RectMode {
    Corner,
    Center,
}

Variants§

§

Corner

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

§

Center

Use (x, y) as the center.