大约有 6 项符合查询结果, 库内数据总量为 30,971 项。 (搜索耗时: 0.0036 秒)
...); Laya.stage.addChild(sprite); console.log(sprite.getBounds()); console.log(sprite.width,sprite.height)); } 附件 : --> ZG.zip 2016-11-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链...
来源: Laya_社区 发布时间: 20161108
...但是显示对象还是没有的,需要你自己手动设置或者通过getBounds去获取 graphics.alpha(0.5)的书写方式,在webGL下可以正常显示,在canvas下会一闪而过 修改方式: 在绘制完成后加上下面2句话即可 graphics.restore(); sp.graphics.save(); 2016-...
来源: Laya_社区 发布时间: 20161026
...据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite buffered : *[read-only] buffered 属性返回 TimeRanges(JS)对...
来源: laya_api 发布时间: 20170929
...据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite buffered : *[read-only] buffered 属性返回 TimeRanges(JS)对...
来源: Laya2.0_api 发布时间: 20190513
...as drawToTexture drawToTexture3D event frameLoop frameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponent getComponents getGraphicBounds getMousePoint getRepaint getSelfBounds get_anchorX get_anchorY get_height get_scaleX get_scaleY get_transform get_visible get_width...
来源: Laya3.0_api 发布时间: 20231115
...as drawToTexture drawToTexture3D event frameLoop frameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponent getComponents getGraphicBounds getMousePoint getRepaint getSelfBounds get_height get_scaleX get_scaleY get_transform get_visible get_width globalToLocal hasHideFl...
来源: Laya3.0_api 发布时间: 20231102