大约有 344 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0060 秒)
Laya_社区(179) Laya3.0_api(65) Laya2.0_文档(28) Laya_示例(17) Laya3.0_文档(14) Laya2.0_示例(14) Laya2.0_api(14) laya_api(13)
...x selection skewX skewY skin space stage stateNum staticCache strokeColors texture timer toolTip top transform url viewport visible width x y zOrder Methods _initialize _processActive _setSkin addChild addChildAt addChildren addComponent addComponentInstance addItem bubbleEvent callLater clearTimer ...
来源: Laya3.0_api 发布时间: 20231115
....)可以播放指定动画。 example 以下示例代码,创建了一个 Text 实例。 package { import laya.display.Animation; import laya.net.Loader; import laya.utils.Handler; public class Animation_Example { public function Animation_Example() { Laya.init(640, 800);//设置游戏画布宽高...
来源: Laya3.0_api 发布时间: 20231115
MultiLangText - 更简单的游戏多语言适配解决方案 LayaAir 引擎多语言 Text(Multi-language Text) Library. 源码: https://github.com/whilu/MultiLangText 示例代码:LangManager.init(false, "res/langFile.csv"); let multiLangText: MultiLangText = new MultiLangText(); multi...
来源: Laya_社区 发布时间: 20181205
...效,无论设置什么值,都是左对齐 var txtCountDown = new Laya.Text(); txtCountDown.fontSize = 30; this.rankSprite2.txtCountDown = txtCountDown; this.rankSprite2.addChild(txtCountDown); txtCountDown.text = 15; txtCountDown.pivotX = txtCountDown.width/2; txtCountDown.align = "right"; txtCo...
来源: Laya_社区 发布时间: 20180514
...downColor,disableColor"。 Button tag : * 对象的标签。 Component text : Text[read-only] 按钮文本标签 Text 控件。 Button texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawT...
来源: laya_api 发布时间: 20170929
...I DocumentationAll Packages | All Classes | Index | Frames No Frames TextAreaProperties | Methods | Events Packagelaya.uiClasspublic class TextAreaInheritanceTextArea TextInput Label Component Sprite Node EventDispatcher Object TextArea 类用于创建显示对象以显示和输入文本。...
来源: laya_api 发布时间: 20170929
...后,将ProgressBar拖入到其暴露的属性入口中。再添加一个Text组件,用于描述加载进度。需要添加如下的示例代码: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { @property({ type: Laya.ProgressBar }) public progressBa...
来源: Laya3.0_文档 发布时间: 20251010
...Color:* = null, lineWidth:Number = 1):void 绘制矩形。 Graphics drawTexture(tex:Texture, x:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0, m:Matrix = null, alpha:Number = 1):Array 绘制纹理。 Graphics drawTextures(tex:Texture, pos:Array):void 批量绘制同样纹理。 ...
来源: laya_api 发布时间: 20170929
...释放问题! package { import laya.display.Sprite; import laya.display.Text; import laya.events.Event; import laya.resource.HTMLCanvas; import laya.resource.Texture; import laya.utils.Browser; import laya.utils.Stat; public class LayaAirDemo { private var sp:Sprite ;//被截屏对象 private var ...
来源: Laya_社区 发布时间: 20170822
... scene scrollRect showProgress sizeGrid skewX skewY skin stage staticCache texture tick timer toolTip top transform url value viewport visible width x y zOrder Methods _initialize _processActive _setSkin addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTim...
来源: Laya3.0_api 发布时间: 20231115