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

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

391. laya.ui.List_API3.0 [ 65%]

...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

392. laya.display.Stage_API3.0 [ 64%]

...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

393. laya.ui.ColorPicker_API3.0 [ 64%]

...Component ColorPicker Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize changeHandler hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode borderColor bottom ...

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

394. laya.ui.ProgressBar_API3.0 [ 64%]

...Component ProgressBar Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize changeHandler hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bar bg blendMode bottom cacheAs cente...

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

395. laya.ui.HSlider_API3.0 [ 64%]

...rarchy Slider HSlider Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize changeHandler hitTestPrior isVertical mouseThrough name showLabel tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy allowClickBack alpha anchorX anchorY b...

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

396. laya.ui.VSlider_API3.0 [ 64%]

...rarchy Slider VSlider Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize changeHandler hitTestPrior isVertical mouseThrough name showLabel tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy allowClickBack alpha anchorX anchorY b...

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

397. laya.ui.ScrollBar_API3.0 [ 64%]

...VScrollBar HScrollBar Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoHide autoSize bottomMoveLimit changeHandler disableDrag downButton elasticBackTime elasticDistance hitTestPrior isLockedFun mouseThrough name rollRatio scaleBar slider stopMoveLimit tag t...

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

398. laya.ui.WXOpenDataViewer_API3.0 [ 64%]

...nent WXOpenDataViewer Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name drawtocanvCtx Accessors active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX centerY components customRenderEnable dataSourc...

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

399. laya.sprite精灵无缝拼接地图,会出现黑线跟白线,使用laya的2.0.1beta版本 [ 64%]

...mg():void { var texture:Laya.Texture = Laya.loader.getRes(this.name); this.graphics.fillTexture(texture,0,0,256,256,"repeat"); // this.texture = texture; } 这样设置 没什么效果~~ 设置那个Canvas也没有效果 2019-03-16 0 0 分享 微博 QZONE 微信 178*****216 赞同来自: 请问解...

来源: Laya_社区 发布时间: 20190315

400. 鼠标交互-双指缩放(多点触控) [ 64%]

...); } function createSprite() { sp = new Sprite(); var w = 300, h = 300; sp.graphics.drawRect(0, 0, w, h, "#FF7F50"); sp.size(w, h); sp.pivot(w / 2, h / 2); sp.pos(Laya.stage.width / 2, Laya.stage.height / 2); Laya.stage.addChild(sp); sp.on(Event.MOUSE_DOWN, this, onMouseDown); } function onMouseDown...

来源: Laya_示例 发布时间: 20251209