Preparing search index...
The search index is not available
@rendley/sdk - v1.7.2
@rendley/sdk
Pixi
utils
trimCanvas
Function trimCanvas
trimCanvas
(
canvas
:
ICanvas
,
)
:
{
data
:
ImageData
|
null
;
height
:
number
;
width
:
number
}
Trim transparent borders from a canvas.
Parameters
canvas
:
ICanvas
The canvas to trim.
Returns
{
data
:
ImageData
|
null
;
height
:
number
;
width
:
number
}
The trimmed canvas data.
Memberof
PIXI.utils
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
@rendley/sdk - v1.7.2
Loading...
Trim transparent borders from a canvas.