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

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

[x, y, w, h]

Trait Implementations

impl SourceRectangled for SourceRectangle
[src]

[src]

Adds a source rectangle.

[src]

Moves to a relative source rectangle using the current source rectangle as tile. Read more

[src]

Flips the source rectangle horizontally.

[src]

Flips the source rectangle vertically.

[src]

Flips the source rectangle horizontally and vertically.