Skip to content

CropImageEditView Attribute Wiki

Sieun Ju edited this page Dec 4, 2022 · 1 revision
  • cropGuidelines (off, onTouch, on)
    • Default Value onTouch
  • cropScaleType (fitCenter, center, centerCrop, centerInside)
    • Default Value fitCenter
  • cropShape (rectangle, oval, rectangleVerticalOnly, rectangleHorizontalOnly)
    • Default Value rectangle
  • cornerShape (rectangle, oval)
    • Default Value rectangle
  • cropAutoZoomEnabled (Boolean)
    • Default Value True
  • cropMaxZoom (Integer)
    • Default Value 4
  • cropMultiTouchEnabled (Boolean)
    • Default Value False
  • cropCenterMoveEnabled (Boolean)
    • Default Value true
  • cropFixAspectRatio (Boolean)
    • Default Value False
  • cropAspectRatioX (Integer)
    • Default Value 1
  • cropAspectRatioY (Integer)
    • Default Value 1
  • cropInitialCropWindowPaddingRatio (Float)
    • Default Value 0.1F
  • cropBorderLineThickness (Dimension)
    • Default Value 3dp
  • cropBorderLineColor (Color)
    • Default Value Color.argb(170, 255, 255, 255)
  • cropBorderCornerThickness (Dimension)
    • Default Value 2dp
  • cropBorderCornerOffset (Dimension)
    • Default Value 5dp
  • cropBorderCornerLength (Dimension)
    • Default Value 14dp
  • cropBorderCornerColor (Color)
    • Default Value Color.white
  • cropGuidelinesThickness (Dimensions)
    • Default Value 1dp
  • cropGuidelinesColor (Color)
    • Default Value Color.argb(170, 255, 255, 255)
  • cropBackgroundColor (Color)
    • Default Value Color.white
  • cropOverlayBackgroundColor (Color)
    • Default Value Color.argb(119, 0, 0, 0)
  • cropSnapRadius (Dimension)
    • Default Value 3dp
  • cropTouchRadius (Dimension)
    • Default Value 24dp
  • cropShowCropOverlay (Boolean)
    • Default Value True
  • cropMinCropWindowWidth (Dimensions)
    • Default Value 42dp
  • cropMinCropWindowHeight (Dimensions)
    • Default Value 42dp
  • cropMinCropResultWidthPX (Float)
    • Default Value 40
  • cropMinCropResultHeightPX (Float)
    • Default Value 40
  • cropMaxCropResultWidthPX (Float)
    • Default Value 99999
  • cropMaxCropResultHeightPX (Float)
    • Default Value 99999
  • cropCornerCircleFillColor (Color)
    • Default Value Color.white
  • cropCornerRadius (Dimensions)
    • Default Value 10dp
Clone this wiki locally