Example #1
0
 /**
  * Set the options of the crop image view to the given values.
  */
 public void setCropImageViewOptions(CropImageViewOptions options)
 {
     mCropImageView.SetScaleType(options.scaleType);
     mCropImageView.SetCropShape(options.cropShape);
     mCropImageView.SetGuidelines(options.guidelines);
     mCropImageView.SetAspectRatio((int)options.aspectRatio.First, (int)options.aspectRatio.Second);
     mCropImageView.SetFixedAspectRatio(options.fixAspectRatio);
     mCropImageView.ShowCropOverlay = options.showCropOverlay;
     mCropImageView.ShowProgressBar = options.showProgressBar;
     mCropImageView.AutoZoomEnabled = options.autoZoomEnabled;
     mCropImageView.MaxZoom         = options.maxZoomLevel;
 }
Example #2
0
 /**
  * Set the options of the crop image view to the given values.
  */
 public void SetCropImageViewOptions(CropImageViewOptions options)
 {
     _cropImageView.SetScaleType(options.ScaleType);
     _cropImageView.SetCropShape(options.CropShape);
     _cropImageView.SetGuidelines(options.Guidelines);
     _cropImageView.SetAspectRatio(options.AspectRatio.AspectRatioX, options.AspectRatio.AspectRatioY);
     _cropImageView.SetFixedAspectRatio(options.FixAspectRatio);
     _cropImageView.SetMultiTouchEnabled(options.Multitouch);
     _cropImageView.ShowCropOverlay     = options.ShowCropOverlay;
     _cropImageView.ShowProgressBar     = options.ShowProgressBar;
     _cropImageView.AutoZoomEnabled     = options.AutoZoomEnabled;
     _cropImageView.MaxZoom             = options.MaxZoomLevel;
     _cropImageView.FlippedHorizontally = options.FlipHorizontally;
     _cropImageView.FlippedVertically   = options.FlipVertically;
 }
Example #3
0
 public void SetCropImageViewOptions(CropImageViewOptions options)
 {
     mCropImageView.SetScaleType(options.scaleType);
     mCropImageView.SetCropShape(options.cropShape);
     mCropImageView.SetGuidelines(options.guidelines);
     mCropImageView.SetAspectRatio(options.aspectRatio.Item1, options.aspectRatio.Item2);
     mCropImageView.SetFixedAspectRatio(options.fixAspectRatio);
     mCropImageView.SetMultiTouchEnabled(options.multitouch);
     mCropImageView.ShowCropOverlay     = (options.showCropOverlay);
     mCropImageView.ShowProgressBar     = (options.showProgressBar);
     mCropImageView.AutoZoomEnabled     = (options.autoZoomEnabled);
     mCropImageView.MaxZoom             = (options.maxZoomLevel);
     mCropImageView.FlippedHorizontally = (options.flipHorizontally);
     mCropImageView.FlippedVertically   = (options.flipVertically);
 }
 void showGuidelinesSpin_ItemSelected(object sender, AdapterView.ItemSelectedEventArgs e)
 {
     cropImageView.SetGuidelines(e.Position);
 }