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

ICOSFlip3DView

Written by Giuseppe Salvi

List of types:

ICOSFlip3DView

ICOSFlip3DView


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

Events:

animationend

Members:


  AutoRepeat

  AutoReverse

  FLIP_HORIZONTAL As Int

  FLIP_VERTICAL As Int

  Flip3DView (EventName As String, v As android.view.View, Degrees As Float, Duration As Long, Direction As Int)

  Flip3DView2 (EventName As String, v As android.view.View, FromDegrees As Float, ToDegrees As Float, Duration As Long)

  IsInitialized As Boolean

  StartAnim (view As android.view.View)

  StartAnimAtTime As Long  [write only]

  StopAnin (view As android.view.View)

  Swap2View (EventName As String, view1 As android.view.View, view2 As android.view.View, Duration As Long, Direction As Int)

  Version As Double  [read only]

Members description:

AutoRepeat
Set repeat infinity automatically
AutoReverse
Set reverse automatically
FLIP_HORIZONTAL As Int
FLIP_VERTICAL As Int
Flip3DView (EventName As String, v As android.view.View, Degrees As Float, Duration As Long, Direction As Int)
Direction -> FLIP_HORIZONTAL = 1
Direction -> FLIP_VERTICAL = 2
Example:
Dim anim As ICOSAnimation
Dim ImageView1 As ImageView
Dim Button1 As Button

Sub b1_Click
anim.Flip3DView("anim",ImageView1,180,3,anim.FLIP_HRIZONTAL)
anim.StartAnim(ImageView1)
End Sub
Flip3DView2 (EventName As String, v As android.view.View, 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.Flip3D_XYZ("anim",ImageView1,0,180,3,anim.FLIP_HRIZONTAL)
anim.StartAnim(ImageView1)
End Sub
IsInitialized As Boolean
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
Swap2View (EventName As String, view1 As android.view.View, view2 As android.view.View, Duration As Long, Direction As Int)
Direction -> FLIP_HORIZONTAL = 1
Direction -> FLIP_VERTICAL = 2
Example:
Dim anim As ICOSFlip3DView
Dim img1,img2 As ImageView
Dim Button1 As Button

Sub img1_Click
anim.Swap2View("anim",img1,img2)
End Sub
Version As Double  [read only]
Return the version of this library
Top