CropTransformation class
Crop an image to fit into specified dimensions, implement optional offsets.
- Inheritance
-
- Object
- Transformation
- ResizeTransformation
- CropTransformation
- Implemented types
Constructors
- CropTransformation(Dimensions size, [Offsets offset = Offsets.zero, bool center = false])
Properties
- center → bool
-
centering the crop focus.
final
- delimiter → String
-
Instruction delimiter
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- offset → Offsets
-
optional offsets along one or both of the axes
final
- operation → String
-
CDN API operation URL directive
no setteroverride
-
params
→ List<
String> -
Related parameters
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → Dimensions
-
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator.
inherited