Android Question b4xCanvas drawtext B4XFonts

rodmcm

Active Member
Licensed User
Most of my searches reveal B4 canvas constructs where the font is related to a Typeface, with a size i.e

c.DrawText("hello", 10,10,tf.CreateNew(Typeface.SERIF, Typeface.STYLE_BOLD), 10, Colors.Red, "LEFT")

How do you create/assign a B4x font.. and its size to B4XCanvas?

Where would I find a list of the available fonts?
 
Top