Android Programming Press on the image to return to the main documentation page.

ICOSRotateAnimation

Written by Giuseppe Salvi

List of types:

ICOSRotateAnimation

ICOSRotateAnimation


This is an 'Activity Object', it cannot be declared under Sub Process_Globals.

Events:

animationend

Members:


  AutoRepeat

  AutoReverse

  InfinityRotateCentre (EventName As String, RotateDegrees As Float, Duration As Long)

  InfinityRotateCentreReverse (EventName As String, RotateDegrees As Float, Duration As Long)

  IsInitialized As Boolean

  Rotate (EventName As String, FromDegrees As Float, ToDegrees As Float, Duration As Long)

  RotateCentre (EventName As String, RotateDegrees As Float, Duration As Long)

  RotateCentreReverse (EventName As String, RotateDegrees As Float, Duration As Long)

  RotateScaleCenterIn (EventName As String, Duration As Long)

  RotateScaleCenterOut (EventName As String, Duration As Long)

  RotateSlideFromBottom (EventName As String, RotateDegrees As Float, SlideValue As Float, Duration As Long)

  RotateSlideFromLeft (EventName As String, RotateDegrees As Float, SlideValue As Float, Duration As Long)

  RotateSlideFromRight (EventName As String, RotateDegrees As Float, SlideValue As Float, Duration As Long)

  RotateSlideFromTop (EventName As String, RotateDegrees As Float, SlideValue As Float, Duration As Long)

  RotateSlideToBottom (EventName As String, RotateDegrees As Float, SlideValue As Float, Duration As Long)

  RotateSlideToLeft (EventName As String, RotateDegrees As Float, SlideValue As Float, Duration As Long)

  RotateSlideToRight (EventName As String, RotateDegrees As Float, SlideValue As Float, Duration As Long)

  RotateSlideToTop (EventName As String, RotateDegrees As Float, SlideValue As Float, Duration As Long)

  StartAnim (view As android.view.View)

  StartAnimAtTime As Long  [write only]

  StopAnin (view As android.view.View)

  Version As Double  [read only]

Members description:

AutoRepeat
Set repeat infinity automatically
AutoReverse
Set reverse automatically
InfinityRotateCentre (EventName As String, RotateDegrees As Float, Duration As Long)
Example:
Dim anim As ICOSAnimation
Dim ImageView1 As ImageView
Dim Button1 As Button

Sub b1_Click
anim.InfinityRotateCentre("anim",360,2)
anim.StartAnim(ImageView1)
End Sub
InfinityRotateCentreReverse (EventName As String, RotateDegrees As Float, Duration As Long)
Example:
Dim anim As ICOSAnimation
Dim ImageView1 As ImageView
Dim Button1 As Button

Sub b1_Click
anim.InfinityRotateCentreReverse("anim",360,2)
anim.StartAnim(ImageView1)
End Sub
IsInitialized As Boolean
Rotate (EventName As String, FromDegrees As Float, ToDegrees As Float, Duration As Long)
Example:
Dim anim As ICOSAnimation
Dim ImageView1 As ImageView
Dim Button1 As Button

Sub b1_Click
anim.Rotate("anim",0,360,2)
anim.StartAnim(ImageView1)
End Sub
RotateCentre (EventName As String, RotateDegrees As Float, Duration As Long)
Example:
Dim anim As ICOSAnimation
Dim ImageView1 As ImageView
Dim Button1 As Button

Sub b1_Click
anim.RotateCentre("anim",360,2)
anim.StartAnim(ImageView1)
End Sub
RotateCentreReverse (EventName As String, RotateDegrees As Float, Duration As Long)
Example:
Dim anim As ICOSAnimation
Dim ImageView1 As ImageView
Dim Button1 As Button

Sub b1_Click
anim.RotateCentreReverse("anim",360,2)
anim.StartAnim(ImageView1)
End Sub
RotateScaleCenterIn (EventName As String, Duration As Long)
Example:
Dim anim As ICOSAnimation
Dim ImageView1 As ImageView
Dim Button1 As Button

Sub b1_Click
anim.RotateScaleCentreIn("anim",2)
anim.StartAnim(ImageView1)
End Sub
RotateScaleCenterOut (EventName As String, Duration As Long)
Example:
Dim anim As ICOSAnimation
Dim ImageView1 As ImageView
Dim Button1 As Button

Sub b1_Click
anim.RotateScaleCentreOut("anim",360,2)
anim.StartAnim(ImageView1)
End Sub
RotateSlideFromBottom (EventName As String, RotateDegrees As Float, SlideValue As Float, Duration As Long)
Example:
Dim anim As ICOSAnimation
Dim ImageView1 As ImageView
Dim Button1 As Button

Sub b1_Click
anim.RotateSlideFromBottom("anim",360,600,2)
anim.StartAnim(ImageView1)
End Sub
RotateSlideFromLeft (EventName As String, RotateDegrees As Float, SlideValue As Float, Duration As Long)
Example:
Dim anim As ICOSAnimation
Dim ImageView1 As ImageView
Dim Button1 As Button

Sub b1_Click
anim.RotateSlideFromLeft("anim",360,600,2)
anim.StartAnim(ImageView1)
End Sub
RotateSlideFromRight (EventName As String, RotateDegrees As Float, SlideValue As Float, Duration As Long)
Example:
Dim anim As ICOSAnimation
Dim ImageView1 As ImageView
Dim Button1 As Button

Sub b1_Click
anim.RotateSlideFromRight("anim",360,600,2)
anim.StartAnim(ImageView1)
End Sub
RotateSlideFromTop (EventName As String, RotateDegrees As Float, SlideValue As Float, Duration As Long)
Example:
Dim anim As ICOSAnimation
Dim ImageView1 As ImageView
Dim Button1 As Button

Sub b1_Click
anim.RotateSlideFromTop("anim",360,600,2)
anim.StartAnim(ImageView1)
End Sub
RotateSlideToBottom (EventName As String, RotateDegrees As Float, SlideValue As Float, Duration As Long)
Example:
Dim anim As ICOSAnimation
Dim ImageView1 As ImageView
Dim Button1 As Button

Sub b1_Click
anim.RotateSlideToBottom("anim",360,600,2)
anim.StartAnim(ImageView1)
End Sub
RotateSlideToLeft (EventName As String, RotateDegrees As Float, SlideValue As Float, Duration As Long)
Example:
Dim anim As ICOSAnimation
Dim ImageView1 As ImageView
Dim Button1 As Button

Sub b1_Click
anim.RotateSlideToLeft("anim",360,600,2)
anim.StartAnim(ImageView1)
End Sub
RotateSlideToRight (EventName As String, RotateDegrees As Float, SlideValue As Float, Duration As Long)
Example:
Dim anim As ICOSAnimation
Dim ImageView1 As ImageView
Dim Button1 As Button

Sub b1_Click
anim.RotateSlideToRight("anim",360,600,2)
anim.StartAnim(ImageView1)
End Sub
RotateSlideToTop (EventName As String, RotateDegrees As Float, SlideValue As Float, Duration As Long)
Example:
Dim anim As ICOSAnimation
Dim ImageView1 As ImageView
Dim Button1 As Button

Sub b1_Click
anim.RotateSlideToTop("anim",360,600,2)
anim.StartAnim(ImageView1)
End Sub
StartAnim (view As android.view.View)
anim.StartAnim
StartAnimAtTime As Long  [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