Documentation
¶
Overview ¶
Package ani 动画特效.
Index ¶
- type Anima
- func (a *Anima) X停止() bool
- func (a *Anima) X取UI对象() int
- func (a *Anima) X取用户数据() int
- func (a *Anima) X启动() bool
- func (a *Anima) X启用自动销毁(是否启用 bool) int
- func (a *Anima) X布局大小(持续时间 int, 布局宽度类型 炫彩常量类.Layout_Size_, ...) *AnimaItem
- func (a *Anima) X布局宽度(持续时间 int, 布局宽度类型 炫彩常量类.Layout_Size_, ...) *AnimaItem
- func (a *Anima) X布局高度(持续时间 int, 布局高度类型 炫彩常量类.Layout_Size_, ...) *AnimaItem
- func (a *Anima) X延迟(持续时间 float32) *AnimaItem
- func (a *Anima) X延迟EX(持续时间 float32, 动画循环次数 int, ...) int
- func (a *Anima) X旋转(持续时间 int, 角度 float32, 动画循环次数 int, ...) *AnimaRotate
- func (a *Anima) X旋转EX(持续时间 int, 起点角度 float32, 终点角度 float32, ...) *AnimaRotate
- func (a *Anima) X显示(持续时间 float32, 显示或隐藏 bool) *AnimaItem
- func (a *Anima) X暂停() bool
- func (a *Anima) X移动(持续时间 int, 终点位置X float32, 终点位置Y float32, ...) *AnimaItem
- func (a *Anima) X移动EX(持续时间 int, 起点位置X float32, 起点位置Y float32, ...) *AnimaItem
- func (a *Anima) X缩放(持续时间 int, 轴缩放比例 float32, Y轴缩放比例 float32, ...) *AnimaScale
- func (a *Anima) X缩放大小(持续时间 int, 宽度 float32, 高度 float32, 动画循环次数 int, ...) *AnimaScale
- func (a *Anima) X置回调(回调函数 interface{}) int
- func (a *Anima) X置用户数据(用户数据 int) int
- func (a *Anima) X运行(当更新UI时重绘的UI层 int) int
- func (a *Anima) X透明度(持续时间 int, 透明度 uint8, 动画循环次数 int, ...) *AnimaItem
- func (a *Anima) X透明度EX(持续时间 int, 起始透明度 uint8, 终止透明度 uint8, ...) *AnimaItem
- func (a *Anima) X释放(是否立即执行到终点 bool) bool
- func (a *Anima) X释放EX(是否立即执行到终点 bool) int
- func (a *Anima) X销毁UI对象(持续时间 float32) *AnimaItem
- func (a *Anima) X颜色(持续时间 int, ABGR int, 动画循环次数 int, ...) *AnimaItem
- func (a *Anima) X颜色EX(持续时间 int, 起点颜色 int, 终点颜色 int, 动画循环次数 int, ...) *AnimaItem
- type AnimaGroup
- func (a *AnimaGroup) X停止() bool
- func (a *AnimaGroup) X取UI对象() int
- func (a *AnimaGroup) X取用户数据() int
- func (a *AnimaGroup) X启动() bool
- func (a *AnimaGroup) X启用自动销毁(是否启用 bool) int
- func (a *AnimaGroup) X暂停() bool
- func (a *AnimaGroup) X添加项(动画序列句柄 int) int
- func (a *AnimaGroup) X置回调(回调函数 interface{}) int
- func (a *AnimaGroup) X置用户数据(用户数据 int) int
- func (a *AnimaGroup) X运行(当更新UI时重绘的UI层 int) int
- func (a *AnimaGroup) X释放(是否立即执行到终点 bool) bool
- func (a *AnimaGroup) X释放EX(是否立即执行到终点 bool) int
- type AnimaItem
- type AnimaRotate
- type AnimaScale
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Anima ¶
type Anima struct {
// contains filtered or unexported fields
}
Anima 动画序列.
func (*Anima) X布局大小 ¶
func (a *Anima) X布局大小(持续时间 int, 布局宽度类型 炫彩常量类.Layout_Size_, width float32, nHeightType 炫彩常量类.Layout_Size_, height float32, nLoopCount int, ease_flag 炫彩常量类.Ease_Flag_, bGoBack bool) *AnimaItem
ff:布局大小 bGoBack: ease_flag: nLoopCount: height: nHeightType: width: nWidthType:布局宽度类型 duration:持续时间
func (*Anima) X布局宽度 ¶
func (a *Anima) X布局宽度(持续时间 int, 布局宽度类型 炫彩常量类.Layout_Size_, width float32, nLoopCount int, ease_flag 炫彩常量类.Ease_Flag_, bGoBack bool) *AnimaItem
ff:布局宽度 bGoBack: ease_flag: nLoopCount: width: nType:布局宽度类型 duration:持续时间
func (*Anima) X布局高度 ¶
func (a *Anima) X布局高度(持续时间 int, 布局高度类型 炫彩常量类.Layout_Size_, height float32, nLoopCount int, ease_flag 炫彩常量类.Ease_Flag_, bGoBack bool) *AnimaItem
ff:布局高度 bGoBack: ease_flag: nLoopCount: height: nType:布局高度类型 duration:持续时间
func (*Anima) X旋转 ¶
func (a *Anima) X旋转(持续时间 int, 角度 float32, 动画循环次数 int, 缓动标识 炫彩常量类.Ease_Flag_, bGoBack bool) *AnimaRotate
ff:旋转 bGoBack: ease_flag:缓动标识 nLoopCount:动画循环次数 angle:角度 duration:持续时间
func (*Anima) X旋转EX ¶
func (a *Anima) X旋转EX(持续时间 int, 起点角度 float32, 终点角度 float32, 动画循环次数 int, 缓动标识 炫彩常量类.Ease_Flag_, bGoBack bool) *AnimaRotate
ff:旋转EX bGoBack: ease_flag:缓动标识 nLoopCount:动画循环次数 to:终点角度 from:起点角度 duration:持续时间
func (*Anima) X移动 ¶
func (a *Anima) X移动(持续时间 int, 终点位置X float32, 终点位置Y float32, 动画循环次数 int, 缓动标识 炫彩常量类.Ease_Flag_, bGoBack bool) *AnimaItem
ff:移动 bGoBack: ease_flag:缓动标识 nLoopCount:动画循环次数 y:终点位置Y x:终点位置X duration:持续时间
func (*Anima) X移动EX ¶
func (a *Anima) X移动EX(持续时间 int, 起点位置X float32, 起点位置Y float32, 终点位置X float32, 终点位置Y float32, 动画循环次数 int, 缓动标识 炫彩常量类.Ease_Flag_, bGoBack bool) *AnimaItem
ff:移动EX bGoBack: ease_flag:缓动标识 nLoopCount:动画循环次数 to_y:终点位置Y to_x:终点位置X from_y:起点位置Y from_x:起点位置X duration:持续时间
func (*Anima) X缩放 ¶
func (a *Anima) X缩放(持续时间 int, 轴缩放比例 float32, Y轴缩放比例 float32, 动画循环次数 int, 缓动标识 炫彩常量类.Ease_Flag_, bGoBack bool) *AnimaScale
ff:缩放 bGoBack: ease_flag:缓动标识 nLoopCount:动画循环次数 scaleY:Y轴缩放比例 scaleX:轴缩放比例 duration:持续时间
func (*Anima) X缩放大小 ¶
func (a *Anima) X缩放大小(持续时间 int, 宽度 float32, 高度 float32, 动画循环次数 int, 缓动标识 炫彩常量类.Ease_Flag_, bGoBack bool) *AnimaScale
ff:缩放大小 bGoBack: ease_flag:缓动标识 nLoopCount:动画循环次数 height:高度 width:宽度 duration:持续时间
func (*Anima) X透明度 ¶
func (a *Anima) X透明度(持续时间 int, 透明度 uint8, 动画循环次数 int, 缓动标识 炫彩常量类.Ease_Flag_, bGoBack bool) *AnimaItem
ff:透明度 bGoBack: ease_flag:缓动标识 nLoopCount:动画循环次数 alpha:透明度 duration:持续时间
func (*Anima) X透明度EX ¶
func (a *Anima) X透明度EX(持续时间 int, 起始透明度 uint8, 终止透明度 uint8, 动画循环次数 int, 缓动标识 炫彩常量类.Ease_Flag_, bGoBack bool) *AnimaItem
ff:透明度EX bGoBack: ease_flag:缓动标识 nLoopCount:动画循环次数 to_alpha:终止透明度 from_alpha:起始透明度 duration:持续时间
type AnimaGroup ¶
type AnimaGroup struct {
// contains filtered or unexported fields
}
AnimaGroup 动画组.
type AnimaScale ¶
type AnimaScale struct {
炫彩对象基类.ObjectBase
}
AnimaScale 动画缩放项.
func (*AnimaScale) X置延伸位置 ¶
func (a *AnimaScale) X置延伸位置(位置 炫彩常量类.Position_Flag_) bool
ff:置延伸位置 position:位置