com.partnersoft.formats.google
Class GoogleMapPolygon

java.lang.Object
  extended by com.partnersoft.formats.google.GoogleMapPolyline
      extended by com.partnersoft.formats.google.GoogleMapPolygon

public class GoogleMapPolygon
extends GoogleMapPolyline

Data for a Google map polygon.

Copyright 2009 Partner Software, Inc.

Version:
$Id$
Author:
Rich Stepanski

Constructor Summary
GoogleMapPolygon()
          Empty constructor.
GoogleMapPolygon(java.lang.String lineColor, XyPolyline line, int lineWidth, double lineOpacity, java.lang.String fillColor, double fillOpacity)
          Creates a new GoogleMapPolygon.
 
Method Summary
 java.lang.String getFillColor()
           
 double getFillOpacity()
           
 void setFillColor(java.lang.String fillColor)
           
 void setFillOpacity(double fillOpacity)
          Fill Opacity for polygon, should be between 0 and 1.
 
Methods inherited from class com.partnersoft.formats.google.GoogleMapPolyline
getLine, getLineColor, getLineOpacity, getLineWidth, setLine, setLineColor, setLineOpacity, setLineWidth
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GoogleMapPolygon

public GoogleMapPolygon()
Empty constructor.


GoogleMapPolygon

public GoogleMapPolygon(java.lang.String lineColor,
                        XyPolyline line,
                        int lineWidth,
                        double lineOpacity,
                        java.lang.String fillColor,
                        double fillOpacity)
Creates a new GoogleMapPolygon.

Parameters:
lineColor -
line -
lineWidth -
lineOpacity -
Method Detail

getFillColor

public java.lang.String getFillColor()
Returns:
the fillColor

setFillColor

public void setFillColor(java.lang.String fillColor)
Parameters:
fillColor - the fillColor to set

getFillOpacity

public double getFillOpacity()
Returns:
the fillOpacity

setFillOpacity

public void setFillOpacity(double fillOpacity)
Fill Opacity for polygon, should be between 0 and 1. If greater than 1, opacity is treated as a percentage between 0 and 100.

Parameters:
fillOpacity - the fillOpacity to set