Class Direct2DContext
public class Direct2DContext : IContext, IMeasureContext, IStateContext, IPenContext, IPathDrawingContext, IPathBuilder, IGlyphPathBuilder, IPathDrawing, IPathClipping, IRectDrawingContext, ITextDrawingContext, ITextMeasureContext, IImageDrawingContext, ITransformContext, IDisposable
- Inheritance
-
Direct2DContext
- Implements
- Inherited Members
- Extension Methods
Constructors
Direct2DContext(RenderTarget, Factory3, Factory)
public Direct2DContext(D2D1.RenderTarget renderTarget, D2D1.Factory3 d2d1Factory, DWrite.Factory dWriteFactory)
Parameters
Properties
TextAlign
Sets the horizontal alignment of the text relative to the given position.
public TextAlign TextAlign { get; set; }
Property Value
TextBaseline
Sets the vertical alignment of the text relative to the given baseline.
public TextBaseline TextBaseline { get; set; }
Property Value
Methods
BeginDraw()
public void BeginDraw()
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
EndDraw()
public void EndDraw()
~Direct2DContext()
protected ~Direct2DContext()