Class RectangularHighlight
- 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 SummaryFields Modifier and Type Field Description protected java.awt.geom.Rectangle2Drectangleprotected booleanzoomed- 
Fields inherited from class com.inductiveautomation.ignition.designer.designable.highlights.AbstractMultipassHighlightDASHED_LINE, fillColor, stroke, strokeColor, THICK_LINE, THIN_LINE
 
- 
 - 
Constructor SummaryConstructors Constructor Description RectangularHighlight(java.awt.geom.Rectangle2D rectangle, boolean zoomed, java.awt.Color strokeColor, java.awt.Stroke stroke)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.geom.Rectangle2DgetRectangle()The outer bounding box of the highlightprotected java.awt.ShapegetShape(DesignPanel panel)com.google.common.base.Optional<java.lang.String>getTooltip()Return the tooltip for this highlight, if applicablebooleanisZoomed()If this is true, the highlight's rectangle needs to be adjusted for zoom level in order to be accurate in 2d space.voidsetRectangle(java.awt.geom.Rectangle2D rectangle)- 
Methods inherited from class com.inductiveautomation.ignition.designer.designable.highlights.AbstractMultipassHighlightgetFillColor, getFillPassCount, getFillXorColor, getStroke, getStrokeColor, getStrokePassCount, getStrokeXorColor, isFillXorMode, isStrokeXorMode, paint, setFillPass, setStrokePass
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com.inductiveautomation.ignition.designer.designable.highlights.IHighlightpaint
 
- 
 
- 
- 
- 
Method Detail- 
isZoomedpublic boolean isZoomed() Description copied from interface:IHighlightIf 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:
- isZoomedin interface- IHighlight
 
 - 
getRectanglepublic java.awt.geom.Rectangle2D getRectangle() Description copied from interface:IHighlightThe outer bounding box of the highlight- Specified by:
- getRectanglein interface- IHighlight
 
 - 
setRectanglepublic void setRectangle(java.awt.geom.Rectangle2D rectangle) 
 - 
getShapeprotected final java.awt.Shape getShape(DesignPanel panel) - Specified by:
- getShapein class- AbstractMultipassHighlight
 
 - 
getTooltippublic com.google.common.base.Optional<java.lang.String> getTooltip() Description copied from interface:IHighlightReturn the tooltip for this highlight, if applicable- Specified by:
- getTooltipin interface- IHighlight
 
 
- 
 
-