Java Lab Documentation

Font

Category:org.code.media

Fields

TypeNameDescription
intMONO

Represents a monospaced font, used for code or other situations where it’s important that the characters are all the same width for alignment.

This is an example of mono text.

intSANS

Represents a sans-serif font, which has no lines or strokes attached to the end of larger strokes in a letter.

This text is an example of a san-serif font.

intSERIF

Represents a serif font, which has small lines or strokes attached to the end of larger strokes in a letter.

This is some example serif text.