Type Definition graphics::types::SourceRectangle

source ·
pub type SourceRectangle<T = Scalar> = [T; 4];
Expand description

[x, y, w, h]

Trait Implementations

Adds a source rectangle.
Moves to a relative source rectangle using the current source rectangle as tile. Read more
Flips the source rectangle horizontally.
Flips the source rectangle vertically.
Flips the source rectangle horizontally and vertically.