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

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

201. laya.ui.FontClip [ 72%]

...ckagelaya.uiClasspublic class FontClipInheritanceFontClip Clip UIComponent Sprite Node EventDispatcher Object 字体切片,简化版的位图字体,只需设置一个切片图片和文字内容即可使用,效果同位图字体 使用方式:设置位图字体皮肤skin,设置皮肤对应...

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

202. laya.ui.ProgressBar [ 72%]

...kagelaya.uiClasspublic class ProgressBarInheritanceProgressBar UIComponent Sprite Node EventDispatcher Object ProgressBar 组件显示内容的加载进度。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否...

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

203. laya.ui.Button [ 72%]

... Events Packagelaya.uiClasspublic class ButtonInheritanceButton Component Sprite Node EventDispatcher ObjectImplements ISelectSubclasses CheckBox, Radio Button 组件用来表示常用的多态按钮。 Button 组件可显示文本标签、图标或同时显示两者。 可以是单态,两态和...

来源: laya_api 发布时间: 20170929

204. 屏幕适配-屏幕适配 [ 72%]

...种开发语言、LayaAirIDE让项目开发更高效。(function() { var Sprite = Laya.Sprite; var Stage = Laya.Stage; var Text = Laya.Text; var Event = Laya.Event; var Image = Laya.Image; var WebGL = Laya.WebGL; //所有适配模式 var modes = ["noscale", "exactfit", "showall", "noborder", "full",...

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

205. 报错:找不到基类,按照laya社区的解答做了,但是导致了另外一个类和接口出现一样的错 [ 71%]

... xiaozhibin 赞同来自: package com.demo1 {     import laya.display.Sprite;     import laya.display.Text;     /**      * @date 2017-10-25 下午12:28:23      * @author xiaozhibin      */      public class HelloLayaBox extends Sprite     {         public function Hell...

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

206. laya.ani.bone.Skeleton [ 71%]

... Events Packagelaya.ani.boneClasspublic class SkeletonInheritanceSkeleton Sprite Node EventDispatcher Object 骨骼动画由Templet,AnimationPlayer,Skeleton三部分组成。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolea...

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

207. laya.ui.UIComponent [ 71%]

... Events Packagelaya.uiClasspublic class UIComponentInheritanceUIComponent Sprite Node EventDispatcher ObjectSubclasses Box, Button, Clip, ColorPicker, ComboBox, Image, Label, ProgressBar, ScrollBar, Slider, TipManager, WXOpenDataViewer Component 是ui控件类的基类。 生命周期:preinitiali...

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

208. laya.ui.Slider [ 71%]

...vents Packagelaya.uiClasspublic class SliderInheritanceSlider UIComponent Sprite Node EventDispatcher ObjectSubclasses HSlider, VSlider 使用 Slider 控件,用户可以通过在滑块轨道的终点之间移动滑块来选择值。 滑块的当前值由滑块端点(对应于滑块的最小值...

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

209. 如何往TiledMap格子内追加精灵 [ 71%]

...tion"); //Create Bear Start for(var sCnt = 0; sCnt < 20; sCnt++){ createSprite(sCnt) } //Create Bear End } function createSprite(no){ var flower = new Sprite(); flower.loadImage(texture1); flower.pos((0 + no) * 99.5, 73); flower.mouseEnabled=true; flower.alpha=1; flower.on(Event.CLICK,this,functi...

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

210. laya.sprite 不接受click事件 [ 71%]

laya.sprite 不接受click事件 代码如下: this._firstSprite= new Laya.Sprite(); this._firstSprite.pos(100,150); Laya.stage.addChild(this._firstSprite); this._firstSprite.loadImage('../laya/assets/image/0.jpg'); //this._firstSprite.scale(0.3,0.3); this._firstSprite.size(200,200); //this._firs...

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