Closure Library API Documentation
Go to class or file:
graphics.Font
Extends
Object
This class represents a font to be used with a renderer.
Useful links
Demo
Source Code
Inheritance
Object
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
:
boolean
Indication if text should be bolded
Code »
italic
:
boolean
Indication if text should be in italics
Code »
Package graphics
Package Reference