大约有 241 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0083 秒)
...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Implementation of ISelect.hitTestPrior Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 ...
来源: Laya3.0_api 发布时间: 20231115
...laya/ui/HSlider" HSlider Class HSlider 使用 HSlider 控件,用户可以通过在滑块轨道的终点之间移动滑块来选择值。 HSlider 控件采用水平方向。滑块轨道从左向右扩展,而标签位于轨道的顶部或底部。 example 以下示例代码,创建了一个 HSlid...
来源: Laya3.0_api 发布时间: 20231115
...laya/ui/VSlider" VSlider Class VSlider 使用 VSlider 控件,用户可以通过在滑块轨道的终点之间移动滑块来选择值。 VSlider 控件采用垂直方向。滑块轨道从下往上扩展,而标签位于轨道的左右两侧。 example 以下示例代码,创建了一个 VSlider ...
来源: Laya3.0_api 发布时间: 20231115
...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之...
来源: laya_api 发布时间: 20170929
... 派发事件。 EventDispatcher getClip(playName:String):AnimationClip 通过播放名字获取动画片段。 Animator getClipCount():int 获取动画片段个数。 Animator hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。...
来源: laya_api 发布时间: 20170929
...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测是优先检测...
来源: Laya3.0_api 发布时间: 20231115
...ls "laya/ui/Slider" Slider Class Slider 使用 Slider 控件,用户可以通过在滑块轨道的终点之间移动滑块来选择值。 滑块的当前值由滑块端点(对应于滑块的最小值和最大值)之间滑块的相对位置确定。 滑块允许最小值和最大值之间特定...
来源: Laya3.0_api 发布时间: 20231115
...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图...
来源: Laya2.0_api 发布时间: 20190513
...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Implementation of ISelect.hitTestPrior Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 ...
来源: Laya3.0_api 发布时间: 20231115
...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测是优先检测...
来源: Laya3.0_api 发布时间: 20231115