Struct lyon_algorithms::hatching::RegularDotPattern [−][src]
pub struct RegularDotPattern<Cb: FnMut(&Dot)> {
pub column_interval: f32,
pub row_interval: f32,
pub callback: Cb,
}
Expand description
A DotBuilder
implementation for dot patterns with constant intervals.
Fields
column_interval: f32
Minimum distance between dots in a given column.
row_interval: f32
Minimum distance between dots in a given row.
callback: Cb
A callback invoked for each dot.
Trait Implementations
Whether and how much to align the dots for a given row.
Called for each row of dots.
Distance between each dot in a given row.
Offset of the first dot after a left edge.