public void Copy(CropInfo source) { this.eType = source.eType; this.kSingleCrop.Copy(source.kSingleCrop); this.nMultiCount = source.nMultiCount; this.eMultiDirection = source.eMultiDirection; }
private void InitData_CropInfo() { kCropInfo = new CropInfo(); kCropInfo.eType = CropInfo.Type.CropSingle; kCropInfo.kSingleCrop = new Rect(); kCropInfo.nMultiCount = 1; kCropInfo.eMultiDirection = CropInfo.Direction.Left; }
public void SetData(string fileName, string path, CropInfo kCropInfo, Action <CropInfo> funcOnCopy) { this.fileName = fileName; this.path = path; this.funcOnCopy = funcOnCopy; this.kCropInfoOrigin.Copy(kCropInfo); this.kCropInfo.Copy(kCropInfo); }
private void onFormImageView_Copy(CropInfo kCropInfo) { // Refresh Data this.kCropInfo.Copy(kCropInfo); // Refresh UI RefreshUI_CropInfoState(); RefreshUI_SingleCropRect(); RefreshUI_MultiCropData(); }