public class PolygonDrawable extends JtsDrawable
coordFactory, geometry, geomFactory, style| Constructor and Description |
|---|
PolygonDrawable(com.vividsolutions.jts.geom.Geometry polygon,
Style style)
Creates a polygon using a JTS geometry and a FillableGeometryStyle
|
PolygonDrawable(org.oscim.core.GeoPoint[] points,
org.oscim.core.GeoPoint[] holePoints,
float lineWidth,
int lineColor,
int fillColor,
float fillAlpha)
Create a polygon given the array of GeoPoints for the boundary, the array
of GeoPoints for the hole and outline and fill color and alpha
|
PolygonDrawable(java.util.List<org.oscim.core.GeoPoint> points)
Creates a polygon using the coordinates provided in the List
|
PolygonDrawable(java.util.List<org.oscim.core.GeoPoint> points,
java.util.List<org.oscim.core.GeoPoint> holePoints,
float lineWidth,
int lineColor,
int fillColor,
float fillAlpha)
Create a polygon using the Coordinates provided in the first List, with a
hole build from the Coordinates in the second List and outline and fill -
color and alpha
|
PolygonDrawable(java.util.List<org.oscim.core.GeoPoint> points,
java.util.List<org.oscim.core.GeoPoint> holePoints,
Style style)
Creates a polygon from a List of coordinates in the first List, with a
hole from coordinates in the second List and requires a
FillableGeometryStyle for the color information
|
PolygonDrawable(java.util.List<org.oscim.core.GeoPoint> points,
Style style) |
PolygonDrawable(Style style,
org.oscim.core.GeoPoint... points)
Create a polygon given the array of GeoPoints and a FillableGeometryStyle
|
getGeometry, getStyle, loadPoints, setStylepublic PolygonDrawable(com.vividsolutions.jts.geom.Geometry polygon,
Style style)
polygon - style - public PolygonDrawable(java.util.List<org.oscim.core.GeoPoint> points)
points - public PolygonDrawable(Style style, org.oscim.core.GeoPoint... points)
points - style - public PolygonDrawable(java.util.List<org.oscim.core.GeoPoint> points,
Style style)
points - style - public PolygonDrawable(org.oscim.core.GeoPoint[] points,
org.oscim.core.GeoPoint[] holePoints,
float lineWidth,
int lineColor,
int fillColor,
float fillAlpha)
points - holePoints - outlineColor - outlineAlpha - fillColor - fillAlpha - public PolygonDrawable(java.util.List<org.oscim.core.GeoPoint> points,
java.util.List<org.oscim.core.GeoPoint> holePoints,
float lineWidth,
int lineColor,
int fillColor,
float fillAlpha)
points - holePoints - outlineColor - outlineAlpha - fillColor - fillAlpha - public PolygonDrawable(java.util.List<org.oscim.core.GeoPoint> points,
java.util.List<org.oscim.core.GeoPoint> holePoints,
Style style)
points - holePoints - style -