AddRoundedImage class
Add a rounded image into the same parent of the elementId. elementId The id of the element, the rounded image will be added at the same level of this elementId, so they will have the same parent node. imageId The id of the new element to be added imageUrl The url where the image is available widthInPx The width of the image in pixels heightInPx The height of the image in pixels coordinate The coordinates where the image will be added
- Implemented types
Constructors
- AddRoundedImage({required String elementId, required String imageId, required String imageUrl, required int widthInPx, required int heightInPx, required NodeCoordinate coordinate})
-
Create a new AddRoundedImage command object.
const
Properties
- coordinate → NodeCoordinate
-
Specific coordinate where the image will be added
final
- elementId → String
-
Target node id
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- heightInPx → int
-
Height in pixels
final
- imageId → String
-
Id that will represents this new image added into the SVG map
final
- imageUrl → String
-
Address of the new image (request will be made based on it)
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- widthInPx → int
-
Width in pixels
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