@three-tile/lib
Preparing search index...
getBoundsCoord
Function getBoundsCoord
getBoundsCoord
(
clipBounds
:
[
number
,
number
,
number
,
number
]
,
targetSize
:
number
,
)
:
{
sh
:
number
;
sw
:
number
;
sx
:
number
;
sy
:
number
}
Get bounds to clip image
Parameters
clipBounds
:
[
number
,
number
,
number
,
number
]
bounds [minx,miny,maxx,maxy],0-1
targetSize
:
number
size to scale
Returns
{
sh
:
number
;
sw
:
number
;
sx
:
number
;
sy
:
number
}
startX,StarY,width,height
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@three-tile/lib
Loading...
Get bounds to clip image