forked from Adobe-Consulting-Services/acs-aem-commons
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from telegraph/AEM-7769-Fix-Image-Cropping-Issue
Aem 7769 fix image cropping issue
- Loading branch information
Showing
3 changed files
with
68 additions
and
4 deletions.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
bundle/src/main/java/com/adobe/acs/commons/images/CropConstants.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
package com.adobe.acs.commons.images; | ||
|
||
/** | ||
* Constants which are used in Crop functionality | ||
*/ | ||
public final class CropConstants { | ||
|
||
/** | ||
* Parameter name for X coordinate, from which crop should be started | ||
*/ | ||
public static final String CROP_START_X_PARAM = "cropStartX"; | ||
/** | ||
* Parameter name for Y coordinate, from which crop should be started | ||
*/ | ||
public static final String CROP_START_Y_PARAM = "cropStartY"; | ||
/** | ||
* Parameter name for Crop width | ||
*/ | ||
public static final String CROP_WIDTH_PARAM = "cropWidth"; | ||
/** | ||
* Parameter name for Crop height | ||
*/ | ||
public static final String CROP_HEIGHT_PARAM = "cropHeight"; | ||
/** | ||
* Separator which is used in URL to split parameter name and parameter value | ||
*/ | ||
public static final String PARAM_SEPARATOR = ":"; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters