大约有 10 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0055 秒)
...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
...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
...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
...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
...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
...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
... 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
...大小 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
... 类的实例对象 sprite 。 shape.graphics.drawRect(0, 0, 100, 100, "#ccff00", "#ff0000", 2);//绘制一个有边框的填充矩形。 shape.x = 400;//设置 shape 对象相对于父容器的水平方向坐标值。 shape.y = 200;//设置 shape 对象相对于父容器的垂直方向坐标值。 ...
来源: Laya3.0_api 发布时间: 20231115
...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