struct
Band
pub struct Band {
pub start: f32,
pub step: f32,
pub width: f32,
}Evenly sized positions along a length, for categories.
Fields
Methods
new
pub fn new(count: usize, range: (f32, f32), gap: f32) -> BandBands for count categories across range, with gap (a fraction of a band) between them.