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

大约有 406 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0069 秒)

271. laya.ui.UIComponent [ 50%]

...件检测依据。 Stage对象和UI的View组件默认为true。 Sprite  left : Number 从组件左边到其内容区域左边之间的水平距离(以像素为单位)。 UIComponent mask : Sprite 遮罩,可以设置一个对象(支持位图和矢量图),根据对象形状进行遮罩显...

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

272. laya.ui.Component [ 50%]

...te  layoutEnabled : Boolean = true 是否启用相对布局 Component  left : Number 从组件左边到其内容区域左边之间的水平距离(以像素为单位)。 Component mask : Sprite 遮罩,可以设置一个对象(支持位图和矢量图),根据对象形状进行遮罩显示...

来源: laya_api 发布时间: 20170929

273. 2.0 Beta3版本中,runtime脚本的的问题 [ 50%]

...creenMode:string="none"; static alignV:string="top"; static alignH:string="left"; static startScene:any="mainscene.scene"; static sceneRoot:string=""; static debug:boolean=false; static stat:boolean=false; static physicsDebug:boolean=false; static exportSceneToJson:boolean=false; constructor(){} sta...

来源: Laya_社区 发布时间: 20181014

274. 关于位图字体的valign属性问题 [ 49%]

...0,80); text.pivotY=text.height>>1; text.valign="middle"; text.align="left"; text.borderColor="#ffffff"; text.text="hello!LayaBox!"; text.font=mFontName; Laya.stage.addChild(text); } } }测试结果: 1、value=top   2、value=middle   3、value=bottome 总结:并未发现你所说的问...

来源: Laya_社区 发布时间: 20161116

275. 竖屏游戏实现背景缩放铺满全屏,UI相对高度等比较缩放,UI位置始终按照竖屏比例显示在屏幕中间 [ 49%]

...宽高都设置为1334*750,然后设置给UI页面设置相对布局(left,right,top,bottom),最后在代码中设置适配模式SCALE_FIXED_WIDTH !

来源: Laya_社区 发布时间: 20180313

276. swf转成H5资源显示超出原有范围 [ 49%]

...放模式和对齐方式             stage.align = StageAlign.TOP_LEFT;             //setWindowFullSize();             IFlash.setOrientationEx(1); //是否为横屏模式,默认横屏 @param value 0 竖屏 1 横屏             IFlash.setBgcolor("#ffffff"); //背...

来源: Laya_社区 发布时间: 20170317

277. laya.ui.ColorPicker_API3.0 [ 48%]

...ScaleY graphics gray height hideFlags hitArea inputBgColor inputColor is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scrollRect selectedColor skewX skewY skin stage staticCache texture timer toolTip top transform url viewport visible wid...

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

278. laya.ui.ProgressBar_API3.0 [ 48%]

...tion globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scrollRect sizeGrid skewX skewY skin stage staticCache texture timer toolTip top transform url value viewport visible wi...

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

279. 关于微信小游戏的开放数据域,请问如何将开放数据域的canvas绘制到layaair的image上? [ 48%]

...ture.bitmap.alwaysChange = true; rankSprite2.graphics.drawTexture(texture, left*pixelRatio, top*pixelRatio, width*pixelRatio,height*pixelRatio);     这样在安卓上跑好卡啊 2018-05-07 0 0 分享 微博 QZONE 微信 yung 赞同来自: 关于开放域,微信将来回提供新方法,在此...

来源: Laya_社区 发布时间: 20180426

280. laya.ui.Slider_API3.0 [ 48%]

...tion globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask max min mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scrollRect showProgress sizeGrid skewX skewY skin stage staticCache texture tick timer toolTip top transform url...

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