"font"
Sets the font of an object.
Synopsis
this.font(langString fontType);
Parameter
Parameter | Description |
---|---|
shape | Name of the object |
fontType |
The font type that should be set. You can find out the font string, for example, by using the function: fontSelector(). , for example, "Courier New,-1,11,5,50,0,0,0,0,0"; |
Description
Sets the font of an object.
Example
Sets the font of the textEdit to arial black and the color to green.
main(bool enter)
{
langString f = "Arial Black,-1,11,5,87,0,0,0,0,0";
this.color("green");
this.font(f);
}
Assignment
TextEdit, primitive text