Search
Preparing search index...
The search index is not available
@akashic/akashic-engine
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
"lib/main.d"
g
DynamicFont
Class DynamicFont
Hierarchy
DynamicFont
Implements
Font
Index
Constructors
constructor
Properties
_atlas
Size
_atlases
_current
Atlas
Index
_destroyed
_glyph
Factory
_glyphs
_resource
Factory
font
Color
font
Family
font
Weight
hint
size
stroke
Color
stroke
Only
stroke
Width
Methods
_add
ToAtlas
_reallocate
Atlas
_remove
Low
Use
Atlas
as
Bitmap
Font
destroy
destroyed
glyph
For
Character
Constructors
constructor
new
Dynamic
Font
(
fontFamily
:
FontFamily
, size
:
number
, game
:
Game
, hint
?:
DynamicFontHint
, fontColor
?:
string
, strokeWidth
?:
number
, strokeColor
?:
string
, strokeOnly
?:
boolean
)
:
DynamicFont
new
Dynamic
Font
(
param
:
DynamicFontParameterObject
)
:
DynamicFont
Parameters
fontFamily:
FontFamily
size:
number
game:
Game
Optional
hint:
DynamicFontHint
Optional
fontColor:
string
Optional
strokeWidth:
number
Optional
strokeColor:
string
Optional
strokeOnly:
boolean
Returns
DynamicFont
Parameters
param:
DynamicFontParameterObject
Returns
DynamicFont
Properties
Private
_atlas
Size
_atlas
Size
:
CommonSize
Private
_atlases
_atlases
:
SurfaceAtlas
[]
Private
_current
Atlas
Index
_current
Atlas
Index
:
number
Private
_destroyed
_destroyed
:
boolean
Private
_glyph
Factory
_glyph
Factory
:
GlyphFactory
Private
_glyphs
_glyphs
:
object
Type declaration
[
key:
number
]:
Glyph
Private
_resource
Factory
_resource
Factory
:
ResourceFactory
font
Color
font
Color
:
string
font
Family
font
Family
:
FontFamily
|
string
|
(
string
|
SansSerif
|
Serif
|
Monospace
)
[]
font
Weight
font
Weight
:
FontWeight
hint
hint
:
DynamicFontHint
size
size
:
number
stroke
Color
stroke
Color
:
string
stroke
Only
stroke
Only
:
boolean
stroke
Width
stroke
Width
:
number
Methods
Private
_add
ToAtlas
_add
ToAtlas
(
glyph
:
Glyph
)
:
SurfaceAtlas
Parameters
glyph:
Glyph
Returns
SurfaceAtlas
Private
_reallocate
Atlas
_reallocate
Atlas
(
)
:
void
Returns
void
Private
_remove
Low
Use
Atlas
_remove
Low
Use
Atlas
(
)
:
SurfaceAtlas
Returns
SurfaceAtlas
as
Bitmap
Font
as
Bitmap
Font
(
missingGlyphChar
?:
string
)
:
BitmapFont
Parameters
Optional
missingGlyphChar:
string
Returns
BitmapFont
destroy
destroy
(
)
:
void
Returns
void
destroyed
destroyed
(
)
:
boolean
Returns
boolean
glyph
For
Character
glyph
For
Character
(
code
:
number
)
:
Glyph
Parameters
code:
number
Returns
Glyph
Globals
Dynamic
Font
constructor
_atlas
Size
_atlases
_current
Atlas
Index
_destroyed
_glyph
Factory
_glyphs
_resource
Factory
font
Color
font
Family
font
Weight
hint
size
stroke
Color
stroke
Only
stroke
Width
_add
ToAtlas
_reallocate
Atlas
_remove
Low
Use
Atlas
as
Bitmap
Font
destroy
destroyed
glyph
For
Character
Generated using
TypeDoc