Trait pixel_engine::traits::DottedShapeTrait
source · 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§
sourcefn draw_line_dotted<P>(&mut self, p1: P, p2: P, col: Color, pattern: u32)where
P: Into<Vec2d<i32>>,
fn draw_line_dotted<P>(&mut self, p1: P, p2: P, col: Color, pattern: u32)where
P: Into<Vec2d<i32>>,
Draw a dotted line