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 rendering back-end.
The specific element to render.
The element geometry and information.
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 rendering back-end.
The style for the group.
the view parameters.
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.
Base for all shapes.