大约有 511 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0061 秒)
Laya_社区(277) Laya2.0_文档(68) Laya3.0_api(54) Laya_示例(42) Laya3.0_文档(30) Laya2.0_示例(24) Laya2.0_api(9) laya_api(7)
...private var _tex:Texture; private var _htmlCanvas:HTMLCanvas; private var _colorSpr:Sprite; private var _colorTex:Texture; private var _initPixelCount:int; public function Main() { Laya.init(1024, 768, WebGL); Stat.show(0, 0); Laya.stage.bgColor = "#fff"; Laya.loader.load("assets/images/color1.png",...
来源: Laya_社区 发布时间: 20180302
...r htmlDiv:HTMLDivElement=new HTMLDivElement(); htmlDiv.innerHTML='<span color="#FF0000">哈哈哈</span><span color="#FFFF00">嘻嘻嘻</span>'; Laya.stage.addChild(htmlDiv); 2017-05-05 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请...
来源: Laya_社区 发布时间: 20170505
...:260px; margin-left:-200px;margin-top:-150px; visibility:hidden;background-color:#fff;z-index:100;border:1px solid grey;overflow: hidden;} .MyContent{position:fixed;left:50%;top:50%;} .MyBtn{width:100%;height:18%;background-color:white;} #confirm{position:fixed;left:49%;top:53%;font-size:30px;color:...
来源: Laya_社区 发布时间: 20181214
...字体 fontSize 文本字体大小,例如: 50,直接填写正整数 color 文本的颜色,可以直接输入颜色值,例如:#ffffff,也可以点击输入条右侧的拾色器选取颜色 style “B”(bold)是否为粗体,“I”(italic)是否为斜体,“U”是否有下划线 sy...
来源: Laya3.0_文档 发布时间: 20240910
...; directionLight.direction = new Laya.Vector3(0, -0.8, -1); directionLight.color = new Laya.Vector3(0.7, 0.6, 0.6); var plane = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/Zombie/old/Plane.lh")); var zombie = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/Zom...
来源: Laya_示例 发布时间: 20250223
...age.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; skins = ["../../res/ui/input (1).png", "../../res/ui/input (2).png", "../../res/ui/input (3).png", "../../res/ui/input (4).png"]; Laya.loader.load(skins, Handler.create(this, onLoadComplete)); //加载资...
来源: Laya_示例 发布时间: 20250223
...字体 fontSize 文本字体大小,例如: 50,直接填写正整数 color 文本的颜色,可以直接输入颜色值,例如:#ffffff,也可以点击输入条右侧的拾色器选取颜色 fit content 否("no"):无操作;高度和宽度("yes"):Label边框可以根据文字...
来源: Laya3.0_文档 发布时间: 20240910
...age.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Stat.show(); skins = ["res/ui/input (1).png", "res/ui/input (2).png", "res/ui/input (3).png", "res/ui/input (4).png"] Laya.loader.load(skins, Handler.create(this, this.onLoadComplete)); } onLoadComplete() {...
来源: Laya2.0_示例 发布时间: 20250223
... extends Sprite { public static const START:int = -90; public static const COLOR:String = "#000000"; private var r:Number = BarCell.WID / Math.SQRT2; private var rect:Rectangle = new Rectangle(0,0,BarCell.WID,BarCell.WID); private var pos:int = BarCell.WID*0.5; private var endTime:int; private var c...
来源: Laya_社区 发布时间: 20171124
...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