D2DFactory

<< Click to Display Table of Contents >>

Navigation:  NinjaScript > Language Reference > Common > Charts > Rendering >

D2DFactory

Previous page Return to chapter overview Next page

Definition

Provides a default Direct2D1 factory used for creating SharpDX.Direct2D1 components.

 

Property Value

A read-only SharpDX.Direct2D1.Factory to create Direct2D1 objects compatible with NinjaTrader rendering

 

Syntax

NinjaTrader.Core.Globals.D2DFactory

 

ns


// create a Direct2D1 PathGeometry format object with default NinjaTrader D2DFactory factory
SharpDX.Direct2D1.PathGeometry pathGeometry = new SharpDX.Direct2D1.PathGeometry(NinjaTrader.Core.Globals.D2DFactory);