ImageMargins class
Represents the margins for an output image.
Constructors
- ImageMargins.new({int top = 0, int right = 0, int bottom = 0, int left = 0})
-
Creates an instance of ImageMargins.
const
- ImageMargins.all(int value)
-
Creates an instance of ImageMargins with equal margins on all sides.
const
- ImageMargins.symmetric({int horizontal = 0, int vertical = 0})
-
Creates an instance of ImageMargins with equal margins on symmetric sides.
const
Properties
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