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

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

1. laya.d3.text.TextMesh_API3.0 [ 100%]

...本网格。 Hierarchy TextMesh Index Constructors constructor Accessors color fontSize text Constructors constructor new TextMesh(): TextMesh Defined in laya/d3/text/TextMesh.ts:58 创建一个新的 TextMesh 实例。 Returns TextMesh Accessors color get color(): Color set color(value: Color): voi...

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

2. laya.display.cmd.FillTextCmd_API3.0 [ 91%]

...绘制文字 Hierarchy FillTextCmd Index Properties x y ID Accessors align color font stroke strokeColor text Methods recover create Properties x x: number = 0 Defined in laya/display/cmd/FillTextCmd.ts:19 开始绘制文本的 x 坐标位置(相对于画布)。 y y: number = 0 Defined in laya/d...

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

3. laya.ui.AutoBitmap_API3.0 [ 79%]

... Hierarchy Graphics AutoBitmap Index Constructors constructor Properties _color uv Accessors cmds color height sizeGrid source width Methods addCmd alpha clear clipRect destroy drawCircle drawCurves drawEllipse drawImage drawLine drawLines drawPath drawPie drawPoly drawRect drawTexture drawTextures ...

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

4. laya.display.Graphics_API3.0 [ 77%]

...turns void drawCircle drawCircle(x: number, y: number, radius: number, fillColor: any, lineColor?: any, lineWidth?: number): DrawCircleCmd Defined in laya/display/Graphics.ts:544 绘制圆形。 Parameters x: number 圆点X 轴位置。 y: number 圆点Y 轴位置。 radius: number 半径。 fillCol...

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

5. laya.ani.GraphicsAni_API3.0 [ 76%]

...turns void drawCircle drawCircle(x: number, y: number, radius: number, fillColor: any, lineColor?: any, lineWidth?: number): DrawCircleCmd Inherited from Graphics.drawCircle Defined in laya/display/Graphics.ts:544 绘制圆形。 Parameters x: number 圆点X 轴位置。 y: number 圆点Y 轴位置...

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

6. laya.ui.Label_API3.0 [ 74%]

...a.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 onInit(); } private function onInit():void { var label:Label = new Label();//创建一个 Label 类的实例对象 label 。 label.font = "Arial";//设置 label 的字体。 ...

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

7. laya.ui.TextInput_API3.0 [ 73%]

...a.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/input.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete():void { var textInput:TextInput = new T...

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

8. laya.ui.TextArea_API3.0 [ 73%]

...Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/input.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete():void { var textArea:TextArea = new Tex...

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

9. laya.display.Text_API3.0 [ 71%]

...a.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 onInit(); } private function onInit():void { var text:Text = new Text();//创建一个 Text 类的实例对象 texttext.text = "这个是一个 Text 文本示例。"; te...

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

10. laya.display.Input_API3.0 [ 68%]

...ightSet _isWidthSet active activeInHierarchy align alpha anchorX anchorY bgColor blendMode bold borderColor cacheAs color components customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize editable filters focus font fontSize globalRotation globalScaleX globalScaleY...

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