public class ImagePointIcon extends AbstractCustomPointIcon
Modifier | Constructor and Description |
---|---|
protected |
ImagePointIcon(com.vaadin.server.Resource iconResource) |
Modifier and Type | Method and Description |
---|---|
com.vaadin.server.Resource |
getIconResource() |
ImagePointIcon |
setIconAnchor(double x,
double y)
Sets the coordinates of the "tip" of the icon in pixels (relative to its top left corner).
|
ImagePointIcon |
setIconSize(double x,
double y)
Sets the size of the icon in pixels.
|
ImagePointIcon |
setPopupAnchor(double x,
double y)
Sets the coordinates of the point from which popups will open (relative to the icon anchor).
|
getIconAnchor, getIconSize, getPopupAnchor
@Nullable public com.vaadin.server.Resource getIconResource()
public ImagePointIcon setIconAnchor(double x, double y)
AbstractCustomPointIcon
setIconAnchor
in class AbstractCustomPointIcon
public ImagePointIcon setIconSize(double x, double y)
AbstractCustomPointIcon
setIconSize
in class AbstractCustomPointIcon
public ImagePointIcon setPopupAnchor(double x, double y)
AbstractCustomPointIcon
setPopupAnchor
in class AbstractCustomPointIcon