notifyAddPainter method
Implementation
void notifyAddPainter(CPO painter) {
_commitLayerAdded(painter);
painter.addListener(_onSubPainterChanged);
notifyListeners(); // 结构变动,也触发重绘
}
void notifyAddPainter(CPO painter) {
_commitLayerAdded(painter);
painter.addListener(_onSubPainterChanged);
notifyListeners(); // 结构变动,也触发重绘
}