@three-tile/lib
Preparing search index...
getSubImage
Function getSubImage
getSubImage
(
image
:
HTMLImageElement
,
bounds
:
BoundsType
)
:
OffscreenCanvas
从源图像中截取指定区域的子图像
Parameters
image
:
HTMLImageElement
源图像
bounds
:
BoundsType
裁剪矩形范围(原点 (0,0),范围 (0,1))
Returns
OffscreenCanvas
子图像 Canvas
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@three-tile/lib
Loading...
从源图像中截取指定区域的子图像