B4A Library PanoramaImageView

This is a wrap for this Github project: https://github.com/gjiazhe/PanoramaImageView

PanoramaImageview

Author: DonManfred
Version:
1.0
  • PanoramaImageView
    • Events:
      • onScrolled (value As Float)
    • Fields:
      • ba As BA
    • Functions:
      • BringToFront
      • DesignerCreateView (base As Panel, lw As Label, props As Map)
      • Initialize (EventName As String)
      • Invalidate
      • Invalidate2 (arg0 As android.graphics.Rect)
      • Invalidate3 (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
      • IsInitialized As Boolean
      • onPause
      • onResume
      • RemoveView
      • RequestFocus As Boolean
      • SendToBack
      • SetBackgroundImage (arg0 As android.graphics.Bitmap) As BitmapDrawable
      • SetColorAnimated (arg0 As Int, arg1 As Int, arg2 As Int)
      • SetLayout (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
      • SetLayoutAnimated (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int, arg4 As Int)
      • SetVisibleAnimated (arg0 As Int, arg1 As Boolean)
    • Properties:
      • Background As android.graphics.drawable.Drawable
      • Color As Int [write only]
      • Enabled As Boolean
      • Height As Int
      • ImageBitmap As android.graphics.Bitmap [write only]
      • ImageDrawable As android.graphics.drawable.Drawable [write only]
      • ImageURI As android.net.Uri [write only]
      • ImageURIstring As String [write only]
      • InvertScrollDirection As Boolean
      • Left As Int
      • Orientation As Byte [read only]
      • Padding As Int()
      • PanoramaModeEnabled As Boolean
      • Parent As Object [read only]
      • ScrollbarEnabled As Boolean
      • Tag As Object
      • Top As Int
      • Visible As Boolean
      • Width As Int

Attention: You need to
- call pan1.onResume in Activity_resume!
- call pan1.onPause in Activity_Pause!
for each PanoramaImageview...
 

Attachments

  • PanoramaImageviewV1.0.zip
    12.5 KB · Views: 374
  • PanoramaImageviewEx.zip
    357.6 KB · Views: 406
Top