LetterboxParams class
Parameters for aspect-preserving resize with centered padding.
Returned by computeLetterboxParams.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- newHeight → int
-
Height of the scaled image before padding.
final
- newWidth → int
-
Width of the scaled image before padding.
final
- padBottom → int
-
Bottom padding in pixels.
final
- padLeft → int
-
Left padding in pixels.
final
- padRight → int
-
Right padding in pixels.
final
- padTop → int
-
Top padding in pixels.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scale → double
-
Scale factor applied to the source image.
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