Trait pixel_engine_draw::traits::DottedShapeTrait
source · pub trait DottedShapeTrait: SmartDrawingTrait {
fn draw_line_dotted<P: Into<Vi2d>>(
&mut self,
p1: P,
p2: P,
col: Color,
pattern: u32
) { ... }
fn draw_rect_dotted<P: Into<Vi2d>>(
&mut self,
pos: P,
size: P,
col: Color,
pattern: u32
) { ... }
fn draw_triangle_dotted<P: Into<Vi2d>>(
&mut self,
pts1: P,
pts2: P,
pts3: P,
col: Color,
pattern: u32
) { ... }
}
Provided Methods
sourcefn draw_line_dotted<P: Into<Vi2d>>(
&mut self,
p1: P,
p2: P,
col: Color,
pattern: u32
)
fn draw_line_dotted<P: Into<Vi2d>>(
&mut self,
p1: P,
p2: P,
col: Color,
pattern: u32
)
Draw a dotted line