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

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

21. laya.ui.TextArea [ 73%]

...背景 AutoBitmap 组件实例。 TextInput bgColor : String 文本背景颜色,以字符串表示。 Label blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bold : Boolean 指定文本是否为粗体字。 默认值为 false,这意味着不使用粗体字...

来源: laya_api 发布时间: 20170929

22. laya.ui.Label [ 73%]

...true,对性能有一定影响。 Sprite  bgColor : String 文本背景颜色,以字符串表示。 Label blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite  bold : Boolean 指定文本是否为粗体字。 默认值为 false,这意味着不使用粗体字...

来源: laya_api 发布时间: 20170929

23. 文本进阶使用 · LayaAir3.0文档 · LAYABOX [ 72%]

...t 定义字号和字体,比如"20px Arial"。 * @param color 定义文本颜色,比如"#ff0000"。 * @param textAlign 文本对齐方式,可选值:"left","center","right"。 */ fillText(text: string | WordText, x: number, y: number, font: string, color: string, textAlign: string): FillTe...

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

24. laya.ui.UIGroup [ 71%]

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

来源: laya_api 发布时间: 20170929

25. [闪退!!!][崩溃!!Crash]LayaNative 2.8.0 js 调用 oc 同步方法,有返回值的时候崩溃 [ 71%]

... QZONE 微信 nothing 赞同来自: 把 官方教程里面的 设置背景颜色方法 像这样 给一个 返回值,就重现bug 崩溃了.. +(NSString *)bgColor:(NSString*)color {          NSString *str = @"hahahahahaha";     NSDictionary *dict = @ {         @"code" : @(1),         ...

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

26. laya.ui.Button [ 71%]

...字。 Button  labelColors : String 表示按钮各个状态下的文本颜色。 格式: "upColor,overColor,downColor,disableColor"。 Button  labelFont : String 表示按钮文本标签的字体名称,以字符串形式表示。 Button  labelPadding : String 表示按钮文本标签的边...

来源: laya_api 发布时间: 20170929

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

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

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

28. laya.ui.ColorPicker [ 68%]

... Sprite Node EventDispatcher Object ColorPicker 组件将显示包含多个颜色样本的列表,用户可以从中选择颜色。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHie...

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

29. laya.ui.ComboBox [ 67%]

...拉列表的打开状态。 ComboBox  itemColors : String 下拉列表项颜色。 格式:"悬停或被选中时背景颜色,悬停或被选中时标签颜色,标签颜色,边框颜色,背景颜色" ComboBox  itemRender : * = null 渲染项,用来显示下拉列表展示对象 ComboBox  it...

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

30. ComboBox属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 66%]

...--------------- | | itemColors | 下拉列表项的各状态的标签文本颜色值集合。详细请参考API。 | | itemSize | 下拉列表项的标签文本的字体大小。 | ### 1.4 ComboBox 组件下拉按钮相关属性 ​ ![图片0.png](img/8.png) ​ (图8) ​ ![图片0.png](img/9.p...

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