fill_text method

fill_text

Adds a text string by filling interrior of glyphs.

def fill_text(self, text, font, x, y):
    ...
ParameterTypeDescription
textstrThe text to add.
fontaspose.pydrawing.FontSystem font that will be used to draw text.
xfloatX coordinate for text origin.
yfloatY coordinate for text origin.

fill_text

Adds a text string by filling interrior of glyphs.

def fill_text(self, text, dr_font, x, y):
    ...
ParameterTypeDescription
textstrThe text to add.
dr_fontaspose.page.font.DrFontDrFont that will be used to draw text. It can be used with custom font that is located in custom folder.
xfloatX coordinate for text origin.
yfloatY coordinate for text origin.

fill_text

Adds a text string by filling interrior of glyphs.

def fill_text(self, text, advances, font, x, y):
    ...
ParameterTypeDescription
textstrThe text to add.
advanceslistAn array of glyphs width. It’s length must comply with the number of glyphs in the string.
fontaspose.pydrawing.FontThe font that will be used to draw text.
xfloatX coordinate for text origin.
yfloatY 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):
    ...
ParameterTypeDescription
textstrThe text to add.
advanceslistAn array of glyphs width. It’s length must comply with the number of glyphs in the string.
dr_fontaspose.page.font.DrFontDrFont that will be used to draw text. It can be used with custom font that is located in custom folder.
xfloatX coordinate for text origin.
yfloatY coordinate for text origin.

fill_text

Adds a text string by filling interrior of glyphs.

def fill_text(self, text, font, x, y, fill):
    ...
ParameterTypeDescription
textstrThe text to add.
fontaspose.pydrawing.FontSystem font that will be used to draw text.
xfloatX coordinate for text origin.
yfloatY coordinate for text origin.
fillaspose.pydrawing.BrushThe 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):
    ...
ParameterTypeDescription
textstrThe text to add.
dr_fontaspose.page.font.DrFontDrFont that will be used to draw text. It can be used with custom font that is located in custom folder.
xfloatX coordinate for text origin.
yfloatY coordinate for text origin.
fillaspose.pydrawing.BrushThe 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):
    ...
ParameterTypeDescription
textstrThe text to add.
advanceslistAn array of glyphs width. It’s length must comply with the number of glyphs in the string.
fontaspose.pydrawing.FontSystem font that will be used to draw text.
xfloatX coordinate for text origin.
yfloatY coordinate for text origin.
fillaspose.pydrawing.BrushThe 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):
    ...
ParameterTypeDescription
textstrThe text to add.
advanceslistAn array of glyphs width. It’s length must comply with the number of glyphs in the string.
dr_fontaspose.page.font.DrFontDrFont that will be used to draw text. It can be used with custom font that is located in custom folder.
xfloatX coordinate for text origin.
yfloatY coordinate for text origin.
fillaspose.pydrawing.BrushThe fill used for painting glyphs.

See Also