Slider 控件

手工滚动条。

属性/方法 说明
Min 最小值
Max 最大值
Value 当前值,超范围产生错误
Orientation 方向
BorderStyle 边框样式
LargeChange 大调整值
SmallChange 小调整值

Orientation 参数

常量 说明
ccOrientationVertical  垂直
ccOrientationHorizontal 水平

BorderStyle 参数

常量 说明
ccNone  无框
ccFixedSingle 单线边框