[−][src]Trait piston_window::Rectangled
Should be implemented by contexts that have rectangle information.
Required methods
pub fn margin(self, m: f64) -> Self
[src]
Shrinks the current rectangle equally by all sides.
pub fn rel(self, x: f64, y: f64) -> Self
[src]
Moves to a relative rectangle using the current rectangle as tile.