ClipOption class

The clip option is used to clip image.

Implemented types

Constructors

ClipOption({num x = 0, num y = 0, required num width, required num height})
The clip option is used to clip image.
const
ClipOption.fromOffset(Offset start, Offset end)
The clip option is used to clip image.
factory
ClipOption.fromRect(Rect rect)
The clip option is used to clip image.
factory

Properties

canIgnore bool
Whether it is ture, it can be ignored.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
height num
The height of clip.
final
key String
The key of transfer value.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
transferValue Map<String, Object>
The value of transfer value.
no setteroverride
width num
The width of clip.
final
x num
The x coordinate of clip.
final
y num
The y coordinate of clip.
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