GSDP:GAM100/CProcessing/defaultFont

From Inside
< GSDP:GAM100‎ | CProcessing
Revision as of 10:09, 8 July 2019 by >Zachary.logsdon
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

defaultFont

Description

The define defaultFont allows the user to access C Processing's default font. This is loaded when the program starts. Using this with the function textFont() to set the font back to the default.

Parameters

defaultFont

  • No parameters

Example

  // Set the font back to the default
  textFont( defaultFont );
  
  // Write some text using the default font
  // starting at the point (50, 100)
  text("Hello, World!", 50, 100);

Related

Personal tools
Namespaces

Variants
Actions
Navigation
NameSpaces:>
Tools
Dynamic:>