ImageMargins class

Represents the margins for an output image.

Constructors

ImageMargins({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

bottom → int
final
hashCode → int
The hash code for this object.
no setterinherited
left → int
final
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
top → int
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