public void setDensity(float density) {
        this.density = density;
        linePaint.setStrokeWidth(this.density * lineStrokeWidth);
        polygonPaint.setStrokeWidth(this.density * polygonStrokeWidth);
        featurePaintCache.clear();
    }
public void setDensity(float density) {
        this.density = density;
        linePaint.setStrokeWidth(this.density * lineStrokeWidth);
        polygonPaint.setStrokeWidth(this.density * polygonStrokeWidth);
        featurePaintCache.clear();
    }
public void setDensity ( float density ) { this . density = density ; linePaint . setStrokeWidth ( this . density * lineStrokeWidth ) ; polygonPaint . setStrokeWidth ( this . density * polygonStrokeWidth ) ; featurePaintCache . clear ( ) ; }
Set the density

@param density density
@since 3.2.0
Set the density