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 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.AbstractMultipassHighlight
getFillColor, getFillPassCount, getFillXorColor, getStroke, getStrokeColor, getStrokePassCount, getStrokeXorColor, isFillXorMode, isStrokeXorMode, paint, setFillPass, setStrokePassMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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: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 interfaceIHighlight
-
getRectangle
Description copied from interface:IHighlightThe outer bounding box of the highlight- Specified by:
getRectanglein interfaceIHighlight
-
setRectangle
-
getShape
- Specified by:
getShapein classAbstractMultipassHighlight
-
getTooltip
Description copied from interface:IHighlightReturn the tooltip for this highlight, if applicable- Specified by:
getTooltipin interfaceIHighlight
-