public void setPolygonPaint(Paint polygonPaint) {
        if (polygonPaint == null) {
            throw new AssertionError("Polygon Paint can not be null");
        }
        this.polygonPaint = polygonPaint;
        setPolygonStrokeWidth(polygonPaint.getStrokeWidth());
    }
public void setPolygonPaint(Paint polygonPaint) {
        if (polygonPaint == null) {
            throw new AssertionError("Polygon Paint can not be null");
        }
        this.polygonPaint = polygonPaint;
        setPolygonStrokeWidth(polygonPaint.getStrokeWidth());
    }
public void setPolygonPaint ( Paint polygonPaint ) { if ( polygonPaint == null ) { throw new AssertionError ( "Polygon Paint can not be null" ) ; } this . polygonPaint = polygonPaint ; setPolygonStrokeWidth ( polygonPaint . getStrokeWidth ( ) ) ; }
Set the polygon paint

@param polygonPaint polygon paint
Set the polygon paint