I checked the Shape and the Line. They both have scensFunc
, but Shape
has a drawFunc
parameter in constructor.
Is there difference between drawFunc
and sceneFunc
? Why Shape
has a draw function object in constructor?
drawFunc
is deprecated and renamed to sceneFunc
. So just use sceneFunc
.