public class ICOSFlip3DView
extends anywheresoftware.b4a.AbsObjectWrapper<android.view.animation.Animation>
Modifier and Type | Class and Description |
---|---|
class |
ICOSFlip3DView.Flip3dAnimation |
class |
ICOSFlip3DView.SwapViews |
Modifier and Type | Field and Description |
---|---|
int |
FLIP_HORIZONTAL |
int |
FLIP_VERTICAL |
Constructor and Description |
---|
ICOSFlip3DView() |
Modifier and Type | Method and Description |
---|---|
void |
AutoRepeat()
Set repeat infinity automatically
|
void |
AutoReverse()
Set reverse automatically
|
void |
Flip3DView(anywheresoftware.b4a.BA ba,
java.lang.String EventName,
android.view.View v,
float Degrees,
long Duration,
int Direction)
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
|
void |
Flip3DView2(anywheresoftware.b4a.BA ba,
java.lang.String EventName,
android.view.View v,
float FromDegrees,
float ToDegrees,
long Duration)
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
|
static double |
getVersion()
Return the version of this library
|
void |
setStartAnimAtTime(long Seconds)
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
|
void |
StartAnim(android.view.View view)
anim.StartAnim
|
void |
StopAnin(android.view.View view)
Stop the animation
|
void |
Swap2View(anywheresoftware.b4a.BA ba,
java.lang.String EventName,
android.view.View view1,
android.view.View view2,
long Duration,
int Direction)
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
|
public void Flip3DView(anywheresoftware.b4a.BA ba, java.lang.String EventName, android.view.View v, float Degrees, long Duration, int Direction)
public void Flip3DView2(anywheresoftware.b4a.BA ba, java.lang.String EventName, android.view.View v, float FromDegrees, float ToDegrees, long Duration)
public void Swap2View(anywheresoftware.b4a.BA ba, java.lang.String EventName, android.view.View view1, android.view.View view2, long Duration, int Direction)
public void AutoRepeat()
public void AutoReverse()
public void setStartAnimAtTime(long Seconds)
public void StartAnim(android.view.View view)
public void StopAnin(android.view.View view)
public static double getVersion()