大约有 16 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0054 秒)
...本网格。 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
...绘制文字 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
... 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
...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
...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
...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
...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
...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
...a.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 onInit(); } private function onInit():void { var text:Text = new Text();//创建一个 Text 类的实例对象 text 。 text.text = "这个是一个 Text 文本示例。"; te...
来源: Laya3.0_api 发布时间: 20231115
...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