IntroCS Graphics
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Circle
Close
Path
Segment
Color
Cubic
Curve
ToPath
Segment
Ellipse
Font
constructor
SANS_
SERIF
SERIF
family
size
Group
Line
Line
ToPath
Segment
Move
ToPath
Segment
Path
Path
Segment
Point
Path
Segment
Quadratic
Curve
ToPath
Segment
Rectangle
SVG
SVGElement
Shape
Stroke
Text
Transform
A Font is a pairing of a font-family and a size.
Hierarchy
Font
Index
Constructors
constructor
Properties
SANS_
SERIF
SERIF
Accessors
family
size
Constructors
constructor
new
Font
(
family
?:
string
, size
?:
number
)
:
Font
Parameters
Optional
family:
string
Optional
size:
number
Returns
Font
Properties
Static
SANS_
SERIF
SANS_
SERIF
:
Font
= new Font()
Static
SERIF
SERIF
:
Font
= new Font("serif")
Accessors
family
family
:
size
size
:
Generated using
TypeDoc
A Font is a pairing of a font-family and a size.