Type Definition graphics::types::Rectangle [] [src]

type Rectangle<T = Scalar> = [T; 4];

Rectangle dimensions: [x, y, w, h]

Trait Implementations

impl Rectangled for Rectangle
[src]

[src]

Shrinks the current rectangle equally by all sides.

[src]

Moves to a relative rectangle using the current rectangle as tile.

[src]

Expands the current rectangle equally by all sides.