大约有 212 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0048 秒)
...动时才显示滚动条,否则隐藏。 Hidden 始终隐藏。 Bar On Left 是否将滚动条显示在左边。 Bar Floating 勾选后,滚动条不占据视口的位置,而是直接覆盖在视口上面。例如一个适用于手机的滚动条,它是细条且半透明的,只在滚动时...
来源: Laya3.0_文档 发布时间: 20251010
...上的一致性与可用性。 代码中的使用示例如下: this.xx.left = 0; this.xx.right = 0; this.xx.top = 0; this.xx.bottom = 0; this.xx.CenterX = 0; this.xx.CenterY = 0; 3.2 数据源dataSource 在实际开发中,从网络获取的数据有时候与 UI 组件预期的数据结构不完...
来源: Laya3.0_文档 发布时间: 20251010
...Sprite layoutEnabled : Boolean = true 是否启用相对布局 Component left : Number 从组件左边到其内容区域左边之间的水平距离(以像素为单位)。 Component mask : Sprite 遮罩,可以设置一个对象(支持位图和矢量图),根据对象形状进行遮罩显示...
来源: laya_api 发布时间: 20170929
...件检测依据。 Stage对象和UI的View组件默认为true。 Sprite left : Number 从组件左边到其内容区域左边之间的水平距离(以像素为单位)。 UIComponent mask : Sprite 遮罩,可以设置一个对象(支持位图和矢量图),根据对象形状进行遮罩显示...
来源: Laya2.0_api 发布时间: 20190513
...,比如"#ff0000"。 textAlign: string 文本对齐方式,可选值:"left","center","right"。 lineWidth: number 镶边线条宽度。 borderColor: string 定义镶边文本颜色。 Returns FillTextCmd fillText fillText(text: string | WordText, x: number, y: number, font: string, color: st...
来源: Laya3.0_api 发布时间: 20231115
...线条宽度。 textAlign:String — 文本对齐方式,可选值:"left","center","right"。 fillText()method public function fillText(text:String, x:Number, y:Number, font:String, color:String, textAlign:String, underLine:int = 0):void 在画布上绘制文本。 Parameters text:String ...
来源: laya_api 发布时间: 20170929
...s PropertyDefined By alignH : String 水平对齐方式。默认值为"left"。 取值范围: "left" :居左对齐; "center" :居中对齐; "right" :居右对齐; Stage alignV : String 垂直对齐方式。默认值为"top"。 取值范围: "top" :居顶部对齐; "middle"...
来源: laya_api 发布时间: 20170929
...是否激活。 Node alignH : String 水平对齐方式。默认值为"left"。 取值范围: "left" :居左对齐; "center" :居中对齐; "right" :居右对齐; Stage alignV : String 垂直对齐方式。默认值为"top"。 取值范围: "top" :居顶部对齐; "middle" ...
来源: Laya2.0_api 发布时间: 20190513
...线条宽度。 textAlign:String — 文本对齐方式,可选值:"left","center","right"。 ReturnsFillBorderTextCmdfillText()method public function fillText(text:String, x:Number, y:Number, font:String, color:String, textAlign:String):FillTextCmd 在画布上绘制文本。 Parameters ...
来源: Laya2.0_api 发布时间: 20190513
...效。 水平对齐方式 align 水平对齐方式,共有三种方式。left:居左对齐,center:居中对齐,right:居右对齐。 切片字符表 sheet 位图内容范围,位图内容在有换行时需要在换行的位置添加空格。 切片显示内容 value 位图数字内容。...
来源: Laya3.0_文档 发布时间: 20251010