DK11 for .NET | TatukGIS.NDK.TGIS_RendererAbstract.CanvasNative | Constructors | Fields | Methods | Properties
Return rendering context native to current renderer.
// C# public virtual abstract TObject CanvasNative();
' VisualBasic Public Overridable MustOverride Function CanvasNative() As TObject
// Oxygene public function CanvasNative : TObject; virtual; abstract;
Type | Description |
---|---|
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: