setPaint static method
dynamic
setPaint(
- dynamic paint,
- dynamic stroke
Implementation
static setPaint(paint, stroke) {
paint.color = stroke['color'];
paint.style = stroke['style'];
paint.strokeCap = stroke['strokeCap'];
paint.strokeJoin = stroke['strokeJoin'];
paint.strokeWidth = stroke['strokeWidth'];
}