大约有 770 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0109 秒)
Laya_社区(540) Laya3.0_api(65) Laya2.0_api(59) laya_api(55) Laya2.0_文档(30) Laya3.0_文档(11) Laya2.0_示例(5) Laya_示例(5)
...yName("eggHole"+[eggLoc[i][0]+eggLoc[i][1]); b.graphics.drawTexture(Laya.loader.getRes(Res),tx-45,ty-45); b.size(92,96); b.name = "egg"+i; Laya.stage.addChild(b); ...
来源: Laya_社区 发布时间: 20170517
...x; 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); addChild(label); } } example (function (_sup...
来源: Laya3.0_api 发布时间: 20231115
...t OpenDataContextView Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX centerY components...
来源: Laya3.0_api 发布时间: 20231115
...rarchy LayoutBox VBox Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior isSortItem mouseThrough name tag CENTER LEFT NONE RIGHT drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy align alpha anchorX anchorY bgColor ble...
来源: Laya3.0_api 发布时间: 20231115
...ge的全局Y轴缩放值(会叠加父亲节点的缩放值)。 Sprite graphics : Graphics绘图对象。封装了绘制位图和矢量图的接口,Sprite所有的绘图操作都通过Graphics来实现的。Sprite gray : Boolean 是否变灰。Component height : Number[override] 表示显...
来源: laya_api 发布时间: 20170929
...rarchy LayoutBox HBox Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag BOTTOM MIDDLE NONE TOP drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy align alpha anchorX anchorY bgColor blendMode bott...
来源: Laya3.0_api 发布时间: 20231115
... Hierarchy Box Panel Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY com...
来源: Laya3.0_api 发布时间: 20231115
...ge的全局Y轴缩放值(会叠加父亲节点的缩放值)。 Sprite graphics : Graphics绘图对象。封装了绘制位图和矢量图的接口,Sprite所有的绘图操作都通过Graphics来实现的。Sprite height : Number[override] Video hitArea : * 可以设置一个Rectangle区...
来源: laya_api 发布时间: 20170929
...ierarchy Sprite Stage Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize canvasDegree canvasRotation designHeight designWidth focus hitTestPrior mouseThrough name renderingEnabled screenAdaptationEnabled tag useRetinalCanvas ALIGN_BOTTOM ALIGN_CENTER ALIG...
来源: Laya3.0_api 发布时间: 20231115
...ut.width; sharedCanvas.height = layout.height; //先清空绘制 // layout.graphics.clear(false); //设置大小 var canvas = new Laya.Texture(sharedCanvas); canvas.bitmap.alwaysChange = true;//小游戏使用,非常费,每帧刷新 sp.graphics.drawTexture(canvas); layout.addChild(sp); } /** ...
来源: Laya_社区 发布时间: 20190328