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

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

191. laya.ui.ProgressBar_API3.0 [ 46%]

... example 以下示例代码,创建了一个新 ProgressBar 实例,设置了它皮肤、位置、宽高、网格等信息,并添加到舞台上。 package { import laya.ui.ProgressBar; import laya.utils.Handler; public class ProgressBar_Example { private var progressBar:ProgressBar; publi...

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

192. laya.ui.TextInput [ 45%]

...alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指定...

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

193. laya.ui.ColorPicker_API3.0 [ 45%]

...er_Example { public function ColorPicker_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布背景颜色。 Laya.loader.load("resource/ui/color.png", Handler.create(this,onLoadComplete));//加载资源。 } private function onLoadComplete():...

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

194. laya.display.Text [ 44%]

...显示异常。(通常电脑上显示正常,在一些移动端因缺少设置字体而显示异常)。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By  align : String 表示文本水平显示方式。 取值: "left": 居左对齐...

来源: laya_api 发布时间: 20170929

195. laya.html.dom.HTMLDivElement [ 44%]

...内容变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显...

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

196. laya.display.Input [ 44%]

...prite  asPassword : Boolean 本API已弃用。使用type="password"替代设置asPassword, asPassword将在下次重大更新时删去。 指定文本字段是否是密码文本字段。 如果此属性值为 true,则文本字段被视为密码文本字段,并使用星号而不是实际字...

来源: laya_api 发布时间: 20170929

197. laya.ui.TextArea [ 44%]

...mponent asPassword : Boolean 本API已弃用。使用type="password"替代设置asPassword, asPassword将在下次重大更新时删去。 指定文本字段是否是密码文本字段。 如果此属性值为 true,则文本字段被视为密码文本字段,并使用星号而不是实际字...

来源: laya_api 发布时间: 20170929

198. 分享个用美术资源做位图文本方法。。。 [ 44%]

...rData.y,charData.w,charData.h); this.addChild(charSp); return charSp; } // 设置位置 private setCharsPos(){ switch (this._posType){ case BPFont.LEFT: this.setCharsPosOnLeft(); break; case BPFont.RIGHT: this.setCharsPosOnRight(); break; case BPFont.CENTER: this.setCharsPosOnCenter(); break; } } //...

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

199. laya.ui.TextInput [ 43%]

...onent  asPassword : Boolean 本API已弃用。使用type="password"替代设置asPassword, asPassword将在下次重大更新时删去。 指定文本字段是否是密码文本字段。 如果此属性值为 true,则文本字段被视为密码文本字段,并使用星号而不是实际字...

来源: laya_api 发布时间: 20170929

200. laya.display.Text_API3.0 [ 43%]

...显示异常。(通常电脑上显示正常,在一些移动端因缺少设置字体而显示异常)。 example package { import laya.display.Text; public class Text_Example { public function Text_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "...

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