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

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

321. 富文本:LayaAir下 HtmlDivElement的使用汇总 [ 32%]

...Monica - 知识达人 赞同来自: 同一个文本中字体大小不同,颜色不同 var htmlD:HTMLDivElement = new HTMLDivElement(); Laya.stage.addChild(htmlD); htmlD.innerHTML = "<font style='fontSize:30' color='#67fc2c'>测试<br/></font><font style='fontSize:20'>html...

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

322. 艰难的历程 [ 32%]

...切片,然后用tiledmap拼起来,新建一层(起名Roadblock),然后用颜色很深的图块(我是用黑色的)抹在一些建筑、河流之类不能行走的地方,再新建对象层(起名object),画了个一个图块(我的是20*20)的矩形,起名Role   代码中,getLayerObject("object","Ro...

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

323. laya.ui.UIGroup_API3.0 [ 31%]

...tring): void Inherited from Box.bgColor Defined in laya/ui/Box.ts:25 背景颜色 Returns string Inherited from Box.bgColor Defined in laya/ui/Box.ts:29 背景颜色 Parameters value: string Returns void blendMode get blendMode(): string set blendMode(value: string): void Inherited from Text.blendMo...

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

324. laya.ui.ViewStack [ 28%]

...设置为true,对性能有一定影响。 Sprite bgColor : String背景颜色Box blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 UIComponent cacheAs : St...

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

325. 2D物理系统 · LayaAir3.3 · 引擎文档 · LAYABOX [ 26%]

... (图18-1) 在关节连线的编辑模式时,通过长按拖拽不同颜色锚点,就可以改变对应的刚体锚点位置。 当鼠标双击刚体和节点之外的位置后,关节连续锚点的编辑会自动取消。如需再次编辑,再次点击编辑关节连线按钮即可。 4...

来源: Laya3.0_文档 发布时间: 20251010

326. laya.ui.Tree_API3.0 [ 23%]

...Laya.init(640, 800); Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/vscroll.png", "resource/ui/vscroll$bar.png", "resource/ui/vscroll$down.png", "resource/ui/vscroll$up.png", "resource/ui/clip_selectBox.png", "resource/ui/clip_tree_folder.png", "resour...

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

327. laya.display.Stage_API3.0 [ 21%]

...r(value: string): void Defined in laya/display/Stage.ts:675 舞台的背景颜色,默认为黑色,null为透明。 Returns string Defined in laya/display/Stage.ts:679 舞台的背景颜色,默认为黑色,null为透明。 Parameters value: string Returns void blendMode get blendMode(): strin...

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

328. laya.display.Animation_API3.0 [ 17%]

...、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 init();//初始化 } private function init():void { var animation:Animation = new Animation();//创建一个 Animation 类的实例对象 animation 。 animation.loadAtlas("resource/ani/fighter.json");//加载图集...

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

329. laya.ui.ViewStack_API3.0 [ 14%]

...tring): void Inherited from Box.bgColor Defined in laya/ui/Box.ts:25 背景颜色 Returns string Inherited from Box.bgColor Defined in laya/ui/Box.ts:29 背景颜色 Parameters value: string Returns void blendMode get blendMode(): string set blendMode(value: string): void Inherited from Text.blendMo...

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

330. laya.ui.HSlider_API3.0 [ 12%]

...戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/hslider.png", "resource/ui/hslider$bar.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete():void { hSlider = new HSlider();//创建一个 HS...

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