Preparing search index...
The search index is not available
libpag
libpag
interfaces
ScalerContext
Interface ScalerContext
Hierarchy
ScalerContext
Index
Properties
font
String
get
Advance
get
Bounds
get
Font
Metrics
read
Pixels
Properties
font
String
font
String
:
(
(
fauxBold
,
fauxItalic
)
=>
string
)
Type declaration
(
fauxBold
,
fauxItalic
)
:
string
Parameters
fauxBold
:
boolean
fauxItalic
:
boolean
Returns
string
get
Advance
get
Advance
:
(
(
text
)
=>
number
)
Type declaration
(
text
)
:
number
Parameters
text
:
string
Returns
number
get
Bounds
get
Bounds
:
(
(
text
,
fauxBold
,
fauxItalic
)
=>
Rect
)
Type declaration
(
text
,
fauxBold
,
fauxItalic
)
:
Rect
Parameters
text
:
string
fauxBold
:
boolean
fauxItalic
:
boolean
Returns
Rect
get
Font
Metrics
get
Font
Metrics
:
(
(
)
=>
FontMetrics
)
Type declaration
(
)
:
FontMetrics
Returns
FontMetrics
read
Pixels
read
Pixels
:
(
(
text
,
bounds
,
fauxBold
,
stroke
?
)
=>
null
|
Uint8Array
)
Type declaration
(
text
,
bounds
,
fauxBold
,
stroke
?
)
:
null
|
Uint8Array
Parameters
text
:
string
bounds
:
Rect
fauxBold
:
boolean
Optional
stroke
:
Stroke
Returns
null
|
Uint8Array
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
font
String
get
Advance
get
Bounds
get
Font
Metrics
read
Pixels
libpag
binding
constant
core/backend-
context
core/global-
canvas
core/matrix
core/render-
canvas
core/video-
reader
interfaces
Time
Range
Video
Reader
Video
Decoder
Constructor
Font
Metrics
Stroke
Scaler
Context
Scaler
Context
Constructor
pag-
composition
pag-
file
pag-
font
pag-
image-
layer
pag-
image
pag-
layer
pag-
module
pag-
player
pag-
solid-
layer
pag-
surface
pag-
text-
layer
pag-
view
pag
types
utils/canvas
utils/clock
utils/common
utils/decorators
utils/event-
manager
utils/mixin
utils/polyfills
utils/queue
utils/type-
utils
utils/ua
utils/video-
listener
wechat/babel
wechat/binding
wechat/constant
wechat/file-
utils
wechat/interfaces
wechat/pag-
file
wechat/pag-
font
wechat/pag-
image
wechat/pag-
view
wechat/pag
wechat/scaler-
context
wechat/video-
reader
Generated using
TypeDoc