public class FontPointIcon extends PointStyle
| Modifier | Constructor and Description |
|---|---|
protected |
FontPointIcon(com.vaadin.server.Resource icon)
Creates an instance of marker icon with an inner font-icon.
|
| Modifier and Type | Method and Description |
|---|---|
double[] |
getIconAnchor() |
java.lang.String |
getIconPathFillColor()
Returns string representing rgb code of the icon's path fill color.
|
java.lang.String |
getIconPathStrokeColor()
Returns string representing rgb code of the icon's path stroke color.
|
com.vaadin.server.Resource |
getIconResource() |
java.lang.String |
getIconTextFillColor()
Returns string representing rgb code of the icon's inner font symbol fill color.
|
FontPointIcon |
setIconAnchor(double x,
double y)
Sets the coordinates of the "tip" of the icon in pixels (relative to its top left corner).
|
FontPointIcon |
setIconPathFillColor(java.lang.String iconPathFillColor)
Sets string representing rgb code of the icon's path fill color.
|
FontPointIcon |
setIconPathStrokeColor(java.lang.String iconPathStrokeColor)
Sets string representing rgb code of the icon's path stroke color.
|
FontPointIcon |
setIconTextFillColor(java.lang.String iconTextFillColor)
Sets string representing rgb code of the icon's inner font symbol fill color.
|
protected FontPointIcon(com.vaadin.server.Resource icon)
@Nullable public com.vaadin.server.Resource getIconResource()
public java.lang.String getIconPathFillColor()
public FontPointIcon setIconPathFillColor(java.lang.String iconPathFillColor)
iconPathFillColor - String representation of the rgb codeFontPointIcon on which this method was called. Useful for a fluent API.public java.lang.String getIconPathStrokeColor()
public FontPointIcon setIconPathStrokeColor(java.lang.String iconPathStrokeColor)
iconPathStrokeColor - String representation of the rgb codeFontPointIcon on which this method was called. Useful for a fluent API.public java.lang.String getIconTextFillColor()
public FontPointIcon setIconTextFillColor(java.lang.String iconTextFillColor)
iconTextFillColor - String representation of the rgb codeFontPointIcon on which this method was called. Useful for a fluent API.public double[] getIconAnchor()
public FontPointIcon setIconAnchor(double x, double y)
x - y - FontPointIcon on which this method was called. Useful for a fluent API.