大约有 209 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0056 秒)
...ass Item extends Box { public function Item() { this.name = "render"; this.right = 0; this.left = 0; var selectBox:Clip = new Clip("resource/ui/clip_selectBox.png", 1, 2); selectBox.name = "selectBox"; selectBox.height = 24; selectBox.x = 13; selectBox.y = 0; selectBox.left = 12; addChild(selectBox)...
来源: Laya3.0_api 发布时间: 20231115
...。 取值范围: "left" :居左对齐; "center" :居中对齐; "right" :居右对齐; Stage alignV : String 垂直对齐方式。默认值为"top"。 取值范围: "top" :居顶部对齐; "middle" :居中对齐; "bottom" :居底部对齐; Stage alpha : Number透明...
来源: Laya2.0_api 发布时间: 20190513
...contentWidth/viewWidth或者contentHeight/viewHeight。 scrollLeft scrollRight scrollUp scrollDown 向指定方向滚动N*step。例如,如果step=20,那么scrollLeft(1)表示向左滚动20像素,scrollLeft(2)表示向左滚动40像素。注意:如果滚动属性设置了贴近元件,例...
来源: Laya3.0_文档 发布时间: 20251010
...对齐(align)分别是left(居左对齐)、center(居中对齐)、right(居右对齐);垂直对齐(valign)分别是top(居顶对齐)、middle(居中对齐)、bottom(居底对齐) 背景颜色 bgColor 背景颜色,勾选后可以直接输入颜色值,例如:#ffffff,也...
来源: Laya3.0_文档 发布时间: 20251010
...rl autoSize hitTestPrior isSortItem mouseThrough name tag CENTER LEFT NONE RIGHT drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy align alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayH...
来源: Laya3.0_api 发布时间: 20231115
...平对齐 labelAlign 文本标签的水平对齐模式:left、center、right,默认为居中对齐。 标签垂直对齐 labelVAlign 文本标签的垂直对齐模式:top、middle、bottom,默认为居中对齐。 标签边距 labelPadding 文本标签的边距。格式:上边距、右边...
来源: Laya3.0_文档 发布时间: 20251010
...轴心点会影响对象位置,缩放中心,旋转中心。Sprite right : Number 从组件右边到其内容区域右边之间的水平距离(以像素为单位)。 View root : Sprite[static] [read-only] 获取场景根容器Scene rotation : Number旋转角度,默认值为0。以角...
来源: Laya2.0_api 发布时间: 20190513
...距离 * vertical-align:top|bottom|middle; 垂直对齐方式 * align:left|right|center; 水平对齐方式 * line-height:20px; 行高 * background-color:#ff0000; 背景颜色 * border-color:#ff0000; 边框颜色 * width:100px; 对象宽度 * height:100px; 对象高度 * * 示例用法: * var div:...
来源: Laya3.0_文档 发布时间: 20230303
...轴心点会影响对象位置,缩放中心,旋转中心。Sprite right : Number 从组件右边到其内容区域右边之间的水平距离(以像素为单位)。 UIComponent rotation : Number旋转角度,默认值为0。以角度为单位。Sprite scaleX : Number[override] X轴...
来源: Laya2.0_api 发布时间: 20190513
...轴心点会影响对象位置,缩放中心,旋转中心。Sprite right : Number 从组件右边到其内容区域右边之间的水平距离(以像素为单位)。 Component rotation : Number旋转角度,默认值为0。以角度为单位。Sprite scaleX : Number[override] X轴缩...
来源: laya_api 发布时间: 20170929