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