Interface IHighlight

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.awt.geom.Rectangle2D getRectangle()
      The outer bounding box of the highlight
      com.google.common.base.Optional<java.lang.String> getTooltip()
      Return the tooltip for this highlight, if applicable
      boolean isZoomed()
      If this is true, the highlight's rectangle needs to be adjusted for zoom level in order to be accurate in 2d space.
      void paint​(DesignPanel panel, java.awt.Graphics2D g)
      Paint this highlight
    • Method Detail

      • getRectangle

        java.awt.geom.Rectangle2D getRectangle()
        The outer bounding box of the highlight
      • paint

        void paint​(DesignPanel panel,
                   java.awt.Graphics2D g)
        Paint this highlight
      • isZoomed

        boolean isZoomed()
        If this is true, the highlight's rectangle needs to be adjusted for zoom level in order to be accurate in 2d space. Otherwise the rectangle is already in 2d space
      • getTooltip

        com.google.common.base.Optional<java.lang.String> getTooltip()
        Return the tooltip for this highlight, if applicable