property  Canvas:TCanvas;


Canvas allows drawing on the TMyCAD by providing a TCanvas object for this purpose. Any canvas operation is valid on TMyCAD, and draw operation doesn't change TMyShapes object, the content will be clear when paint event occured.A canvas object is created automatically for the TMyCAD and the property is read-only.

See also: