Documentation
Preparing search index...
fourJS
text
IdentityShapingEngine
Class IdentityShapingEngine
Code-point identity. Advances denote cells; layout uses the atlas's pixel metrics.
Implements
ShapingEngine
Index
Constructors
constructor
Properties
name
version
Methods
add
Font
dispose
remove
Font
shape
Constructors
constructor
new
IdentityShapingEngine
()
:
IdentityShapingEngine
Returns
IdentityShapingEngine
Properties
Readonly
name
name
:
"fourJS:identity"
Readonly
version
version
:
"0.1.0"
Methods
add
Font
addFont
(
bytes
:
Uint8Array
,
options
?:
{
maximumFontBytes
?:
number
}
)
:
string
Parameters
bytes
:
Uint8Array
Optional
options
:
{
maximumFontBytes
?:
number
}
Returns
string
dispose
dispose
()
:
void
Returns
void
remove
Font
removeFont
(
id
:
string
)
:
void
Parameters
id
:
string
Returns
void
shape
shape
(
query
:
ShapeQuery
)
:
readonly
ShapedRun
[]
Parameters
query
:
ShapeQuery
Returns
readonly
ShapedRun
[]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
name
version
Methods
add
Font
dispose
remove
Font
shape
Documentation
Loading...
Code-point identity. Advances denote cells; layout uses the atlas's pixel metrics.