/** * This constructor is to be used when you want to get an empty Style object, instead of a Style initialized to default. * For example : * <code>Style emptyStyle = new Style("{}"); * @param string * The JSON representation of the properties used to initialize the Style object */ public Style(String string) { this(StyleImpl.create(string)); }
/** Fill opacity (0-1). */ public double getFillOpacity() { double o = StyleImpl.getFillOpacity(getJSObject()); return o; }
/** Url to a graphic to be used as the background under an externalGraphic. */ public String getBackgroundGraphic() { return StyleImpl.getBackgroundGraphic(getJSObject()); }
/** Set to false if no fill is desired. */ public boolean getFill() { return StyleImpl.getFill(this.getJSObject()); }
/** The height of the background graphic. */ public int getBackgroundHeight() { return StyleImpl.getBackgroundHeight(getJSObject()); }
/** The integer z-index value to use in rendering the background graphic. */ public int getBackgroundGraphicZIndex() { return StyleImpl.getBackgroundGraphicZIndex(getJSObject()); }
/** Cursor. */ public String getCursor() { return StyleImpl.getCursor(this.getJSObject()); }
/** Set to false if no graphic is desired. */ public boolean getGraphic() { return StyleImpl.getGraphic(this.getJSObject()); }
/** The width of the background width. */ public int getBackgroundWidth() { return StyleImpl.getBackgroundWidth(getJSObject()); }
/** Url to an external graphic that will be used for rendering points. */ public String getExternalGraphic() { return StyleImpl.getExternalGraphic(getJSObject()); }
/** Fill opacity (0-1). */ public double getFillOpacity() { double o = StyleImpl.getFillOpacity(getJSObject()); return o; }
/** Url to a graphic to be used as the background under an externalGraphic. */ public String getBackgroundGraphic() { return StyleImpl.getBackgroundGraphic(getJSObject()); }
/** Set to false if no fill is desired. */ public boolean getFill() { return StyleImpl.getFill(this.getJSObject()); }
/** The height of the background graphic. */ public int getBackgroundHeight() { return StyleImpl.getBackgroundHeight(getJSObject()); }
/** The integer z-index value to use in rendering the background graphic. */ public int getBackgroundGraphicZIndex() { return StyleImpl.getBackgroundGraphicZIndex(getJSObject()); }
/** Cursor. */ public String getCursor() { return StyleImpl.getCursor(this.getJSObject()); }
/** Set to false if no graphic is desired. */ public boolean getGraphic() { return StyleImpl.getGraphic(this.getJSObject()); }
/** The width of the background width. */ public int getBackgroundWidth() { return StyleImpl.getBackgroundWidth(getJSObject()); }
/** Url to an external graphic that will be used for rendering points. */ public String getExternalGraphic() { return StyleImpl.getExternalGraphic(getJSObject()); }
/** * This constructor is to be used when you want to get an empty Style object, instead of a Style initialized to default. * For example : * <code>Style emptyStyle = new Style("{}"); * @param string * The JSON representation of the properties used to initialize the Style object */ public Style(String string) { this(StyleImpl.create(string)); }