crop-image
Preparing search index...
@imazen/crop-image-core
CropConfig
Interface CropConfig
Configuration for the crop constraint engine.
interface
CropConfig
{
aspectRatio
:
AspectRatio
|
null
;
aspectRatios
:
AspectRatio
[]
|
null
;
edgeSnapThreshold
:
number
;
evenPadding
:
boolean
;
maxSize
:
{
height
:
number
;
width
:
number
}
|
null
;
minSize
:
{
height
:
number
;
width
:
number
}
|
null
;
mode
:
"crop"
|
"crop-pad"
;
sourceHeight
:
number
;
sourceWidth
:
number
;
}
Index
Properties
aspect
Ratio
aspect
Ratios
edge
Snap
Threshold
even
Padding
max
Size
min
Size
mode
source
Height
source
Width
Properties
aspect
Ratio
aspectRatio
:
AspectRatio
|
null
aspect
Ratios
aspectRatios
:
AspectRatio
[]
|
null
edge
Snap
Threshold
edgeSnapThreshold
:
number
even
Padding
evenPadding
:
boolean
max
Size
maxSize
:
{
height
:
number
;
width
:
number
}
|
null
min
Size
minSize
:
{
height
:
number
;
width
:
number
}
|
null
mode
mode
:
"crop"
|
"crop-pad"
source
Height
sourceHeight
:
number
source
Width
sourceWidth
:
number
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
aspect
Ratio
aspect
Ratios
edge
Snap
Threshold
even
Padding
max
Size
min
Size
mode
source
Height
source
Width
crop-image
Loading...
Configuration for the crop constraint engine.