For internal use. Initializes a new instance of the
GcDXGraphics class.
シンタックス
'宣言
Public Function New( _
ByVal As RenderTarget, _
ByVal As Factory1, _
ByVal As System.Nullable(Of Color), _
ByVal As FontCache, _
ByVal As SolidColorBrush, _
Optional ByVal As IGlyphPathCache, _
Optional ByVal As System.Boolean _
)
public GcDXGraphics(
RenderTarget ,
Factory1 ,
System.Nullable<Color> ,
FontCache ,
SolidColorBrush ,
IGlyphPathCache ,
System.bool
)
パラメータ
- renderTarget
- The underlying render target.
- factory
- The D2D factory used to create primitives.
- backColor
- The initial back color, GrapeCity.Documents.DX.Direct2D.RenderTarget.Clear will be called if parameter is not null.
- fontCache
- The FontCache object.
- brush
- The brush to use.
- glyphPathCache
- The GrapeCity.Documents.Drawing.IGlyphPathCache object, can be null in this case glyph paths will not be cached.
- beginDraw
- Indicates whether to call GrapeCity.Documents.DX.Direct2D.RenderTarget.BeginDraw in constructor in GrapeCity.Documents.DX.Direct2D.RenderTarget.EndDraw when disposing.
参照