大约有 58 项符合查询结果, 库内数据总量为 30,784 项。 (搜索耗时: 0.0054 秒)
...listArr[0].refresh() } /** * 创建BOX */ class Item extends Laya.Box{ public static WID:number =100; public static HEI:number =30; constructor(){ super() this.size(Item.WID,Item.HEI); var img1 =new Laya.Im...
来源: Laya_社区 发布时间: 20190522
...格类,继承于Box import laya.ui.Box; import laya.ui.Image; class Item extends Box { /***单元格宽***/ public static var WID:int = 375; /***单元格高***/ public static var HEI:int = 85; /***单元格中图片***/ public var img:Image; public function Item() { //设置大小宽高 size(WID,...
来源: Laya2.0_文档 发布时间: 20210715
...截图如下: 核心代码如下 export default class OutlineMaterial extends Laya.BaseMaterial { constructor() { super() var attributeMap = { 'a_Position': Laya.VertexMesh.MESH_POSITION0, 'a_Normal': Laya.VertexMesh.MESH_NORMAL0, 'a_Texcoord': Laya.VertexMesh.MESH_TEXTURECOORDINATE0, } var uni...
来源: Laya_社区 发布时间: 20180925
...开放域代码请勿使用该类 */ export class WXBitmap extends Laya.Sprite { private $viewName: string; private $texture: Laya.Texture; private $bitmap: any; private $timer: lie.Timer; public auto: boolean = true; // ...
来源: Laya_社区 发布时间: 20181114
...port laya.utils.Browser; import ui.test.HtmlPageUI; public class HtmlView1 extends HtmlPageUI { private var str:String; private var str2:String; private var isSend:Boolean=false; public function HtmlView1() { super(); // 文本样式一 str="<span color='blue' style=' font" + ":18px 华文琥珀'...
来源: Laya_社区 发布时间: 20170107
...Button; import laya.ui.Dialog; import laya.ui.Image; class Dialog_Instance extends Dialog { function Dialog_Instance():void { var bg:Image = new Image("resource/ui/bg.png"); bg.sizeGrid = "40,10,5,10"; bg.width = 150; bg.height = 250; addChild(bg); var image:Image = new Image("resource/ui/image.png"...
来源: Laya3.0_api 发布时间: 20231115
...dex= ", index); } } } import laya.ui.Box; import laya.ui.Label; class Item extends 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); addCh...
来源: Laya3.0_api 发布时间: 20231115
... import laya.ui.Box; import laya.ui.Clip; import laya.ui.Label; class Item extends Box { public function Item() { this.name = "render"; this.right = 0; this.left = 0; var selectBox:Clip = new Clip("resource/ui/clip_selectBox.png", 1, 2); selectBox.name = "selectBox"; selectBox.height = 24; selectBox...
来源: Laya3.0_api 发布时间: 20231115