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

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

1. laya.display.cmd.FillTextCmd_API3.0 [ 100%]

...efined in laya/display/cmd/FillTextCmd.ts:139 定义文本颜色,比如"#ff0000"。 Returns string Defined in laya/display/cmd/FillTextCmd.ts:143 定义文本颜色,比如"#ff0000"。 Parameters value: string Returns void font get font(): string set font(value: string): void Defined in laya/disp...

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

2. laya.display.Graphics_API3.0 [ 86%]

...rush: any = null (可选)刷子定义,支持以下设置{fillStyle:"#FF0000"}。 Default value pen: any = null (可选)画笔定义,支持以下设置{strokeStyle,lineWidth,lineJoin:"bevel|round|miter",lineCap:"butt|round|square",miterLimit}。 Returns DrawPathCmd drawPie drawPie(x: numb...

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

3. laya.ani.GraphicsAni_API3.0 [ 84%]

...rush: any = null (可选)刷子定义,支持以下设置{fillStyle:"#FF0000"}。 Default value pen: any = null (可选)画笔定义,支持以下设置{strokeStyle,lineWidth,lineJoin:"bevel|round|miter",lineCap:"butt|round|square",miterLimit}。 Returns DrawPathCmd drawPie drawPie(x: numb...

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

4. laya.display.cmd.DrawPathCmd_API3.0 [ 82%]

...rawPathCmd.ts:26 (可选)刷子定义,支持以下设置{fillStyle:"#FF0000"}。 paths paths: any[] | null Defined in laya/display/cmd/DrawPathCmd.ts:22 路径集合,路径支持以下格式:[["moveTo",x,y],["lineTo",x,y],["arcTo",x1,y1,x2,y2,r],["closePath"]]。 pen pen: any Defined in la...

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

5. laya.ui.Styles_API3.0 [ 82%]

...atic buttonLabelColors buttonLabelColors: any[] = ["#32556b", "#32cc6b", "#ff0000"] Defined in laya/ui/Styles.ts:39 按钮标签颜色。 格式:[upColor,overColor,downColor]。 Static buttonStateNum buttonStateNum: number = 3 Defined in laya/ui/Styles.ts:34 按钮皮肤的状态数,支持1,2,3...

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

6. laya.ui.AutoBitmap_API3.0 [ 81%]

...lay/Graphics.ts:54 Returns AutoBitmap Properties _color _color: string = "#ffffff" Defined in laya/ui/AutoBitmap.ts:31 uv uv: number[] = null Defined in laya/ui/AutoBitmap.ts:29 Accessors cmds get cmds(): any[] set cmds(value: any[]): void Inherited from Graphics.cmds Defined in laya/display/Graphic...

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

7. laya.ui.Label_API3.0 [ 51%]

... label.padding = "10,10,10,10";//设置 label 的边距。 label.color = "#ff00ff";//设置 label 的颜色。 label.text = "Hello everyone,我是一个可爱的文本!";//设置 label 的文本内容。 label.x = 100;//设置 label 对象的属性 x 的值,用于控制 label 对象的显示位...

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

8. laya.html.dom.HTMLDivElement_API3.0 [ 44%]

...大小 font-weight:bold:none; 字体是否是粗体,功能同bold color:#ff0000; 字体颜色 stroke:2px; 字体描边宽度 strokeColor:#ff0000; 字体描边颜色 padding:10px 10px 20px 20px; 边缘的距离 vertical-align:top|bottom|middle; 垂直对齐方式 align:left|right|center; 水平对...

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

9. laya.display.Sprite_API3.0 [ 33%]

... 类的实例对象 sprite 。 shape.graphics.drawRect(0, 0, 100, 100, "#ccff00", "#ff0000", 2);//绘制一个有边框的填充矩形。 shape.x = 400;//设置 shape 对象相对于父容器的水平方向坐标值。 shape.y = 200;//设置 shape 对象相对于父容器的垂直方向坐标值。 ...

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

10. laya.ui.List_API3.0 [ 30%]

...nds Box { public function Item() { graphics.drawRect(0, 0, 100, 20,null, "#ff0000"); var label:Label = new Label(); label.text = "100000"; label.name = "label";//设置 label 的name属性值。 label.size(100, 20); addChild(label); } } example (function (_super){ function Item(){ Item.__super.call(...

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