Class ObjectLocationsOverlayFromReport

    • Field Detail

      • m_Filled

        protected boolean m_Filled
        whether to draw the shape filled.
      • m_PolygonBounds

        protected boolean m_PolygonBounds
        whether to draw the bounds of the polygon as well.
      • m_StrokeThickness

        protected float m_StrokeThickness
        the thickness of the stroke.
    • Constructor Detail

      • ObjectLocationsOverlayFromReport

        public ObjectLocationsOverlayFromReport()
    • Method Detail

      • setFilled

        public void setFilled​(boolean value)
        Sets whether to draw the shape filled.
        Parameters:
        value - true if to fill
      • getFilled

        public boolean getFilled()
        Returns whether to draw the shape filled.
        Returns:
        true if to fill
      • filledTipText

        public String filledTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setPolygonBounds

        public void setPolygonBounds​(boolean value)
        Sets whether to draw the polygon bounds.
        Parameters:
        value - true if to draw bounds
      • getPolygonBounds

        public boolean getPolygonBounds()
        Returns whether to draw the polygon bounds.
        Returns:
        true if to draw bounds
      • polygonBoundsTipText

        public String polygonBoundsTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setStrokeThickness

        public void setStrokeThickness​(float value)
        Sets the stroke thickness to use.
        Parameters:
        value - the thickness
      • getStrokeThickness

        public float getStrokeThickness()
        Returns the current stroke thickness.
        Returns:
        the thickness
      • strokeThicknessTipText

        public String strokeThicknessTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • getStrokeWidth

        protected float getStrokeWidth​(Graphics g,
                                       float defValue)
        Returns the thickness of the stroke.
        Parameters:
        g - graphics context to get the thickness from
        defValue - the default value to return in case of failure
        Returns:
        the stroke, default value if failed to extract
      • applyStroke

        protected void applyStroke​(Graphics g,
                                   float stroke)
        Applies the stroke thickness.
        Parameters:
        stroke - the thickness to apply