public class CropConfig extends BaseSelectConfig
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
STYLE_FILL |
static int |
STYLE_GAP |
| 构造器和说明 |
|---|
CropConfig() |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getCropGapBackgroundColor() |
CropConfigParcelable |
getCropInfo() |
int |
getCropRatioX() |
int |
getCropRatioY() |
int |
getCropRectMargin() |
Info |
getCropRestoreInfo() |
int |
getCropStyle() |
long |
getMaxOutPutByte() |
android.util.Size |
getOutPutSize() |
boolean |
isCircle() |
boolean |
isGap() |
boolean |
isLessOriginalByte() |
boolean |
isNeedPng() |
boolean |
isSaveInDCIM() |
boolean |
isSingleCropCutNeedTop() |
void |
saveInDCIM(boolean saveInDCIM) |
void |
setCircle(boolean circle) |
void |
setCropGapBackgroundColor(int cropGapBackgroundColor) |
void |
setCropRatio(int x,
int y) |
void |
setCropRectMargin(int cropRectMargin) |
void |
setCropRestoreInfo(Info cropRestoreInfo) |
void |
setCropStyle(int cropStyle) |
void |
setLessOriginalByte(boolean lessOriginalByte) |
void |
setMaxOutPutByte(long maxOutPutByte) |
void |
setOutPutSize(android.util.Size outPutSize) |
void |
setSingleCropCutNeedTop(boolean singleCropCutNeedTop) |
getColumnCount, getMaxCount, getMaxVideoDuration, getMaxVideoDurationFormat, getMimeTypes, getMinCount, getMinVideoDuration, getMinVideoDurationFormat, getShieldImageList, isLoadGif, isOnlyShowImage, isOnlyShowVideo, isShieldItem, isShowCamera, isShowCameraInAllMedia, isShowImage, isShowVideo, isSinglePickAutoComplete, isSinglePickImageOrVideoType, isVideoSinglePick, isVideoSinglePickAndAutoComplete, setColumnCount, setLoadGif, setMaxCount, setMaxVideoDuration, setMimeTypes, setMinCount, setMinVideoDuration, setShieldImageList, setShowCamera, setShowCameraInAllMedia, setShowImage, setShowVideo, setSinglePickAutoComplete, setSinglePickImageOrVideoType, setVideoSinglePickpublic static final int STYLE_FILL
public static final int STYLE_GAP
public boolean isSingleCropCutNeedTop()
public void setSingleCropCutNeedTop(boolean singleCropCutNeedTop)
public android.util.Size getOutPutSize()
public void setOutPutSize(android.util.Size outPutSize)
public long getMaxOutPutByte()
public void setMaxOutPutByte(long maxOutPutByte)
public boolean isLessOriginalByte()
public void setLessOriginalByte(boolean lessOriginalByte)
public Info getCropRestoreInfo()
public void setCropRestoreInfo(Info cropRestoreInfo)
public boolean isSaveInDCIM()
public void saveInDCIM(boolean saveInDCIM)
public int getCropStyle()
public void setCropStyle(int cropStyle)
public int getCropGapBackgroundColor()
public void setCropGapBackgroundColor(int cropGapBackgroundColor)
public boolean isCircle()
public void setCircle(boolean circle)
public int getCropRectMargin()
public void setCropRectMargin(int cropRectMargin)
public int getCropRatioX()
public void setCropRatio(int x,
int y)
public int getCropRatioY()
public boolean isGap()
public boolean isNeedPng()
public CropConfigParcelable getCropInfo()