Vertex class
A vertex represents a 2D point in the image. NOTE: the vertex coordinates are in the same scale as the original image.
- Available extensions
- Annotations
-
- @JsonSerializable()
Constructors
- Vertex.new({required int x, required int y})
-
Vertex.fromJson(Map<
String, dynamic> json) -
factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toOffset(
) → Offset -
toResizedOffset(
{double heightRatio = 1, double widthRatio = 1}) → Offset - adjust the offset to the size of the displayed image
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited