[−][src]Trait lyon_algorithms::hatching::HatchBuilder
The output of Hatcher::hatch_path
.
Implement this trait to create custom hatching patterns.
Required methods
fn add_segment(&mut self, segment: &HatchSegment)
Called for each hatch segment.
fn next_offset(&mut self, row_idx: u32) -> f32
Specifies the distance between each row of the pattern.