Back to project page android-open-street-map.
The source code is released under:
Apache License
If you think the Android project android-open-street-map listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.android.lib.map.osm.overlay; //w w w . j a v a 2 s . c om import java.util.List; import android.graphics.Paint; import android.graphics.Path; import com.android.lib.map.osm.GeoPoint; public class MapPolygon { private List<GeoPoint> mPolygon; private Paint mPaintStroke; private Paint mPaint; private Path mPath; public MapPolygon() { mPath = new Path(); } public void setPaintStroke(Paint paint) { mPaintStroke = paint; } public Paint getPaintStroke() { return mPaintStroke; } public void setPaint(Paint paint) { mPaint = paint; } public Paint getPaint() { return mPaint; } public void setPath(Path path) { mPath = path; } public Path getPath() { return mPath; } public void setPolygon(List<GeoPoint> polygon) { mPolygon = polygon; } public List<GeoPoint> getPolygon() { return mPolygon; } }