PsDocument.FillAndStrokeText
Contents
[
Hide
]FillAndStrokeText(string, float[], DrFont, float, float, Brush, Pen)
Adds a text string by filling interrior of glyphs and drawing glyphs contours.
public void FillAndStrokeText(string text, float[] advances, DrFont drFont, float x, float y,
Brush fillPaint, Pen stroke)
Parameter | Type | Description |
---|---|---|
text | String | The text to add. |
advances | Single[] | An array of glyphs width. It’s length must comply with the number of glyphs in the string. |
drFont | DrFont | DrFont that will be used to draw text. It can be used with custom font that is located in custom folder. |
x | Single | X coordinate for text origin. |
y | Single | Y coordinate for text origin. |
fillPaint | Brush | The fill used for painting glyphs interior. |
stroke | Pen | The stroke used for drawing glyphs contours. |
See Also
- class DrFont
- class PsDocument
- namespace Aspose.Page.EPS
- assembly Aspose.Page
FillAndStrokeText(string, Font, float, float, Brush, Pen)
Adds a text string by filling interrior of glyphs and drawing glyphs contours.
public void FillAndStrokeText(string text, Font font, float x, float y, Brush fillPaint, Pen stroke)
Parameter | Type | Description |
---|---|---|
text | String | The text to add. |
font | Font | System font that will be used to draw text. |
x | Single | X coordinate for text origin. |
y | Single | Y coordinate for text origin. |
fillPaint | Brush | The fill used for painting glyphs interior. |
stroke | Pen | The stroke used for drawing glyphs contours. |
See Also
- class PsDocument
- namespace Aspose.Page.EPS
- assembly Aspose.Page
FillAndStrokeText(string, float[], Font, float, float, Brush, Pen)
Adds a text string by filling interrior of glyphs and drawing glyphs contours.
public void FillAndStrokeText(string text, float[] advances, Font font, float x, float y,
Brush fillPaint, Pen stroke)
Parameter | Type | Description |
---|---|---|
text | String | The text to add. |
advances | Single[] | An array of glyphs width. It’s length must comply with the number of glyphs in the string. |
font | Font | System font that will be used to draw text. |
x | Single | X coordinate for text origin. |
y | Single | Y coordinate for text origin. |
fillPaint | Brush | The fill used for painting glyphs interior. |
stroke | Pen | The stroke used for drawing glyphs contours. |
See Also
- class PsDocument
- namespace Aspose.Page.EPS
- assembly Aspose.Page
FillAndStrokeText(string, DrFont, float, float, Brush, Pen)
Adds a text string by filling interrior of glyphs and drawing glyphs contours.
public void FillAndStrokeText(string text, DrFont drFont, float x, float y, Brush fillPaint,
Pen stroke)
Parameter | Type | Description |
---|---|---|
text | String | The text to add. |
drFont | DrFont | DrFont that will be used to draw text. It can be used with custom font that is located in custom folder. |
x | Single | X coordinate for text origin. |
y | Single | Y coordinate for text origin. |
fillPaint | Brush | The fill used for painting glyphs interior. |
stroke | Pen | The stroke used for drawing glyphs contours. |
See Also
- class DrFont
- class PsDocument
- namespace Aspose.Page.EPS
- assembly Aspose.Page