"timeFont"

Sets the font for the time.

Synopsis

setValue(string shape, "timeFont", string font);

getValue(string shape, "timeFont", string &font);

shape.timeFont(string font);

Parameters

Parameter Description
shape Name of the object
font The font, for example, "Arial Black,-1,11,5,87,0,0,0,0,0". To find the desired font, use the function fontSelector().

Description

Sets the font of the time.

Example

The following example sets the font of the time to Lucida Calligraphy: "Lucida Calligraphy,-1,11,5,50,0,0,0,0,0".

main()
{
   CLOCK1.timeFont("Lucida Calligraphy,-1,11,5,50,0,0,0,0,0");
}
Abbildung 1. The Time and Date Font was set to Lucida Calligraphy

Assignment

Clock