Closure Library API Documentation
Go to class or file:
graphics.Font
Extends
This class represents a font to be used with a renderer.
Useful links
Demo
Source Code
Git
Inheritance
goog.graphics.Font
Constructor
goog.graphics.Font(
size
,
family
)
Parameters
size
:
number
The font size.
family
:
string
The font family.
Public
Protected
Private
Instance Properties
Defined in
goog.graphics.Font
bold
:
Indication if text should be bolded
Code »
family
:
The name of the font family to use, can be a comma separated string.
Code »
italic
:
Indication if text should be in italics
Code »
size
:
Font size.
Code »
Package graphics
Package Reference