Sfairadora

  • Reference Guide

Outline

For the most of the shapes drawn, the style of the line that delimits the border of the shape can be specified. The parameter of the drawing functions determining the style of the outline is of the type Pen_union. It enables to specify either the constant NONE, which makes no line to be drawn around the shape, or a color (the type Color, constructed with the function color), which draws a line one pixel thick of the specified color, or the type Pen, which allows to control fully the properties of the line – for instance {style: PEN_SOLID, width: 3, color: color(200, 0, 0)}.