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

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

211. laya.ui.Label_API3.0 [ 38%]

...的行间距。 label.wordWrap = true;//设置 label 自动换行。 label.padding = "10,10,10,10";//设置 label 的边距。 label.color = "#ff00ff";//设置 label 的颜色。 label.text = "Hello everyone,我是一个可爱的文本!";//设置 label 的文本内容。 label.x = 100;//设置 lab...

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

212. 输入文本组件 · LayaAir3.0文档 · LAYABOX [ 38%]

...内容多行时有效。间距以像素为单位,输入正整数即可 padding 文本边距,以像素为单位,由4个整数值组成。“U”表示距上边框的距离、”R“表示距右边框的距离、”D“表示距下边框的距离、”L”表示距左边框的距离 underlinecol...

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

213. laya.events.Event [ 37%]

...区分标准键盘 (KeyLocation.STANDARD) 与数字键盘 (KeyLocation.NUM_PAD) 上按下的数字键。 Event  nativeEvent : * 原生浏览器事件。Event  shiftKey : Boolean[read-only] 表示 Shift 键是处于活动状态 (true) 还是非活动状态 (false)。 Event  stageX : Number[read...

来源: laya_api 发布时间: 20170929

214. 如何能监听到TouchStart和TouchEnd事件 [ 36%]

...区分标准键盘 (KeyLocation.STANDARD) 与数字键盘 (KeyLocation.NUM_PAD) 上按下的数字键。          */         keyLocation: number;         /**鼠标在 Stage 上的 X 轴坐标*/         stageX: number;         /**鼠标在 Stage 上的 Y 轴坐标*...

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

215. laya.ui.UIEvent [ 36%]

...区分标准键盘 (KeyLocation.STANDARD) 与数字键盘 (KeyLocation.NUM_PAD) 上按下的数字键。 Event nativeEvent : * 原生浏览器事件。Event shiftKey : Boolean[read-only] 表示 Shift 键是处于活动状态 (true) 还是非活动状态 (false)。 Event stageX : Number[read-only]...

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

216. laya.ui.UIEvent [ 35%]

...区分标准键盘 (KeyLocation.STANDARD) 与数字键盘 (KeyLocation.NUM_PAD) 上按下的数字键。 Event nativeEvent : * 原生浏览器事件。Event shiftKey : Boolean[read-only] 表示 Shift 键是处于活动状态 (true) 还是非活动状态 (false)。 Event stageX : Number[read-only]...

来源: laya_api 发布时间: 20170929

217. HTML文本 · LayaAir3.0文档 · LAYABOX [ 34%]

...stroke:2px; 字体描边宽度 * strokeColor:#ff0000; 字体描边颜色 * padding:10px 10px 20px 20px; 边缘的距离 * vertical-align:top|bottom|middle; 垂直对齐方式 * align:left|right|center; 水平对齐方式 * line-height:20px; 行高 * background-color:#ff0000; 背景颜色 * border-co...

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

218. laya.display.Input_API3.0 [ 34%]

...bled mouseX mouseY multiline nativeInput numChildren objContainer overflow padding parent pivotX pivotY prompt promptColor restrict rotation scaleX scaleY scene scrollRect scrollX scrollY singleCharRender skewX skewY stage staticCache stroke strokeColor templateVars text textHeight textWidth texture...

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

219. laya.ui.TextInput_API3.0 [ 34%]

...axChars maxWidth mouseEnabled mouseX mouseY multiline numChildren overflow padding parent pivotX pivotY prompt promptColor restrict right rotation scaleX scaleY scene scrollRect sizeGrid skewX skewY skin stage staticCache stroke strokeColor templateVars text textField texture timer toolTip top trans...

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

220. laya.ui.TextArea_API3.0 [ 34%]

...ScrollY maxWidth mouseEnabled mouseX mouseY multiline numChildren overflow padding parent pivotX pivotY prompt promptColor restrict right rotation scaleX scaleY scene scrollRect scrollType scrollX scrollY sizeGrid skewX skewY skin stage staticCache stroke strokeColor templateVars text textField text...

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