Class RoundedSquareShape
java.lang.Object
org.graphstream.ui.swing.renderer.shape.Decorable
org.graphstream.ui.swing.renderer.shape.swing.baseShapes.AreaShape
org.graphstream.ui.swing.renderer.shape.swing.baseShapes.RectangularAreaShape
org.graphstream.ui.swing.renderer.shape.swing.basicShapes.RoundedSquareShape
- All Implemented Interfaces:
Shape
-
Field Summary
FieldsFields inherited from class org.graphstream.ui.swing.renderer.shape.swing.baseShapes.AreaShape
area, fillable, shadowable, strokable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidMust create the shape from informations given earlier, that is, resize it if needed and position it, and do all the things that are specific to each element, and cannot be done for the group of elements.voidmakeShadow(Backend backend, org.graphstream.ui.view.camera.DefaultCamera2D camera) Same as#make(Camera)for the shadow shape.theShape()Methods inherited from class org.graphstream.ui.swing.renderer.shape.swing.baseShapes.RectangularAreaShape
render, renderShadowMethods inherited from class org.graphstream.ui.swing.renderer.shape.swing.baseShapes.AreaShape
configureForElement, configureForGroupMethods inherited from class org.graphstream.ui.swing.renderer.shape.Decorable
configureDecorableForElement, configureDecorableForGroup, decorArea, decorConnector
-
Field Details
-
skel
We will use it often, better store it.
-
-
Constructor Details
-
RoundedSquareShape
public RoundedSquareShape()
-
-
Method Details
-
make
Description copied from interface:ShapeMust create the shape from informations given earlier, that is, resize it if needed and position it, and do all the things that are specific to each element, and cannot be done for the group of elements. This method is made to be called inside the render() method, hence it is protected.- Specified by:
makein interfaceShape- Overrides:
makein classRectangularAreaShape- Parameters:
backend- The rendering back-end.camera- the view parameters.
-
makeShadow
Description copied from interface:ShapeSame as#make(Camera)for the shadow shape. The shadow shape may be moved and resized compared to the original shape. This method is made to be called inside the renderShadow() method, hence it is protected.- Specified by:
makeShadowin interfaceShape- Overrides:
makeShadowin classRectangularAreaShape
-
theShape
- Overrides:
theShapein classRectangularAreaShape
-