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

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

151. laya.display.Input [ 44%]

... x:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0, complete:Handler = null):Sprite 加载并显示一个图片。功能等同于graphics.loadImage方法。支持异步加载。 注意:多次调用loadImage绘制不同的图片,会同时显示。 Sprite localToGlobal(point:Point, ...

来源: laya_api 发布时间: 20170929

152. laya.ui.UIComponent_API3.0 [ 44%]

...ponent.ts:281 鼠标悬停提示。 可以赋值为文本 String 或函数 Handler ,用来实现自定义样式的鼠标提示和参数携带等。 example private var _testTips:TestTipsUI = new TestTipsUI(); private function testTips():void { //简单鼠标提示 btn2.toolTip = "这里是鼠标...

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

153. laya.ui.Slider_API3.0 [ 44%]

...tor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize changeHandler hitTestPrior isVertical mouseThrough name showLabel tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy allowClickBack alpha anchorX anchorY bar blendMode bottom cacheAs centerX centerY compo...

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

154. laya.display.Input [ 43%]

....”设置为当前文本的内容。 Text loadImage(url:String, complete:Handler = null):Sprite 加载并显示一个图片。相当于加载图片后,设置texture属性 注意:2.0改动:多次调用,只会显示一个图片(1.0会显示多个图片),x,y,width,height参数取消。 Sp...

来源: Laya2.0_api 发布时间: 20190513

155. laya.ui.WXOpenDataViewer_API3.0 [ 43%]

...ponent.ts:312 鼠标悬停提示。 可以赋值为文本 String 或函数 Handler ,用来实现自定义样式的鼠标提示和参数携带等。 example private var _testTips:TestTipsUI = new TestTipsUI(); private function testTips():void { //简单鼠标提示 btn2.toolTip = "这里是鼠标...

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

156. laya.ui.TipManager_API3.0 [ 43%]

...cacheAs centerX centerY components customRenderEnable dataSource defaultTipHandler destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChil...

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

157. laya.display.Animation_API3.0 [ 43%]

...{ import laya.display.Animation; import laya.net.Loader; import laya.utils.Handler; public class Animation_Example { public function Animation_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 init();//初始...

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

158. laya.display.Stage [ 43%]

... x:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0, complete:Handler = null):Sprite 加载并显示一个图片。功能等同于graphics.loadImage方法。支持异步加载。 注意:多次调用loadImage绘制不同的图片,会同时显示。 Sprite localToGlobal(point:Point, ...

来源: laya_api 发布时间: 20170929

159. laya.ui.ScrollBar_API3.0 [ 43%]

...nGraphics _scene _skinBaseUrl _url autoHide autoSize bottomMoveLimit changeHandler disableDrag downButton elasticBackTime elasticDistance hitTestPrior isLockedFun mouseThrough name rollRatio scaleBar slider stopMoveLimit tag topMoveLimit triggerDownDragLimit triggerUpDragLimit upButton drawtocanvCtx...

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

160. laya.d3.core.scene.Scene [ 43%]

... x:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0, complete:Handler = null):Sprite 加载并显示一个图片。功能等同于graphics.loadImage方法。支持异步加载。 注意:多次调用loadImage绘制不同的图片,会同时显示。 Sprite localToGlobal(point:Point, ...

来源: laya_api 发布时间: 20170929