Class Style

    • Constructor Summary

      Constructors 
      Constructor Description
      Style()
      Creates a new Style object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      float getRotation()
      Gets the rotation of a marker in degrees clockwise about the marker's anchor
      void setLineStringWidth​(float width)
      Sets the width of the LineString in screen pixels
      void setMarkerHotSpot​(float x, float y, java.lang.String xUnits, java.lang.String yUnits)
      Sets the hotspot / anchor point of a marker
      void setMarkerRotation​(float rotation)
      Sets the rotation / heading of the Point in degrees clockwise about the marker's anchor
      void setPolygonFillColor​(int fillColor)
      Sets the fill color of the Polygon as a 32-bit ARGB color
      void setPolygonStrokeWidth​(float strokeWidth)
      Sets the stroke width of the Polygon in screen pixels
      • Methods inherited from class java.util.Observable

        addObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Style

        public Style()
        Creates a new Style object
    • Method Detail

      • getRotation

        public float getRotation()
        Gets the rotation of a marker in degrees clockwise about the marker's anchor
        Returns:
        rotation of the Point
      • setMarkerRotation

        public void setMarkerRotation​(float rotation)
        Sets the rotation / heading of the Point in degrees clockwise about the marker's anchor
        Parameters:
        rotation - Decimal representation of the rotation value of the Point
      • setMarkerHotSpot

        public void setMarkerHotSpot​(float x,
                                     float y,
                                     java.lang.String xUnits,
                                     java.lang.String yUnits)
        Sets the hotspot / anchor point of a marker
        Parameters:
        x - x point of a marker position
        y - y point of a marker position
        xUnits - units in which the x value is specified
        yUnits - units in which the y value is specified
      • setLineStringWidth

        public void setLineStringWidth​(float width)
        Sets the width of the LineString in screen pixels
        Parameters:
        width - width value of the LineString
      • setPolygonStrokeWidth

        public void setPolygonStrokeWidth​(float strokeWidth)
        Sets the stroke width of the Polygon in screen pixels
        Parameters:
        strokeWidth - stroke width value of the Polygon
      • setPolygonFillColor

        public void setPolygonFillColor​(int fillColor)
        Sets the fill color of the Polygon as a 32-bit ARGB color
        Parameters:
        fillColor - fill color value of the Polygon