java.lang.Object
com.inductiveautomation.ignition.designer.designable.highlights.AbstractMultipassHighlight
com.inductiveautomation.ignition.designer.designable.highlights.RectangularHighlight
All Implemented Interfaces:
IHighlight
Direct Known Subclasses:
ExpandedGroupHighlight, ItemSelectionHighlight, SelectionMarqueeHighlight

public class RectangularHighlight extends AbstractMultipassHighlight implements IHighlight
  • Field Details

    • rectangle

      protected Rectangle2D rectangle
    • zoomed

      protected boolean zoomed
  • Constructor Details

    • RectangularHighlight

      public RectangularHighlight(Rectangle2D rectangle, boolean zoomed, Color strokeColor, Stroke stroke)
  • Method Details

    • isZoomed

      public boolean isZoomed()
      Description copied from interface: IHighlight
      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
      Specified by:
      isZoomed in interface IHighlight
    • getRectangle

      public Rectangle2D getRectangle()
      Description copied from interface: IHighlight
      The outer bounding box of the highlight
      Specified by:
      getRectangle in interface IHighlight
    • setRectangle

      public void setRectangle(Rectangle2D rectangle)
    • getShape

      protected final Shape getShape(DesignPanel panel)
      Specified by:
      getShape in class AbstractMultipassHighlight
    • getTooltip

      public com.google.common.base.Optional<String> getTooltip()
      Description copied from interface: IHighlight
      Return the tooltip for this highlight, if applicable
      Specified by:
      getTooltip in interface IHighlight