initPaintMixin method

void initPaintMixin(
  1. int strokeMinZoomLevel
)
inherited

Implementation

void initPaintMixin(int strokeMinZoomLevel) {
  this._strokeMinZoomLevel = strokeMinZoomLevel;
  this._stroke = GraphicFactory().createPaint();
  this._stroke.setColor(Colors.black);
  this._stroke.setStyle(Style.STROKE);
  this._stroke.setStrokeWidth(1);
  this._stroke.setStrokeCap(Cap.ROUND);
  this._stroke.setStrokeJoin(Join.ROUND);

  this._fill = GraphicFactory().createPaint();
  this._fill.setColor(Colors.black);
  this._fill.setStyle(Style.FILL);
  this._fill.setStrokeCap(Cap.ROUND);
}