Scratch for Java

BitmapText()

Text made from image glyphs, such as font065.png for 'A'. Add it to a stage like a sprite. Its position is the top of the first line, with each line aligned left, centred or right. Spaces and line breaks do not load images. Image data uses the library cache, so changing text does not create sprites or reload files. Use ordinary Text for normal system/TrueType fonts.

Examples

File /src/examples/java/reference//BitmapTextExample.java is missing.

View on GitHub

Syntax

Java

new BitmapText(pattern)
BitmapText()

Create Shareable URL

Select Sections