D2DFactory

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

D2DFactory

Return to chapter overview

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);