aceImageEdits
This domain object operates on the type aceImageEdits.
Domain Object
.setFlipHorizontal(flipHorizontal: boolean)
Sets whether this image is flipped horizontally or not to flipHorizontal.
isFlippedHorizontally() ⟶ boolean
Returns a boolean that will be true if the image is flipped horizontally.
.setFlipVertical(flipVertical: boolean)
Sets whether this image is flipped vertically or not to flipVertical.
.isFlippedVertically() ⟶ boolean
Returns a boolean that will be true if the image is flipped vertically.
.setRotation(rotation: Number)
Sets the rotation of the image to rotation. Accepted values are 0, 90, 180 and 360.
.getRotation() ⟶Number
Returns the rotation of the image.
setCrops(crops: Object)
Sets crops to crops. This will over-write any previous crop information.
.getCrops() ⟶ Object
Returns the crop information as an object where the keys are crop identifiers, and the values are crop objects (see JavaDoc).
setPixelations(pixelations: Array)
Sets pixelations to pixelations. This will over-write any previous pixelation information.
getPixelations() ⟶ Array
Returns the pixelation information as an array of pixelation objects (see JavaDoc).
clear()
Resets all data. Calls the following on itself:
this.setFlipHorizontal(false);
this.setFlipVertical(false);
this.setRotation(0);
this.setCrops({});
this.setPixelations([]);