pub trait DottedShapeTrait: SmartDrawingTrait {
    fn draw_line_dotted<P>(&mut self, p1: P, p2: P, col: Color, pattern: u32)
    where
        P: Into<Vec2d<i32>>
, { ... } fn draw_rect_dotted<P>(&mut self, pos: P, size: P, col: Color, pattern: u32)
    where
        P: Into<Vec2d<i32>>
, { ... } fn draw_triangle_dotted<P>(
        &mut self,
        pts1: P,
        pts2: P,
        pts3: P,
        col: Color,
        pattern: u32
    )
    where
        P: Into<Vec2d<i32>>
, { ... } }

Provided Methods§

Draw a dotted line

Draw a rectangle with the top left corner at (x, y) and the bottom right corner at (x + w, y + h) (both inclusive) This is the dotted form

Draw the edges of a triangle between the three points This is the dotted form

Implementors§