• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 334 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0068 秒)

281. laya.ani.bone.Skeleton [ 42%]

...口,Sprite所有的绘图操作都通过Graphics来实现的。Sprite height : Number 显示对象的高度,单位为像素,默认为0。 此高度用于鼠标碰撞检测,并不影响显示对象图像大小。需要对显示对象的图像进行缩放,请使用scale、scaleX、scaleY。...

来源: laya_api 发布时间: 20170929

282. laya.display.AnimationBase [ 42%]

...e : Boolean[read-only] 表示是否在显示列表中显示。Node displayHeight : Number[read-only] 对象的显示高度(以像素为单位)。 Sprite displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Sprite drawCallOptimize : BooleanSprite filters : Array...

来源: Laya2.0_api 发布时间: 20190513

283. 精灵 · LayaAir3.3 · 引擎文档 · LAYABOX [ 42%]

...理:图片路径 this.sprite.pos(Laya.stage.width >> 1, Laya.stage.height >> 1); //位置:屏幕中心 this.sprite.x = Laya.stage.width/2; //x、y分别设置位置 this.sprite.y = Laya.stage.height/2; this.sprite.size(512, 313); //大小 this.sprite.width = 512; //宽、高分别设...

来源: Laya3.0_文档 发布时间: 20251010

284. 屏幕适配 · LayaAir3.3 · 引擎文档 · LAYABOX [ 42%]

....Browser.clientWidth获取逻辑分辨率的宽,通过Laya.Browser.clientHeight获取逻辑分辨率的高。 在手机等移动设备的竖屏状态下,窄面为宽,长面为高。如果发生了屏幕翻转的横屏状态,则长的一面为宽,窄面为高。 在PC浏览器中,则是...

来源: Laya3.0_文档 发布时间: 20251010

285. laya.ani.bone.Skeleton [ 41%]

...e : Boolean[read-only] 表示是否在显示列表中显示。Node displayHeight : Number[read-only] 对象的显示高度(以像素为单位)。 Sprite displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Sprite drawCallOptimize : BooleanSprite filters : Array...

来源: Laya2.0_api 发布时间: 20190513

286. laya.ui.Slider [ 41%]

...e : Boolean[read-only] 表示是否在显示列表中显示。Node displayHeight : Number[read-only] 对象的显示高度(以像素为单位)。 Component displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Component filters : Array滤镜集合。可以设置多...

来源: laya_api 发布时间: 20170929

287. laya.display.Text [ 41%]

...口,Sprite所有的绘图操作都通过Graphics来实现的。Sprite  height : Number[override] 显示对象的高度,单位为像素,默认为0。 此高度用于鼠标碰撞检测,并不影响显示对象图像大小。需要对显示对象的图像进行缩放,请使用scale、scaleX...

来源: laya_api 发布时间: 20170929

288. laya.ui.Button_API3.0 [ 41%]

...oSize hitTestPrior mouseThrough name tag toggle drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX centerY clickHandler components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStag...

来源: Laya3.0_api 发布时间: 20231115

289. laya.ui.CheckBox_API3.0 [ 41%]

...oSize hitTestPrior mouseThrough name tag toggle drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX centerY clickHandler components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStag...

来源: Laya3.0_api 发布时间: 20231115

290. laya.ui.AsynDialog [ 41%]

...e : Boolean[read-only] 表示是否在显示列表中显示。Node displayHeight : Number[read-only] 对象的显示高度(以像素为单位)。 Component displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Component dragArea : String 用来指定对话框的拖...

来源: laya_api 发布时间: 20170929