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.

Called for each dot.

Offset of the first dot after a left edge.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.