public static final PolygonOptions buildClosedArc ( LatLong center , LatLong start , LatLong end , ArcType arcType ) { MVCArray res = buildArcPoints ( center , start , end ) ; if ( ArcType . ROUND . equals ( arcType ) ) { res . push ( center ) ; } return new PolygonOptions ( ) . paths ( res ) ; }
Builds the path for a closed arc returning a PolygonOptions that can be further customised before use .