outline_text method
Contents
[
Hide
]outline_text
Adds a text string by drawing glyphs contours.
def outline_text(self, text, font, x, y):
...
Parameter | Type | Description |
---|---|---|
text | str | The text to add. |
font | aspose.pydrawing.Font | System font that will be used to draw text. |
x | float | X coordinate for text origin. |
y | float | Y coordinate for text origin. |
outline_text
Adds a text string by drawing glyphs contours.
def outline_text(self, text, dr_font, x, y):
...
Parameter | Type | Description |
---|---|---|
text | str | The text to add. |
dr_font | aspose.page.font.DrFont | DrFont that will be used to draw text. It can be used with custom font that is located in custom folder. |
x | float | X coordinate for text origin. |
y | float | Y coordinate for text origin. |
outline_text
Adds a text string by drawing glyphs contours.
def outline_text(self, text, advances, font, x, y):
...
Parameter | Type | Description |
---|---|---|
text | str | The text to add. |
advances | list | An array of glyphs width. It’s length must comply with the number of glyphs in the string. |
font | aspose.pydrawing.Font | The font that will be used to draw text. |
x | float | X coordinate for text origin. |
y | float | Y coordinate for text origin. |
outline_text
Adds a text string by drawing glyphs contours.
def outline_text(self, text, advances, dr_font, x, y):
...
Parameter | Type | Description |
---|---|---|
text | str | The text to add. |
advances | list | An array of glyphs width. It’s length must comply with the number of glyphs in the string. |
dr_font | aspose.page.font.DrFont | DrFont that will be used to draw text. It can be used with custom font that is located in custom folder. |
x | float | X coordinate for text origin. |
y | float | Y coordinate for text origin. |
outline_text
Adds a text string by drawing glyphs contours.
def outline_text(self, text, font, x, y, stroke):
...
Parameter | Type | Description |
---|---|---|
text | str | The text to add. |
font | aspose.pydrawing.Font | System font that will be used to draw text. |
x | float | X coordinate for text origin. |
y | float | Y coordinate for text origin. |
stroke | aspose.pydrawing.Pen | The stroke used for drawing glyphs outlines. |
outline_text
Adds a text string by drawing glyphs contours.
def outline_text(self, text, dr_font, x, y, stroke):
...
Parameter | Type | Description |
---|---|---|
text | str | The text to add. |
dr_font | aspose.page.font.DrFont | DrFont that will be used to draw text. It can be used with custom font that is located in custom folder. |
x | float | X coordinate for text origin. |
y | float | Y coordinate for text origin. |
stroke | aspose.pydrawing.Pen | The stroke used for drawing glyphs outlines. |
outline_text
Adds a text string by drawing glyphs contours.
def outline_text(self, text, advances, font, x, y, stroke):
...
Parameter | Type | Description |
---|---|---|
text | str | The text to add. |
advances | list | An array of glyphs width. It’s length must comply with the number of glyphs in the string. |
font | aspose.pydrawing.Font | System font that will be used to draw text. |
x | float | X coordinate for text origin. |
y | float | Y coordinate for text origin. |
stroke | aspose.pydrawing.Pen | The stroke used for drawing glyphs outlines. |
outline_text
Adds a text string by drawing glyphs contours.
def outline_text(self, text, advances, dr_font, x, y, stroke):
...
Parameter | Type | Description |
---|---|---|
text | str | The text to add. |
advances | list | An array of glyphs width. It’s length must comply with the number of glyphs in the string. |
dr_font | aspose.page.font.DrFont | DrFont that will be used to draw text. It can be used with custom font that is located in custom folder. |
x | float | X coordinate for text origin. |
y | float | Y coordinate for text origin. |
stroke | aspose.pydrawing.Pen | The stroke used for drawing glyphs outlines. |
See Also
- module
aspose.page.eps
- class
PsDocument