1.00
animationplus
animation
barxdroid.ArcMenuDemo.arcmenu
ArcMenu
activity
IsInitialized
Tests whether the object has been initialized.
boolean
_additem
Adds an item to the menu.
ItemImage - the image shown as the MenuItem
String
ItemImage
anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper
_class_globals
String
_initialize
Initializes the object.
Parameters:
Activity - The activity to add the OrbitalMenu to. Use 'Activity' to pass the current activity.
Module - Use 'Me'
EventName - The EventName to be use for callbacks.
_AnimationEnd(Open as Boolean) - this event triggers once the menu has finished expanding or collapsing.
Open - will return whether the menu is open or not.
_Click(Position as Int)
_LongClick(Position as Int)
Position - returns the Item Position that triggered the event. First Item = 1.
StaticButtonImage - A static background for the menu button. Use NULL for no image.
AnimatedButtonImage - A bitmap that will show in front of the StaticBackgroundImage and will rotate 90 degrees when pressed. Use NULL for no image.
x, y - The coordinates for where the button will appear.
String
ba
anywheresoftware.b4a.BA
Activity
anywheresoftware.b4a.objects.ActivityWrapper
Module
Object
EventName
String
AnimatedButtonImage
anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper
StaticButtonImage
anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper
x
int
y
int
_isopen
boolean
_setanimatedbuttondimensions
Use to override the dimensions of the AnimatedButtonImage
Defaults are 20dip x 20dip
String
width
int
height
int
_setdegreespan
Sets the amount of degrees the MenuItems Orbit will span from the starting point.
Default is 90
String
value
int
_setmenuitemdimensions
NOTE: Must be called before Adding and items to the menu.
Use to override the dimensions of the menu items.
Defaults are 40dip x 40dip
String
width
int
height
int
_setmenuitemradius
Use to set the Menu item radius (the distance the items pop out from center)
Default is 120dip
String
value
int
_setstartdegrees
Sets the angle the MenuItems Orbit will start at.
Default is 0 (straight up.)
String
value
int
_setstaticbuttondimensions
Use to override the dimensions of the StaticButtonImage
Defaults are 20dip x 20dip
String
width
int
height
int
_toggle
Simulates a Click of the menu Button
String
1