The specific data-type-class knows best how to draw the data-elements of this type. If stacking is used this function will be called instead of drawGD(). The best results for drawing lines are achieved by first drawing the fill of each element and afterwards drawing the lines. This is the best solution for the resulting image.