Index
C D E G M N O S T V Z
All Classes|All Packages
All Classes|All Packages
All Classes|All Packages
S
- setAspectRatio(double) - Method in class de.f0rce.cropper.settings.CropperSettings
-
Define the fixed aspect ratio of the crop box.
- setAutoCrop(boolean) - Method in class de.f0rce.cropper.settings.CropperSettings
-
Enable to crop the image automatically when initialized.
Default:true
- setAutoCropArea(double) - Method in class de.f0rce.cropper.settings.CropperSettings
-
It should be a number between 0 and 1.
- setBackground(boolean) - Method in class de.f0rce.cropper.settings.CropperSettings
-
Show the grid background of the container.
Default:true
- setCenter(boolean) - Method in class de.f0rce.cropper.settings.CropperSettings
-
Show the center indicator above the crop box.
Default:true
- setCheckCrossOrigin(boolean) - Method in class de.f0rce.cropper.settings.CropperSettings
-
Check if the current image is a cross-origin image.
If so, acrossOrigin
attribute will be added to the cloned image element, and a timestamp parameter will be added to thesrc
attribute to reload the source image to avoid browser cache error.
Adding acrossOrigin
attribute to the image element will stop adding a timestamp to the image URL and stop reloading the image. - setCheckOrientation(boolean) - Method in class de.f0rce.cropper.settings.CropperSettings
-
Check the current image's Exif Orientation information.
- setCropBoxMovable(boolean) - Method in class de.f0rce.cropper.settings.CropperSettings
-
Enable to move the crop box by dragging.
Default:true
- setCropBoxResizable(boolean) - Method in class de.f0rce.cropper.settings.CropperSettings
-
Enable to resize the crop box by dragging.
Default:true
- setCroppedImageHeight(int) - Method in class de.f0rce.cropper.settings.CropperSettings
-
Sets the height of the cropped image.
Default:4096
- setCroppedImageWidth(int) - Method in class de.f0rce.cropper.settings.CropperSettings
-
Sets the width of the cropped image.
Default:4096
- setDragMode(DragMode) - Method in class de.f0rce.cropper.settings.CropperSettings
-
Define the dragging mode of the cropper.
Default:DragMode.crop
Options:
-DragMode.crop
: creates a new crop box
-DragMode.move
: move the canvas
-DragMode.none
: do nothing - setEncoderQuality(double) - Method in class de.f0rce.cropper.Cropper
-
Sets the quality of the image encoder (defaults to 0.85).
- setGuides(boolean) - Method in class de.f0rce.cropper.settings.CropperSettings
-
Show the dashed lines above the crop box.
Default:true
- setHighlight(boolean) - Method in class de.f0rce.cropper.settings.CropperSettings
-
Show the white modal above the crop box (highlight the crop box).
Default:true
- setInitialAspectRatio(double) - Method in class de.f0rce.cropper.settings.CropperSettings
-
Define the initial aspect ratio of the crop box.
- setMinCanvasHeight(int) - Method in class de.f0rce.cropper.settings.CropperSettings
-
The minimum height of the canvas (image wrapper).
Default:0
- setMinCanvasWidth(int) - Method in class de.f0rce.cropper.settings.CropperSettings
-
The minimum width of the canvas (image wrapper).
Default:0
- setMinContainerHeight(int) - Method in class de.f0rce.cropper.settings.CropperSettings
-
The minimum height of the container.
Default:100
- setMinContainerWidth(int) - Method in class de.f0rce.cropper.settings.CropperSettings
-
The minimum width of the container.
Default:200
- setMinCropBoxHeight(int) - Method in class de.f0rce.cropper.settings.CropperSettings
-
The minimum height of the crop box.
Note: This size is relative to the page, not the image.
Default:0
- setMinCropBoxWidth(int) - Method in class de.f0rce.cropper.settings.CropperSettings
-
The minimum width of the crop box.
Note: This size is relative to the page, not the image.
Default:0
- setModal(boolean) - Method in class de.f0rce.cropper.settings.CropperSettings
-
Show the black modal above the image and under the crop box.
Default:true
- setMovable(boolean) - Method in class de.f0rce.cropper.settings.CropperSettings
-
Enable to move the image.
Default:true
- setResponsive(boolean) - Method in class de.f0rce.cropper.settings.CropperSettings
-
Re-render the cropper when resizing the window.
Default:true
- setRestore(boolean) - Method in class de.f0rce.cropper.settings.CropperSettings
-
Restore the cropped area after resizing the window.
Default:true
- setRotatable(boolean) - Method in class de.f0rce.cropper.settings.CropperSettings
-
Enable to rotate the image.
Default:true
- setRoundCropBox(boolean) - Method in class de.f0rce.cropper.settings.CropperSettings
-
Sets the crop box of the cropper to be round.
- setScalable(boolean) - Method in class de.f0rce.cropper.settings.CropperSettings
-
Enable to scale the image.
Default:true
- setToogleDragModeOnDblclick(boolean) - Method in class de.f0rce.cropper.settings.CropperSettings
-
Enable to toggle drag mode between
"crop"
and"move"
when clicking twice on the cropper.
Default:true
- setViewMode(ViewMode) - Method in class de.f0rce.cropper.settings.CropperSettings
-
Define the view mode of the cropper.
- setWheelZoomRatio(double) - Method in class de.f0rce.cropper.settings.CropperSettings
-
Define zoom ratio when zooming the image by mouse wheeling.
Default:0.1
- setZoomable(boolean) - Method in class de.f0rce.cropper.settings.CropperSettings
-
Enable to zoom the image.
Default:true
- setZoomOnTouch(boolean) - Method in class de.f0rce.cropper.settings.CropperSettings
-
Enable to zoom the image by dragging touch.
Default:true
- setZoomOnWheel(boolean) - Method in class de.f0rce.cropper.settings.CropperSettings
-
Enable to zoom the image by mouse wheeling.
Default:true
All Classes|All Packages