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

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

261. laya.ui.TextArea [ 82%]

...nts Packagelaya.uiClasspublic class TextAreaInheritanceTextArea TextInput Label Component Sprite Node EventDispatcher Object TextArea 类用于创建显示对象以显示和输入文本。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By align...

来源: laya_api 发布时间: 20170929

262. matter中有没有类似于unity中的OnCollision碰撞检测函数呀,用js怎么写 [ 82%]

... event.pairs.length; i++) {  var pair = event.pairs[i];  if(!(pair.bodyA.label === 'gun' || pair.bodyB.label == "gun")) continue;  var other;  if (pair.bodyA.label === 'gun') { other = pair.bodyB; } else { other = pair.bodyA; }  switch(other.label) { case "gameover": { home.onGameOver(); } brea...

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

263. RadioGroup属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 82%]

...如动图3所示。 ​ ![动图3](img/3.gif) (动图3) ### 2.2 通过labels增加单选框 ​ 如动图3中所示,默认的单选框组中只有两个单选框。如想增加单选框,只需在labels属性中增加新的标签即可,修改标签内容也在该属性中设置,操作如...

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

264. RadioGroup属性详解(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 82%]

...如动图3所示。 ​ ![动图3](img/3.gif) (动图3) ### 2.2 通过labels增加单选框 ​ 如动图3中所示,默认的单选框组中只有两个单选框。如想增加单选框,只需在labels属性中增加新的标签即可,修改标签内容也在该属性中设置,操作如...

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

265. laya.ui.TextInput [ 82%]

...s | Events Packagelaya.uiClasspublic class TextInputInheritanceTextInput Label UIComponent Sprite Node EventDispatcher ObjectSubclasses TextArea TextInput 类用于创建显示对象以显示和输入文本。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties Pro...

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

266. [LayaAirIDE3]laya3.0 radiogroup问题 [ 82%]

[LayaAirIDE3]laya3.0 radiogroup问题 IDE里创建一个radioGroup,Labels默认为label1,label2 , 然后修改为其他更长的,比如asdqwdqwd,wqdqwdqwd,qwdqwdwqd 内容就会裁剪,显示不完整。  如图显示的   附件 : --> 2025-09-05 添加评论 免费帖 --> 分享 微博 QZ...

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

267. laya.ui.List_API3.0 [ 82%]

...列表的数据信息。 for (var i:int = 0; i < 20; i++) { arr.push({label: "item" + i}); } var list:List = new List();//创建一个 List 类的实例对象 list 。 list.itemRender = Item;//设置 list 的单元格渲染器。 list.repeatX = 1;//设置 list 的水平方向单元格数量。 li...

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

268. RadioGroup属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 82%]

...如动图3所示。 ​ ![动图3](img/3.gif) (动图3) ### 2.2 通过labels增加单选框 ​ 如动图3中所示,默认的单选框组中只有两个单选框。如想增加单选框,只需在labels属性中增加新的标签即可,修改标签内容也在该属性中设置,操作如...

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

269. 关于fillText问题 [ 82%]

关于fillText问题 private label_image:Laya.Sprite=new Laya.Sprite(); this.label_image.graphics.fillText(xxx, xxx,"15px Arial","#000000","center"); this.label_image.pos(0,0) Laya.stage.addChild(this.label_image); 这样写为什么CurMem会增加接近16M,这不就是在精灵上绘制嘛,...

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

270. LayaAir 文字需要可选复制,通过这个功能导致各种间接问题。 [ 82%]

...wgj.com/layabox/api/ 问题: 1、文字模糊 2、可选变大变小 3、Label 没有可选方法 4、手机上,文字不能可选复制。 建议 1、在 Label中增加一个 可选的selectable 属性,并且编辑时,不会影响原有格式。 2、希望文字的清晰度可以和,当...

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