DioDocs for PDF
GcDXGraphics コンストラクタ

DS.Documents.Imaging.Windows アセンブリ > GrapeCity.Documents.Imaging.Windows 名前空間 > GcDXGraphics クラス : GcDXGraphics コンストラクタ
基になる描画ターゲット。
プリミティブの作成に使用される D2D ファクトリ。
初期の背景色は、パラメータが GrapeCity.Documents.DX.Direct2D.RenderTarget.Clear でない場合に呼び出されます。
FontCache オブジェクト。
使用するブラシ。
GrapeCity.Documents.Drawing.IGlyphPathCache オブジェクトは null にすることができます。この場合、グリフパスはキャッシュされません。
破棄時に GrapeCity.Documents.DX.Direct2D.RenderTarget.EndDraw のコンストラクタで GrapeCity.Documents.DX.Direct2D.RenderTarget.BeginDraw を呼び出すかどうかを示します。
内部使用。GcDXGraphics クラスの新しいインスタンスを初期化します。
シンタックス
'宣言
 
Public Function New( _
   ByVal renderTarget As RenderTarget, _
   ByVal factory As Factory1, _
   ByVal backColor As System.Nullable(Of Color), _
   ByVal fontCache As FontCache, _
   ByVal brush As SolidColorBrush, _
   Optional ByVal glyphPathCache As IGlyphPathCache, _
   Optional ByVal beginDraw As System.Boolean _
)
public GcDXGraphics( 
   RenderTarget renderTarget,
   Factory1 factory,
   System.Nullable<Color> backColor,
   FontCache fontCache,
   SolidColorBrush brush,
   IGlyphPathCache glyphPathCache,
   System.bool beginDraw
)

パラメータ

renderTarget
基になる描画ターゲット。
factory
プリミティブの作成に使用される D2D ファクトリ。
backColor
初期の背景色は、パラメータが GrapeCity.Documents.DX.Direct2D.RenderTarget.Clear でない場合に呼び出されます。
fontCache
FontCache オブジェクト。
brush
使用するブラシ。
glyphPathCache
GrapeCity.Documents.Drawing.IGlyphPathCache オブジェクトは null にすることができます。この場合、グリフパスはキャッシュされません。
beginDraw
破棄時に GrapeCity.Documents.DX.Direct2D.RenderTarget.EndDraw のコンストラクタで GrapeCity.Documents.DX.Direct2D.RenderTarget.BeginDraw を呼び出すかどうかを示します。
参照

GcDXGraphics クラス
GcDXGraphics メンバ