switchPainterMode method
switch painter's style
- e.g. color、mosaic
Implementation
void switchPainterMode(DrawStyle style) {
if(lastDrawStyle == style) return;
changePainterColor(pColor);
painterController.drawStyle = style;
}
switch painter's style
void switchPainterMode(DrawStyle style) {
if(lastDrawStyle == style) return;
changePainterColor(pColor);
painterController.drawStyle = style;
}