In This Topic
Draws a string by glyphs.
Syntax
'Declaration
Public Sub DrawGlyphs( _
ByVal As String, _
ByVal () As Short, _
ByVal () As Single, _
ByVal As FontSubSet, _
ByVal As Single, _
ByVal As Color, _
ByVal As Point, _
ByVal As Matrix, _
ByVal As Single, _
ByVal As Boolean _
)
public void DrawGlyphs(
string ,
short[] ,
float[] ,
FontSubSet ,
float ,
Color ,
Point ,
Matrix ,
float ,
bool
)
Parameters
- text
- The text string.
- glyphs
- The glyphs array for the text string.
- widths
- The widths array for the text string.
- fss
- The font subset for text drawing.
- fontSize
- The font size for text drawing.
- brush
- The object that determines the color for text drawing.
- pt
- The start point for text drawing.
- matrix
- The translate matrinx for text drawing.
- widthCoeff
- The width coefficient applied to characters. The default is 1.0, use 2.0 for double width and so on.
- vertical
- The vertical flag for text drawing. Common for CJK texts.
See Also