Sfairadora

  • Reference Guide

Filling

For shapes that are delimited by a closed curve, it is possible to fill their interior. The parameter of the drawing functions determining the style of the filling is of the type Brush_union. It allows specifying the filling in several ways:
♦ By the constant NONE – the curve has then no filling (the interior is transparent).
♦ By a color (the type Color, constructed with the function color) – the shape is then filled with a solid color.
♦ By a patter specified as an image (the type Bitmap) with the dimension 8×8 pixels.
♦ By the type Brush, which allows to specify a two-color pattern.