InstaAssetsCropData class

The crop parameters state, can be used at exportation or to load the crop view

Constructors

InstaAssetsCropData({required AssetEntity asset, required CropInternal? cropParam, double scale = 1.0, Rect? area})
const

Properties

area Rect?
final
asset AssetEntity
final
cropParam → CropInternal?
final
ffmpegCrop String?
Returns crop filter for ffmpeg in "out_w:out_h:x:y" format
no setter
ffmpegScale String?
Returns scale filter for ffmpeg in "iw*scale:ih*scale" format
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scale double
final

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 ==(Object other) bool
The equality operator.
inherited

Static Methods

fromState({required AssetEntity asset, required CropState? cropState}) InstaAssetsCropData