Draws the specified text using the format information provided by an C1.Win.DX.DirectWrite.TextFormatobject.
シンタックス
パラメータ
- text
- A reference to an array of Unicode characters to draw.
- textFormat
- An object that describes formatting details of the text to draw, such as the font, the font size, and flow direction.
- layoutRect
- The size and position of the area in which the text is drawn.
- defaultForegroundBrush
- The brush used to paint the text.
- options
- A value that indicates whether the text should be snapped to pixel boundaries and whether the text should be clipped to the layout rectangle. The default value is C1.Win.DX.Direct2D.DrawTextOptions.None, which indicates that text should be snapped to pixel boundaries and it should not be clipped to the layout rectangle.
参照