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 Summary
FieldsFields inherited from class com.inductiveautomation.ignition.designer.designable.highlights.AbstractMultipassHighlight
DASHED_LINE, fillColor, stroke, strokeColor, THICK_LINE, THIN_LINE
-
Constructor Summary
ConstructorsConstructorDescriptionRectangularHighlight
(Rectangle2D rectangle, boolean zoomed, Color strokeColor, Stroke stroke) -
Method Summary
Modifier and TypeMethodDescriptionThe outer bounding box of the highlightprotected final Shape
getShape
(DesignPanel panel) com.google.common.base.Optional<String>
Return the tooltip for this highlight, if applicableboolean
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
setRectangle
(Rectangle2D rectangle) Methods inherited from class com.inductiveautomation.ignition.designer.designable.highlights.AbstractMultipassHighlight
getFillColor, getFillPassCount, getFillXorColor, getStroke, getStrokeColor, getStrokePassCount, getStrokeXorColor, isFillXorMode, isStrokeXorMode, paint, setFillPass, setStrokePass
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.inductiveautomation.ignition.designer.designable.highlights.IHighlight
paint
-
Field Details
-
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 interfaceIHighlight
-
getRectangle
Description copied from interface:IHighlight
The outer bounding box of the highlight- Specified by:
getRectangle
in interfaceIHighlight
-
setRectangle
-
getShape
- Specified by:
getShape
in classAbstractMultipassHighlight
-
getTooltip
Description copied from interface:IHighlight
Return the tooltip for this highlight, if applicable- Specified by:
getTooltip
in interfaceIHighlight
-