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

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

251. laya.ui.TextArea_API3.0 [ 41%]

...Children 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 texture timer toolTip top transform type ubb underline underl...

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

252. laya2.0版本,富文本HTMLDivElement中<p>标签里使用<br />标签时报错,在<span>里也不行 [ 41%]

...l-align:top|bottom|middle;    垂直对齐方式      * align:left|right|center;             水平对齐方式      * line-height:20px;                    行高      * background-color:#ff0000;            背景颜色      * border-c...

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

253. laya.ui.View_API3.0 [ 40%]

...is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scene3D scrollRect skewX skewY stage staticCache texture timer top transform url viewport visible width x y zOrder root Methods _initialize _processActive addChild addChildAt addChildren add...

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

254. 基础文本 · LayaAir3.0文档 · LAYABOX [ 40%]

...对齐(align)分别是left(居左对齐)、center(居中对齐)、right(居右对齐);垂直对齐(valign)分别是top(居顶对齐)、middle(居中对齐)、bottom(居底对齐) bgColor 背景颜色,勾选后可以直接输入颜色值,例如:#ffffff,也可以点击...

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

255. laya.ui.Label [ 40%]

...值: "left": 居左对齐显示。 "center": 居中对齐显示。 "right": 居右对齐显示。 Label alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX轴锚点,值为0-1Component anchorY : NumberY轴锚...

来源: laya_api 发布时间: 20170929

256. laya.ui.Label [ 39%]

...值: "left": 居左对齐显示。 "center": 居中对齐显示。 "right": 居右对齐显示。 Label alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX...

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

257. 一篇了解LayaAir的屏幕适配,及有效抗锯齿(TypeScript-LayaAir基础篇(TS)-屏幕适配) [ 37%]

...2和图12-3仍然是故意没有处理。通过相对布局属性(leftright),把背景拉到全屏以及按钮拉到屏幕相对位置显示。实现各个屏幕下都做到完美的全屏适配。 ##### 3.2.3 自动保宽高模式fixedauto fixedauto自动保宽高模式就是在保障设...

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

258. laya.ui.Dialog_API3.0 [ 36%]

...opup left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scene3D scrollRect skewX skewY stage staticCache texture timer top transform url viewport visible width x y zOrder manager root Methods _initialize _processActive addChild addChildAt addChil...

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

259. 项目设置详解 · LayaAir3.0文档 · LAYABOX [ 36%]

...的参数为:left(居左对齐)、center(水平居中对齐)、right(居右对齐)。 [!Tip] 画布对齐不能理解为UI界面基于stage舞台的对齐,只是画布canvas相对于整个物理屏幕的对齐。 该设置在移动端,基本用不上,移动端绝大多数都需...

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

260. laya.ui.HBox [ 35%]

...0。轴心点会影响对象位置,缩放中心,旋转中心。Sprite right : Number 从组件右边到其内容区域右边之间的水平距离(以像素为单位)。 Component rotation : Number旋转角度,默认值为0。以角度为单位。Sprite scaleX : Number[override] X轴缩...

来源: laya_api 发布时间: 20170929