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

jxResizeAndCrop

Written by Klaus CHRISTL (klaus)

List of types:

xResizeAndCrop

xResizeAndCrop


Events:

CropFinished

Members:


  Class_Globals As String

  CroppedImage As B4XBitmapWrapper [read only]

  CroppedView As B4XViewWrapper [write only]

  DesignerCreateView (Base As Object, Lbl As LabelWrapper, Props As Map) As String

  getCroppedImage As B4XBitmapWrapper

  getHandleColor As Int

  getHeight As Int

  getImage As B4XBitmapWrapper

  getLeft As Int

  getMinCroppedHeight As Int

  getMinCroppedWidth As Int

  getTop As Int

  getVisible As Boolean

  getWidth As Int

  HandleColor As Int

  Height As Int

  Image As B4XBitmapWrapper

  Initialize (Callback As Object, EventName As String) As String

  IsInitialized As Boolean

  Left As Int

  LoadImage (Dir As String, FileName As String) As String

  MinCroppedHeight As Int

  MinCroppedWidth As Int

  setCroppedView (CroppedView As B4XViewWrapper) As String

  setHandleColor (HandleColor As Int) As String

  setHeight (Height As Int) As String

  setImage (Image As B4XBitmapWrapper) As String

  setLeft (Left As Int) As String

  setMinCroppedHeight (MinCroppedHeight As Int) As String

  setMinCroppedWidth (MinCroppedWidth As Int) As String

  setTop (Top As Int) As String

  setVisible (Visible As Boolean) As String

  setWidth (Width As Int) As String

  Top As Int

  Visible As Boolean

  Width As Int

Members description:

Class_Globals As String
CroppedImage As B4XBitmapWrapper [read only]
gets the cropped image as a B4XBitmap, read only
CroppedView As B4XViewWrapper [write only]
sets the Panel / Pane view for the cropped image, write only
the Panel / Pane view must be added in the main code and transmitted to the custom view as this property.
DesignerCreateView (Base As Object, Lbl As LabelWrapper, Props As Map) As String
getCroppedImage As B4XBitmapWrapper
gets the cropped image as a B4XBitmap, read only
getHandleColor As Int
sets or gets the HandleColor property
value must a xui color
Example code: xResizeAndCrop1.HandleColor = xui.Color_RGB(255, 215, 0)
getHeight As Int
sets or gets the Height property
getImage As B4XBitmapWrapper
getLeft As Int
sets or gets the Left property
getMinCroppedHeight As Int
sets or gets the MinHeight property
value in pixels, no dip value
getMinCroppedWidth As Int
sets or gets the MinWidth property
value in pixels, no dip value
getTop As Int
sets or gets the Top property
getVisible As Boolean
sets or gets the Visible property
getWidth As Int
sets or gets the Width property
HandleColor As Int
sets or gets the HandleColor property
value must a xui color
Example code: xResizeAndCrop1.HandleColor = xui.Color_RGB(255, 215, 0)
Height As Int
sets or gets the Height property
Image As B4XBitmapWrapper
sets the image (B4XBitmap) to the Customview, write only
Initialize (Callback As Object, EventName As String) As String
IsInitialized As Boolean
Tests whether the object has been initialized.
Left As Int
sets or gets the Left property
LoadImage (Dir As String, FileName As String) As String
loads the given image file to the xResizeAndCrop Customview
MinCroppedHeight As Int
sets or gets the MinHeight property
value in pixels, no dip value
MinCroppedWidth As Int
sets or gets the MinWidth property
value in pixels, no dip value
setCroppedView (CroppedView As B4XViewWrapper) As String
sets the Panel / Pane view for the cropped image, write only
the Panel / Pane view must be added in the main code and transmitted to the custom view as this property.
setHandleColor (HandleColor As Int) As String
setHeight (Height As Int) As String
setImage (Image As B4XBitmapWrapper) As String
sets the image (B4XBitmap) to the Customview, write only
setLeft (Left As Int) As String
setMinCroppedHeight (MinCroppedHeight As Int) As String
setMinCroppedWidth (MinCroppedWidth As Int) As String
setTop (Top As Int) As String
setVisible (Visible As Boolean) As String
setWidth (Width As Int) As String
Top As Int
sets or gets the Top property
Visible As Boolean
sets or gets the Visible property
Width As Int
sets or gets the Width property

Top