[operations] [attributes] [fields] [template] [definition]
[implementation] [documentation]
To use the search tool you need to use a browser which supports JAVA (c)

[next] [prev] [superclass] [next peer] [prev peer] [subclass] [index] [hierarchy]

Font

abstract
inherits from FontDescription

Object <- FontDescription <- Font



Operations

Get list of all operations

FontDraw
FontOffsets
FontTotalWidth
FontWidths
MaximumGlyphWidth


Attributes

Get list of all attributes

Ascent
Descent
Height


Fields

Field Type
FontDescription: fontIdentifier: Buffer
fontName: Text
fontSize: Unsigned
isBold: Boolean
isItalic: Boolean
isUnderlined: Boolean


Instance template

Class Font cannot be instantiated.


Class definition

#endif

Define Class Font;
    abstract;
    inherits from FontDescription;
    
    attribute Ascent: Micron, readOnly, noGetter;
    attribute Descent: Micron, readOnly, noGetter;
    attribute Height: Micron, readOnly, noGetter;
    operation MaximumGlyphWidth(style: TextStyle): Micron, noMethod;

    operation FontDraw(characters: ReadOnlyCharactersPointer; characterCount: Unsigned; var where: Dot; style: TextStyle; mode: Signed), noMethod;
    operation FontTotalWidth(characters: ReadOnlyCharactersPointer; characterCount: Unsigned; style: TextStyle): Micron, noMethod;
    operation FontWidths(characters: ReadOnlyCharactersPointer; characterCount: Unsigned; widthTable: MicronArrayPointer; style: TextStyle), noMethod;
    operation FontOffsets(characters: ReadOnlyCharactersPointer; characterCount: Unsigned; firstOffset: Micron; offsetTable: MicronArrayPointer; style: TextStyle), noMethod;
        // fills offsetTable with characterCount + 1 offsets
end class;