Skip to main content

set_shape

Function set_shape 

Source
pub fn set_shape(
    lines: &[Vec<Segment>],
    width: usize,
    height: usize,
    _style: Option<&Style>,
) -> Vec<Vec<Segment>>
Expand description

Set segments to an exact width and height, padding/truncating as needed.