Press on the image to return to the main documentation page.
ICOSFadeAnimation
Written by Giuseppe Salvi
List of types:
ICOSFadeAnimation
ICOSFadeAnimation
This is an 'Activity Object', it cannot be declared under Sub Process_Globals.
Events:
animationend
Members:
AutoRepeat
AutoReverse
FadeIn
(EventName
As
String
, Duration
As
Long
)
FadeInOut
(EventName
As
String
, Duration
As
Int
)
FadeOut
(EventName
As
String
, Duration
As
Long
)
FadeOutIn
(EventName
As
String
, Duration
As
Long
)
InfinityFade
(EventName
As
String
, Duration
As
Long
)
IsInitialized
As
Boolean
StartAnim
(
view
As
android.
view
.
View
)
StartAnimAtTime
As
Int
[write only]
StopAnin
(
view
As
android.
view
.
View
)
Version
As
Double
[read only]
Members description:
AutoRepeat
Set repeat infinity automatically
AutoReverse
Set reverse automatically
FadeIn (EventName
As
String
, Duration
As
Long
)
Example:
Dim anim As ICOSAnimation
Dim ImageView1 As ImageView
Dim Button1 As Button
Sub b1_Click
anim.FadeIn("anim",2)
anim.StartAnim(ImageView1)
End Sub
FadeInOut (EventName
As
String
, Duration
As
Int
)
Example:
Dim anim As ICOSAnimation
Dim ImageView1 As ImageView
Dim Button1 As Button
Sub b1_Click
anim.FadeInOut("anim",2)
anim.StartAnim(ImageView1)
End Sub
FadeOut (EventName
As
String
, Duration
As
Long
)
Example:
Dim anim As ICOSAnimation
Dim ImageView1 As ImageView
Dim Button1 As Button
Sub b1_Click
anim.FadeOut("anim",2)
anim.StartAnim(ImageView1)
End Sub
FadeOutIn (EventName
As
String
, Duration
As
Long
)
Example:
Dim anim As ICOSAnimation
Dim ImageView1 As ImageView
Dim Button1 As Button
Sub b1_Click
anim.FadeOutIn("anim",2)
anim.StartAnim(ImageView1)
End Sub
InfinityFade (EventName
As
String
, Duration
As
Long
)
Example:
Dim anim As ICOSAnimation
Dim ImageView1 As ImageView
Dim Button1 As Button
Sub b1_Click
anim.InfiniteFade("anim",2)
anim.StartAnim(ImageView1)
End Sub
IsInitialized
As
Boolean
StartAnim (
view
As
android.
view
.
View
)
anim.StartAnim
StartAnimAtTime
As
Int
[write only]
Example:
Dim anim As ICOSAnimation
Dim ImageView1 As ImageView
Dim Button1 As Button
Sub b1_Click
anim.StartAnimAtTime=5000 The Animation Will start after 5 seconds
anim.FadeOut(2)
anim.StartAnim(ImageView1)
End Sub
StopAnin (
view
As
android.
view
.
View
)
Stop the animation
Version
As
Double
[read only]
Return the version of this library
Top