Return rendering context native to current renderer.
// Delphi public function CanvasNative : TObject; virtual; abstract;
// C++ Builder public: virtual TObject* CanvasNative(void) = 0;
|TObject||Canvas object specific for current renderer object.|
Use of this function to access native API directly is not recommended. Please treat is last option if custom drawing can not be achieved in any other way. Using Canvas* methods like CanvasDrawLine is a recommend way to guarantee that same code will work on any renderer and on any supported operating system.
If you decide to use it anyway: