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
- 
Field SummaryFieldsFields inherited from class com.inductiveautomation.ignition.designer.designable.highlights.AbstractMultipassHighlightDASHED_LINE, fillColor, stroke, strokeColor, THICK_LINE, THIN_LINE
- 
Constructor SummaryConstructorsConstructorDescriptionRectangularHighlight(Rectangle2D rectangle, boolean zoomed, Color strokeColor, Stroke stroke) 
- 
Method SummaryModifier and TypeMethodDescriptionThe outer bounding box of the highlightprotected final ShapegetShape(DesignPanel panel) com.google.common.base.Optional<String>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(Rectangle2D rectangle) Methods inherited from class com.inductiveautomation.ignition.designer.designable.highlights.AbstractMultipassHighlightgetFillColor, getFillPassCount, getFillXorColor, getStroke, getStrokeColor, getStrokePassCount, getStrokeXorColor, isFillXorMode, isStrokeXorMode, paint, setFillPass, setStrokePassMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.inductiveautomation.ignition.designer.designable.highlights.IHighlightpaint
- 
Field Details- 
rectangle
- 
zoomedprotected boolean zoomed
 
- 
- 
Constructor Details- 
RectangularHighlightpublic RectangularHighlight(Rectangle2D rectangle, boolean zoomed, Color strokeColor, Stroke stroke) 
 
- 
- 
Method Details- 
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
 
- 
getRectangleDescription copied from interface:IHighlightThe outer bounding box of the highlight- Specified by:
- getRectanglein interface- IHighlight
 
- 
setRectangle
- 
getShape- Specified by:
- getShapein class- AbstractMultipassHighlight
 
- 
getTooltipDescription copied from interface:IHighlightReturn the tooltip for this highlight, if applicable- Specified by:
- getTooltipin interface- IHighlight
 
 
-