ImageMapRegion class

Constructors

ImageMapRegion({required ImageMapShape shape, required Path path, Color color = Colors.transparent, String? title, String? link})
const
ImageMapRegion.fromCircle({required Offset center, required double radius, Color? color, String? title, String? link})
factory
ImageMapRegion.fromPoly({required List<Offset> points, Color? color, String? title, String? link})
factory
ImageMapRegion.fromRect({required Rect rect, Color? color, String? title, String? link})
factory

Properties

color Color
final
hashCode int
The hash code for this object.
no setterinherited
final
path Path
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shape ImageMapShape
final
title String?
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

Static Methods

fromHtml(String data, [Color? color]) List<ImageMapRegion>