First control point.
First control point. Works only for curves.
Second control point.
Second control point. Works only for curves.
Render the shadow.
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 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.
Paint the decorations (text and icon).
Paint the decorations (text and icon).
Origin point of the connector.
Origin point of the connector.
Is the connector directed ?
Is the connector directed ?
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.
Sety the shadow width added to the shape width.
Sety the shadow width added to the shape width.
Show the control polygons.
Show the control polygons.
We will use it often, better store it.
We will use it often, better store it.
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 text and icon.
The text and icon.
The edge, we will also need it often.
The edge, we will also need it often.
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).
Width of the connector.
Width of the connector.
Overall sizes of the area at the end of the connector.
Overall sizes of the area at the end of the connector.
The stroke.
The stroke.
The stroke width.
The stroke width.
Overall size of the area at the end of the connector.
Overall size of the area at the end of the connector.
Destination of the connector.
Destination of the connector.
A cubic curve shape.