Method DrawTextLayout
- Namespace
- PaintDotNet.Direct2D1
- Assembly
- PaintDotNet.Windows.Core.dll
DrawTextLayout(IDeviceContext, float, float, ITextLayout, IDeviceBrush, DrawTextOptions)
public static void DrawTextLayout(this IDeviceContext deviceContext, float originX, float originY, ITextLayout textLayout, IDeviceBrush defaultFillBrush, DrawTextOptions options = DrawTextOptions.EnableColorFont)
Parameters
deviceContext
IDeviceContextoriginX
floatoriginY
floattextLayout
ITextLayoutdefaultFillBrush
IDeviceBrushoptions
DrawTextOptions