Trait graphics::Rectangled
source · [−]pub trait Rectangled: Sized {
fn margin(self, m: Scalar) -> Self;
fn rel(self, x: Scalar, y: Scalar) -> Self;
fn expand(self, m: Scalar) -> Self { ... }
}
Expand description
Should be implemented by contexts that have rectangle information.