Class EllipseShape
- java.lang.Object
- 
- com.inductiveautomation.vision.api.client.components.shapes.ShapeDelegate
- 
- com.inductiveautomation.factorypmi.application.components.shapes.EllipseShape
 
 
- 
 public class EllipseShape extends ShapeDelegate 
- 
- 
Field SummaryFields Modifier and Type Field Description static java.lang.StringTOOL_KEY
 - 
Constructor SummaryConstructors Constructor Description EllipseShape()Deprecated.EllipseShape(java.awt.geom.RectangularShape rect)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanalterShape(java.awt.geom.Rectangle2D newBounds)Directly modify the shape's frame so that it fits tightly within the new framing rectangle.java.awt.geom.Rectangle2DgetBounds2D(java.awt.Shape shape)Provides a way for the delegate to do custom calculation of the shape's bounds.java.awt.geom.RectangularShapegetEllipse()java.awt.ShapegetShape()The AWT shape this delegate producesjava.lang.StringgetToolKey()booleanisSymmetric()voidsetEllipse(java.awt.geom.RectangularShape ellipse)- 
Methods inherited from class com.inductiveautomation.vision.api.client.components.shapes.ShapeDelegateconvertToPath, createArea, getCenterpoint, isRotatable, rotate, translateShape
 
- 
 
- 
- 
- 
Field Detail- 
TOOL_KEYpublic static final java.lang.String TOOL_KEY - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
isSymmetricpublic boolean isSymmetric() - Specified by:
- isSymmetricin class- ShapeDelegate
 
 - 
getToolKeypublic java.lang.String getToolKey() - Specified by:
- getToolKeyin class- ShapeDelegate
 
 - 
alterShapepublic boolean alterShape(java.awt.geom.Rectangle2D newBounds) Description copied from class:ShapeDelegateDirectly modify the shape's frame so that it fits tightly within the new framing rectangle.- Specified by:
- alterShapein class- ShapeDelegate
- Parameters:
- newBounds- The new bounding rectangle for the shape.
- Returns:
- false if the shape was unable to alter itself into the given rectangle.
 
 - 
getShapepublic java.awt.Shape getShape() Description copied from class:ShapeDelegateThe AWT shape this delegate produces- Specified by:
- getShapein class- ShapeDelegate
 
 - 
getEllipsepublic java.awt.geom.RectangularShape getEllipse() 
 - 
setEllipsepublic void setEllipse(java.awt.geom.RectangularShape ellipse) 
 - 
getBounds2Dpublic java.awt.geom.Rectangle2D getBounds2D(java.awt.Shape shape) Description copied from class:ShapeDelegateProvides a way for the delegate to do custom calculation of the shape's bounds. Default implementation is:return shape.getBounds2D(); - Overrides:
- getBounds2Din class- ShapeDelegate
 
 
- 
 
-