大约有 125 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0064 秒)
...Component height : Number[override] HBox hitArea : * 可以设置一个Rectangle区域作为点击区域,或者设置一个HitArea实例作为点击区域,HitArea内可以设置可点击和不可点击区域。 如果不设置hitArea,则根据宽高形成的区域进行碰撞。 Sprite hi...
来源: Laya2.0_api 发布时间: 20190513
...,高度为自适应大小。 UIComponent hitArea : * 可以设置一个Rectangle区域作为点击区域,或者设置一个HitArea实例作为点击区域,HitArea内可以设置可点击和不可点击区域。 如果不设置hitArea,则根据宽高形成的区域进行碰撞。 Sprite hit...
来源: Laya2.0_api 发布时间: 20190513
...,高度为自适应大小。 UIComponent hitArea : * 可以设置一个Rectangle区域作为点击区域,或者设置一个HitArea实例作为点击区域,HitArea内可以设置可点击和不可点击区域。 如果不设置hitArea,则根据宽高形成的区域进行碰撞。 Sprite hit...
来源: Laya2.0_api 发布时间: 20190513
...,但是图片不会被裁剪: loginUI.bbbar.viewport = new laya.maths.Rectangle(0, 0, 0, loginUI.bbbar.height) Game.timer.loop("progress", this, function() { //console.log("loginUI.bar.value = ", loginUI.bar.value); loginUI.bbbar.viewport.width = loginUI.bbbar.viewport.width + 0.2 //console.log(...
来源: Laya_社区 发布时间: 20170913
...于本对象绘图区域内时,才算命中,而与对象宽高和值为Rectangle对象的hitArea属性无关。如果sprite.hitArea值是HitArea对象,表示显式声明了此对象的鼠标事件响应区域,而忽略对象的宽高、mouseThrough属性。 影响对象鼠标事件响应区...
来源: Laya3.0_api 发布时间: 20231115
...于本对象绘图区域内时,才算命中,而与对象宽高和值为Rectangle对象的hitArea属性无关。如果sprite.hitArea值是HitArea对象,表示显式声明了此对象的鼠标事件响应区域,而忽略对象的宽高、mouseThrough属性。 影响对象鼠标事件响应区...
来源: Laya3.0_api 发布时间: 20231115
...后并不影响显示对象大小。 Sprite hitArea : *可以设置一个Rectangle区域作为点击区域,或者设置一个HitArea实例作为点击区域,HitArea内可以设置可点击和不可点击区域。 如果不设置hitArea,则根据宽高形成的区域进行碰撞。 Sprite hit...
来源: laya_api 发布时间: 20170422
...于本对象绘图区域内时,才算命中,而与对象宽高和值为Rectangle对象的hitArea属性无关。如果sprite.hitArea值是HitArea对象,表示显式声明了此对象的鼠标事件响应区域,而忽略对象的宽高、mouseThrough属性。 影响对象鼠标事件响应区...
来源: Laya3.0_api 发布时间: 20231115
...色 Returns FillTextureCmd | null getBounds getBounds(realSize?: boolean): Rectangle Inherited from Graphics.getBounds Defined in laya/display/Graphics.ts:201 获取位置及宽高信息矩阵(比较耗CPU,频繁使用会造成卡顿,尽量少用)。 Parameters Default value realSize: boolean = ...
来源: Laya3.0_api 发布时间: 20231115
...于本对象绘图区域内时,才算命中,而与对象宽高和值为Rectangle对象的hitArea属性无关。如果sprite.hitArea值是HitArea对象,表示显式声明了此对象的鼠标事件响应区域,而忽略对象的宽高、mouseThrough属性。 影响对象鼠标事件响应区...
来源: Laya3.0_api 发布时间: 20231115