Constructs new instance of the font with specified parameters.
font color, android integer color value (produced by android.graphics.Color)
font size
shadow offset
Constructs new instance of the font with specified parameters.
parameters of the font
Converts current Font object to scriptable font description.
Draws text on the canvas using created font.
android.graphics.Canvas instance to draw the text on
x coordinate of the text in pixels
x coordinate of the text in pixels
text string to draw
additional scale to apply to the text
Static
Readonly
ALIGN_Aligns text to the start of the element (left for English locale).
Static
Readonly
ALIGN_Aligns text to the center of the element horizontally.
Static
Readonly
ALIGN_Aligns text to the center of the element.
Static
Readonly
ALIGN_Aligns text to the end of the element (right for English locale).
Copyright © 2024 Nernar. Copyright © 2020 #mineprogramming. Built with ❤ and TypeDoc.
Class representing font used in the UI.