Class ScaleControls.AnchorHL
- java.lang.Object
-
- com.inductiveautomation.ignition.designer.designable.controls.ScaleControls.AnchorHL
-
- All Implemented Interfaces:
IHighlight
- Enclosing class:
- ScaleControls
protected class ScaleControls.AnchorHL extends java.lang.Object implements IHighlight
A highlight that displays a little cross where the logical resize anchor is placed.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.geom.Rectangle2DgetRectangle()The outer bounding box of the highlightcom.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.voidpaint(DesignPanel panel, java.awt.Graphics2D g)Paint this highlight
-
-
-
Method Detail
-
getTooltip
public com.google.common.base.Optional<java.lang.String> getTooltip()
Description copied from interface:IHighlightReturn the tooltip for this highlight, if applicable- Specified by:
getTooltipin interfaceIHighlight
-
getRectangle
public java.awt.geom.Rectangle2D getRectangle()
Description copied from interface:IHighlightThe outer bounding box of the highlight- Specified by:
getRectanglein interfaceIHighlight
-
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
-
paint
public void paint(DesignPanel panel, java.awt.Graphics2D g)
Description copied from interface:IHighlightPaint this highlight- Specified by:
paintin interfaceIHighlight
-
-