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

大约有 1,122 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0091 秒)

371. 鼠标交互-双指旋转(多点触控) [ 66%]

...); } function createSprite() { sp = new Sprite(); var w = 200, 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_示例 发布时间: 20240930

372. laya.ui.ScaleBox_API3.0 [ 66%]

...ierarchy Box ScaleBox 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 co...

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

373. laya.ui.Box_API3.0 [ 66%]

...aleBox Tree ViewStack 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 co...

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

374. laya.ui.TextInput_API3.0 [ 66%]

...Label TextInput TextArea Index Constructors constructor Properties _extra _graphics _ownGraphics _scene _skinBaseUrl _tf _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy align alpha anchorX anchorY bgColor blendMode bold borde...

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

375. laya.ui.OpenDataContextView_API3.0 [ 65%]

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

376. laya.ui.Panel_API3.0 [ 65%]

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

377. laya.ui.LayoutBox_API3.0 [ 65%]

...x LayoutBox HBox VBox Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy align alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX cent...

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

378. laya.ui.TipManager_API3.0 [ 65%]

...IComponent TipManager Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx offsetX offsetY tipBackColor tipDelay tipTextColor Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY ...

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

379. 请教个问题(UI相关):有个区域180*180像素,我想给他弄个边框(2px solid #ccc)或背景色,我要用那个UI组件呢? [ 65%]

...sprite 绘制一个矢量图的方块背景。 加边框可以用矢量图 graphic 画一个。 或者让美术做一个漂亮的边框, 或者用发光滤镜。 2018-06-29 0 4 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 Thylx 相关问...

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

380. laya.ui.ViewStack_API3.0 [ 65%]

...erarchy Box ViewStack 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 co...

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