Rectangle class

水印图片的位置和大小。

Annotations

Constructors

Rectangle(int x, int y, int width, int height)
Constructs a Rectangle
Rectangle.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
height int
水印图片的高(px)。
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
width int
水印图片的宽(px)。
final
x int
左上角的横向偏移。
final
y int
左上角的纵向偏移
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited