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

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

271. 插件开发说明 · LayaAir3.0文档 · LAYABOX [ 36%]

...tor.GUIUtils。 export interface IGUIUtils { /** * 编辑器默认的背景颜色 */ bgColor: gui.Color; /** * 编辑器默认的分割线颜色 */ lineColor: gui.Color; /** * 编辑器默认的文字颜色 */ textColor: gui.Color; createButton(autoSize?: boolean): gui.Button; createIconButton(flat?...

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

272. 位图字体的制作与使用(TypeScript-LayaAir基础篇(TS)-文本) [ 35%]

...h | 必须为32位,否则没有透明层。 | | Presets | 字体的初始颜色。如果用白色字,可以设定为`White text with alpha`,即白色字透明底。 | | Width | 导出的位图宽度 | | Height | 导出的位图高度 | | Font descriptor | 字体描述文件,必须要选择 x...

来源: Laya2.0_文档 发布时间: 20210715

273. laya.display.Animation_API3.0 [ 27%]

...、渲染模式。 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

274. laya.ui.Tab [ 26%]

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

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

275. laya.ui.Tab [ 24%]

... 默认值0,表示不描边。 UIGroup labelStrokeColor : String 描边颜色,以字符串表示。 默认值为 "#000000"(黑色); UIGroup layoutEnabled : Boolean = true 是否启用相对布局 Component left : Number 从组件左边到其内容区域左边之间的水平距离(以像...

来源: laya_api 发布时间: 20170929

276. 2D物理编辑 · LayaAir3.0文档 · LAYABOX [ 19%]

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

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