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 rendering back-end.
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.
The element geometry and information.
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.
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.
Setup the parts of the decor specific to each element.
Setup the parts of the decor specific to each element.
Configure all the static parts needed to decor the shape.
Configure all the static parts needed to decor the shape.
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 as much as possible the graphics before painting several version of this shape at different positions.
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.
Paint the decorations (text and icon).
Paint the decorations (text and icon).
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?
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 string of text of the contents.
The string of text of the contents.
The shape position.
The shape position.
The text and icon.
The text and icon.
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.
Base for shapes centered around one point.