大约有 58 项符合查询结果, 库内数据总量为 30,784 项。 (搜索耗时: 0.0040 秒)
...ize; import laya.ui.Image; public class ProcessTimer extends Sprite { public var img:Image; public var maskSp:Sprite; public var percent:Number; public var type:String = "PROGRESS_TIMER_TYPE_RADIAL"; p...
来源: Laya_社区 发布时间: 20180404
...———————————————— public class MainActivity extends Activity{ private IPlugin mPlugin = null; private IPluginRuntimeProxy mProxy = null; boolean isLoad=false; boolean isExit=false; private WebView webView = null; private Acti...
来源: Laya_社区 发布时间: 20170517
...下: /**Created by the LayaAirIDE*/ module view { export class Guide extends ui.GuideUI { constructor() { super(); // 创建Video元素 let videoElmt: any = Laya.Browser.createElement("video"); Laya.Browser.document.body.appendChild(videoElmt); // 设置Video元素地样式和属性 videoElmt.s...
来源: Laya_社区 发布时间: 20180802
...分享 微博 QZONE 微信 1553745787用户 赞同来自: class DialogPage extends ui.DialogPageUI { private tip:Laya.TipManager = new Laya.TipManager(); constructor() { super(); this.popupEffect= new Laya.Handler(this, function(dialog:Dialog):void { dialog.scale(1, 1); Laya.Tween.from(dialog, {x: L...
来源: Laya_社区 发布时间: 20180620
...ui.Image; /** * ... * @author Caixiansheng */ public class HProgressSlider extends HSlider { /**@private */ protected var _progress:Image protected var _proMask:Sprite; public function HProgressSlider(skin:String=null) { super(skin); } override protected function initialize():void{ super.initialize(...
来源: Laya_社区 发布时间: 20170327
...幕旋转后滚动条没有跟随旋转 module dialog { export class WanF extends ui.dialog.WanFUI { constructor() { super(); this.rotation = 90; this.pos(1060, 280); let panel = new Laya.Panel(); panel.size(638, 527); panel.vScrollBarSkin = "CommDialog/vscroll.png"; this.sp_wanfa.addChild(panel); l...
来源: Laya_社区 发布时间: 20180426
...有将mask拿掉测试,发现就不会有类似问题。class GameLayer extends ui.GameLayerUI { private infos : any; constructor () { super (); this.infos = { rotation : 0 }; Laya.timer.frameLoop(1,this,()=> { this.infos.rotation += 1; if (this.infos.rotation >= 360) this.infos.rotation -= ...
来源: Laya_社区 发布时间: 20180720
..."Box", "props": {"name": "render", "right": "0", "left": "0"}}; class Item extends Box { constructor() { super(); this.right = 0; this.left = 0; var selectBox: Clip = new Clip("res/ui/tree/clip_selectBox.png", 1, 2); selectBox.name = "selectBox";//设置 selectBox 的name 为“selectBox”时,将...
来源: Laya2.0_文档 发布时间: 20210714
...+ index); } } import Box = Laya.Box; import Image = Laya.Image; class Item extends Box { public static WID: number = 373; public static HEI: number = 85; private img: Image; constructor(){ super(); this.size(Item.WID, Item.HEI); this.img = new Image(); this.addChild(this.img); } public setImg(src: s...
来源: Laya2.0_文档 发布时间: 20210715
...ght": "0", "left": "0"}}; /****树形结构中的单元格****/ class Item extends Box { public function Item() { //实例“文件夹”背景切片对象 var selectBox:Clip = new Clip("../../../../res/ui/tree/clip_selectBox.png", 1, 2); //设置 selectBox 的name 为“selectBox”时,将被识...
来源: Laya2.0_文档 发布时间: 20210715