大约有 159 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0119 秒)
...效果基本上还行, /* * 位图字体; */ class BPFont extends Laya.Sprite{ // 文本内容 private _text: string; // json数据 private _jsonData: any; // 图片数据 private _imageData: Laya.Texture; // 文本字间距 private _padding: number = 0; // 所有元素; private charSprites: Lay...
来源: Laya_社区 发布时间: 20161014
...: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加...
来源: Laya3.0_api 发布时间: 20231115
...有需要的可以参考下/* * 位图字体; */ class BPFont extends Laya.Sprite { // 文本内容 private _text: string; // 水平排列方式 private _align: string; // 资源前缀 private resFix: string; // 间距 private _padding: number; // 位图集合 private chars: Laya.Sprite = ; // 回...
来源: Laya_社区 发布时间: 20180302
... 要回复问题请先登录 发起人 HumanBin 相关问题 如何设置Sprite的宽高和点击区域? 使用钢体设置防穿后仍有几率会穿透 list 每次滑动,都是可以滑动一点点,可不可以如何设置,让他每次滑动,只能固定的值。 创建动效模板 可...
来源: Laya_社区 发布时间: 20220823
...上了 参照技术文档自定义Shader写的TypeScript版本,运行后 Sprite 显示尺寸不对,帮忙看下哪里要调整? Laya.TextArea如何设置文本行高间距 ui 编辑器里 两个不同的ui控件的前后关系如何调整? 这个设置了以后是不是还要进行什么调...
来源: Laya_社区 发布时间: 20171102
...例参考代码如下 参考代码如下:package { import laya.display.Sprite; import laya.display.Text; import laya.ui.Image; import laya.webgl.WebGL; public class TTFTest { public function TTFTest() { Laya.init(550,400); var sp:Image=new Image(); sp.loadImage("2.png"); Laya.stage.addChild(sp); v...
来源: Laya_社区 发布时间: 20160514
...gelaya.uiClasspublic class TextInputInheritanceTextInput Label UIComponent Sprite Node EventDispatcher ObjectSubclasses TextArea TextInput 类用于创建显示对象以显示和输入文本。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By a...
来源: Laya2.0_api 发布时间: 20190513
...kagelaya.uiClasspublic class TextInputInheritanceTextInput Label Component Sprite Node EventDispatcher ObjectSubclasses TextArea TextInput 类用于创建显示对象以显示和输入文本。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By a...
来源: laya_api 发布时间: 20170929
...unction createBody() { var size = 200, x = 200, y = 200; var sp = new Laya.Sprite(); var text = Laya.loader.getRes("res/bar.png"); var w = size, h = size/5; sp.pivot(w/2, h/2); sp.graphics.fillTexture(text, 0, 0, w, h); partA = Matter.Bodies.rectangle(x, y, w, h, { isStatic:true, layaSprite:sp, });...
来源: Laya_社区 发布时间: 20180625
...素不能点击两次 3d物理不能触发onCollisionEnter事件 new Laya.Sprite();绘制图形以后,怎么删除释放资源? dialog可以点击到外部的元素,如何使其外边不能点击 在线急等,发现你们这个编译器一个bug,不能实现负负得正 web端打包发布...
来源: Laya_社区 发布时间: 20230728