Class EllipseShape
java.lang.Object
com.inductiveautomation.vision.api.client.components.shapes.ShapeDelegate
com.inductiveautomation.factorypmi.application.components.shapes.EllipseShape
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
alterShape
(Rectangle2D newBounds) Directly modify the shape's frame so that it fits tightly within the new framing rectangle.getBounds2D
(Shape shape) Provides a way for the delegate to do custom calculation of the shape's bounds.getShape()
The AWT shape this delegate producesboolean
void
setEllipse
(RectangularShape ellipse) Methods inherited from class com.inductiveautomation.vision.api.client.components.shapes.ShapeDelegate
convertToPath, createArea, getCenterpoint, isRotatable, rotate, translateShape
-
Field Details
-
TOOL_KEY
- See Also:
-
-
Constructor Details
-
EllipseShape
Deprecated.For serialization -
EllipseShape
-
-
Method Details
-
isSymmetric
public boolean isSymmetric()- Specified by:
isSymmetric
in classShapeDelegate
-
getToolKey
- Specified by:
getToolKey
in classShapeDelegate
-
alterShape
Description copied from class:ShapeDelegate
Directly modify the shape's frame so that it fits tightly within the new framing rectangle.- Specified by:
alterShape
in classShapeDelegate
- Parameters:
newBounds
- The new bounding rectangle for the shape.- Returns:
- false if the shape was unable to alter itself into the given rectangle.
-
getShape
Description copied from class:ShapeDelegate
The AWT shape this delegate produces- Specified by:
getShape
in classShapeDelegate
-
getEllipse
-
setEllipse
-
getBounds2D
Description copied from class:ShapeDelegate
Provides a way for the delegate to do custom calculation of the shape's bounds. Default implementation is:return shape.getBounds2D();
- Overrides:
getBounds2D
in classShapeDelegate
-