Class MapElement.IconReference
java.lang.Object
com.vaadin.flow.component.map.testbench.MapElement.ConfigurationObjectReference
com.vaadin.flow.component.map.testbench.MapElement.IconReference
- Enclosing class:
MapElement
-
Method Summary
Modifier and TypeMethodDescriptiongetColor()Get color as rgb string, for examplergb(0, 0, 255), or null if there is no colorGet the rendered height of the icon in pixels, including its scale, or null if the icon's image has not been loaded yetdoubledoubledoublegetScale()getSrc()getWidth()Get the rendered width of the icon in pixels, including its scale, or null if the icon's image has not been loaded yetMethods inherited from class com.vaadin.flow.component.map.testbench.MapElement.ConfigurationObjectReference
exists, get, getBoolean, getDouble, getFloat, getInt, getLong, getString, getTypeName, path
-
Method Details
-
getOpacity
public double getOpacity() -
getRotation
public double getRotation() -
getScale
public double getScale() -
getColor
Get color as rgb string, for examplergb(0, 0, 255), or null if there is no color -
getSrc
-
getWidth
Get the rendered width of the icon in pixels, including its scale, or null if the icon's image has not been loaded yet -
getHeight
Get the rendered height of the icon in pixels, including its scale, or null if the icon's image has not been loaded yet
-