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

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

41. laya.display.Text_API3.0 [ 47%]

...本显示为斜体。 text.borderColor = "#fff000";//设置 text 的文本边框颜色。 Laya.stage.addChild(text);//将 text 添加到显示列表。 } } } example Text_Example(); function Text_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efef...

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

42. laya.display.Text [ 46%]

...值为 true,则文本为粗体字。 Text  borderColor : String 文本边框背景颜色,以字符串表示。 Text cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自动重新缓存,同时也可以手动调用reCache方法更新缓...

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

43. laya.display.Text [ 45%]

...值为 true,则文本为粗体字。 Text  borderColor : String 文本边框背景颜色,以字符串表示。 Text cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自动重新缓存,同时也可以手动调用reCache方法更新缓...

来源: laya_api 发布时间: 20170929

44. laya.ui.ComboBox [ 45%]

...或被选中时背景颜色,悬停或被选中时标签颜色,标签颜色,边框颜色,背景颜色" ComboBox  itemRender : * = null 渲染项,用来显示下拉列表展示对象 ComboBox  itemSize : int 下拉列表项标签的字体大小。 ComboBox  labelBold : Boolean 表示按钮文...

来源: laya_api 发布时间: 20170929

45. laya.html.dom.HTMLDivElement [ 45%]

...:20px; 行高 background-color:#ff0000; 背景颜色 border-color:#ff0000; 边框颜色 width:100px; 对象宽度 height:100px; 对象高度 示例用法: var div:HTMLDivElement=new HTMLDivElement(); div.innerHTML = " a span span2 p "; Public Properties Hide Inherited Public Properties Show Inheri...

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

46. laya.ui.ColorPicker [ 44%]

...lighter"。Sprite  borderColor : String 表示颜色样本列表面板的边框颜色值。 ColorPicker bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 Component cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,...

来源: laya_api 发布时间: 20170929

47. laya.ui.ColorPicker [ 43%]

...lighter"。Sprite  borderColor : String 表示颜色样本列表面板的边框颜色值。 ColorPicker bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 UIComponent cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时...

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

48. 一篇了解所有的LayaAir文本组件(TypeScript-LayaAir基础篇(TS)-文本) [ 41%]

...ff0000;` | 背景颜色(仅div中使用) | | `border-color:#ff0000;` | 边框颜色(仅div中使用) | | `width:100px;` | 宽度(仅div中使用) | | `height:100px;` | 高度(仅div中使用) | 下面的代码是运用的示例代码, ```html 使用 HTMLDivElement  组件...

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

49. laya.display.Sprite_API3.0 [ 39%]

...raphics.drawRect(0, 0, 100, 100, "#ccff00", "#ff0000", 2);//绘制一个有边框的填充矩形。 shape.x = 400;//设置 shape 对象相对于父容器的水平方向坐标值。 shape.y = 200;//设置 shape 对象相对于父容器的垂直方向坐标值。 shape.width = 100;//设置 shape 对...

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

50. laya.ui.TextInput [ 39%]

...值为 true,则文本为粗体字。 Label borderColor : String 文本边框背景颜色,以字符串表示。 Label bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 UIComponent cacheAs : String 指定显示对象是否缓存为静态图...

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