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.
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.
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. All the settings for position, size, shadow, etc. must have been made. Usually all the "static" settings are already set in configure, therefore most often this method is only in charge of changing the shape position (and computing size if fitting it to the contents). This method is made to be called inside the render() method, hence it is protected.
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.
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.
Paint the stroke of the shape.
Paint the stroke of the shape.
The stroke color.
The stroke color.
The text and icon.
The text and icon.
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.
The stroke.
The stroke.
The stroke width.
The stroke width.
Destination of the connector.
Destination of the connector.
A cubic curve shape.