[−][src]Trait plotters::prelude::AsRelative
Allows a value turns into a relative size
Provided methods
fn percent_width(self) -> RelativeSize
Make the value a relative size of percentage of width
fn percent_height(self) -> RelativeSize
Make the value a relative size of percentage of height
fn percent(self) -> RelativeSize
Make the value a relative size of percentage of minimal of height and width