fill_text method
Contents
[
Hide
]fill_text
Adds a text string by filling interrior of glyphs.
def fill_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. | 
fill_text
Adds a text string by filling interrior of glyphs.
def fill_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. | 
fill_text
Adds a text string by filling interrior of glyphs.
def fill_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. | 
fill_text
Adds a text string by filling interrior of glyphs.
def fill_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. | 
fill_text
Adds a text string by filling interrior of glyphs.
def fill_text(self, text, font, x, y, fill):
    ...
| 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. | 
| fill | aspose.pydrawing.Brush | The fill used for painting glyphs. | 
fill_text
Adds a text string by filling interrior of glyphs.
def fill_text(self, text, dr_font, x, y, fill):
    ...
| 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. | 
| fill | aspose.pydrawing.Brush | The fill used for painting glyphs. | 
fill_text
Adds a text string by filling interrior of glyphs.
def fill_text(self, text, advances, font, x, y, fill):
    ...
| 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. | 
| fill | aspose.pydrawing.Brush | The fill used for painting glyphs. | 
fill_text
Adds a text string by filling interrior of glyphs.
def fill_text(self, text, advances, dr_font, x, y, fill):
    ...
| 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. | 
| fill | aspose.pydrawing.Brush | The fill used for painting glyphs. | 
See Also
- module aspose.page.eps
- class PsDocument