Class RectangleShape
java.lang.Object
com.inductiveautomation.vision.api.client.components.shapes.ShapeDelegate
com.inductiveautomation.factorypmi.application.components.shapes.RectangleShape
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanalterShape(Rectangle2D newBounds) Directly modify the shape's frame so that it fits tightly within the new framing rectangle.Convert this shape to a GeneralPathgetRect()getShape()The AWT shape this delegate producesbooleanvoidsetRect(RectangularShape rect) voidtranslateShape(double dX, double dY) Move the shape using the provided offsets.Methods inherited from class com.inductiveautomation.vision.api.client.components.shapes.ShapeDelegatecreateArea, getBounds2D, getCenterpoint, isRotatable, rotate
- 
Field Details- 
TOOL_KEY- See Also:
 
 
- 
- 
Constructor Details- 
RectangleShapeDeprecated.For serialization clean copy
- 
RectangleShape
 
- 
- 
Method Details- 
getToolKey- Specified by:
- getToolKeyin class- ShapeDelegate
 
- 
alterShapeDescription 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.
 
- 
translateShapepublic void translateShape(double dX, double dY) Description copied from class:ShapeDelegateMove the shape using the provided offsets. Default implementation calls alterShape.- Overrides:
- translateShapein class- ShapeDelegate
 
- 
getShapeDescription copied from class:ShapeDelegateThe AWT shape this delegate produces- Specified by:
- getShapein class- ShapeDelegate
 
- 
getRect
- 
setRect
- 
convertToPathDescription copied from class:ShapeDelegateConvert this shape to a GeneralPath- Overrides:
- convertToPathin class- ShapeDelegate
 
- 
isSymmetricpublic boolean isSymmetric()- Specified by:
- isSymmetricin class- ShapeDelegate
 
 
-