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

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

101. laya.ui.VBox_API3.0 [ 70%]

...otation scaleX scaleY scene scrollRect skewX skewY space stage staticCache texture timer toolTip top transform url viewport visible width x y zOrder Methods _initialize _processActive _setWidth addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contain...

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

102. laya.ui.HBox_API3.0 [ 70%]

...otation scaleX scaleY scene scrollRect skewX skewY space stage staticCache texture timer toolTip top transform url viewport visible width x y zOrder Methods _initialize _processActive _setHeight addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contai...

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

103. LayaAir下TTF字体的使用方式? [ 70%]

...代码如下:package { import laya.display.Sprite; import laya.display.Text; import laya.ui.Image; import laya.webgl.WebGL; public class TTFTest { public function TTFTest() { Laya.init(550,400); var sp:Image=new Image(); sp.loadImage("2.png"); Laya.stage.addChild(sp); var text:Text=new Text(); tex...

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

104. 基础文本 · LayaAir3.3 · 引擎文档 · LAYABOX [ 70%]

基础文本(Text)1. LayaAir IDE中使用Text1.1 创建Text1.2 属性介绍1.3 Syntax属性1.4 脚本控制Text2. 代码创建Text基础文本(TextText继承于Sprite,是静态文本的基础组件。这里我们介绍一下Text专属的组件属性。 1. LayaAir IDE中使用Text 1.1 ...

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

105. bitmapFont.loadFont()加载多个地址导致位图输出重 [ 69%]

...加载多个地址导致位图输出重 构造函数中是 this.setDataByTextureList("\n6+", ["res/fontadd/num6.fnt","res/fontadd/num+.fnt"]);     private setDataByTextureList(value:string, urls:string[]){ for(var i=0;i<urls.length;i++){ var bitmapFont: BitmapFont = new BitmapFont(); var url=ur...

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

106. 使用laya官方示例代码制作微信小游戏无法显示 [ 69%]

...= 4; var label: Label = new Label(); label.font = "Microsoft YaHei"; label.text = "SAMPLE DEMO"; label.fontSize = 30; label.color = color; if (strokeColor) { label.stroke = STROKE_WIDTH; label.strokeColor = strokeColor; } Laya.stage.addChild(label); return label; } } } //初始化微信小游戏 Lay...

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

107. LayaAir下加载阿拉伯TTF字体,手机上显示时左右顺序反了。 [ 69%]

... = "#0e277a"; Laya.stage.frameRate = "fast"; Config.atlasEnable = true;   Text.CharacterCache = false; Text.setTextRightToLeft(); //设置文字排版模式为右到左。 Styles.labelColor = "#FFFFFF"; Font.defaultColor = "#FFFFFF"; Font.defaultSize = 36; Font.defaultFamily = "Arial"; //Arial 微...

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

108. bind函数的作用 [ 69%]

... 【BUG备忘录】关于Tween动画无法正常作用问题-解决办法 Text类中竟然没有pos函数的api~ MiniAdpter.autoCacheFile=true没有任何作用,并没有缓存资源 lineCap不起作用,什么原因了? 时间冒泡了,stopPropagation 不起作用 var text = new Laya.Text();...

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

109. laya.ui.Label [ 69%]

...lInheritanceLabel UIComponent Sprite Node EventDispatcher ObjectSubclasses TextInput Label 类用于创建显示对象以显示文本。 See alsolaya.display.TextPublic Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是...

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

110. LayaAirIDE中第一个程序“Hello Layabox”(ActionScript-LayaAir基础篇(AS3)-快速上手) [ 69%]

... * @author laya_Aaron(小明)      */     import laya.display.Text;     public class HelloLayabox     {         public function HelloLayabox()         {             //创建舞台,默认背景色是黑色的             Laya.init(600...

来源: Laya2.0_文档 发布时间: 20210715