Render the shadow.
Select the general size and position of the shape.
Select the general size and position of the shape. This is done according to:
Select the general size for the group.
Select the general size for the group.
Configure the dynamic parts needed to fill the shape.
Configure the dynamic parts needed to fill the shape.
Configure all static parts needed to fill the shape.
Configure all static parts needed to fill the shape.
Configure all the dynamic and per element settings.
Configure all the dynamic and per element settings. Some configurations can only be done before painting the element, since they change for each element.
The specific element to render.
the view parameters.
Configure as much as possible the graphics before painting several version of this shape at different positions.
Configure as much as possible the graphics before painting several version of this shape at different positions.
The style for the group.
the view parameters.
Configure all the static parts needed to cast the shadow of the shape.
Configure all the static parts needed to cast the shadow of the shape.
Configure all the static parts needed to stroke the shape.
Configure all the static parts needed to stroke the shape.
Fill the shape.
Fill the shape.
Fill the shape.
The Java2D graphics.
The value between 0 and 1 allowing to know the dynamic plain color, if any.
The awt shape to fill.
The fill paint.
The fill paint.
Fit the shape size to its contents?
Fit the shape size to its contents?
Must 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.
Must 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.
the view parameters.
Same as #make(Camera)
for the shadow shape.
Same 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.
Render the shape for the given element.
Render the shape for the given element.
The view parameters.
The element to render.
Render the shape shadow for the given element.
Render the shape shadow for the given element. The shadow is rendered in a different pass than usual rendering, therefore it is a separate method.
Set the shadow offset according to the shape.
Set the shadow offset according to the shape.
The shadow paint.
The shadow paint.
Set the shadow width added to the shape width.
Set the shadow width added to the shape width.
Paint the stroke of the shape.
Paint the stroke of the shape.
The stroke color.
The stroke color.
The shape position.
The shape position.
The connector we are attached to.
The connector we are attached to.
XXX must call this method explicitly in the renderer !!! bad !!! XXX
XXX must call this method explicitly in the renderer !!! bad !!! XXX
The edge represented by the connector.
The edge represented by the connector..
Value in [0.
Value in [0..1] for dyn-colors.
Offset of the shadow according to the shape center.
Offset of the shadow according to the shape center.
Additional width of a shadow (added to the shape size).
Additional width of a shadow (added to the shape size).
The shape size.
The shape size.
The stroke.
The stroke.
The stroke width.
The stroke width.