/** Fill opacity (0-1). */ public double getFillOpacity() { double o = StyleImpl.getFillOpacity(getJSObject()); return o; }
/** * Hex stroke color. Default is '#ee9900'. * * @param c * - see setFillColor */ public void setStrokeColor(String c) { StyleImpl.setStrokeColor(getJSObject(), c); }
/** * The height of the background graphic. If not provided, the graphicHeight * will be used. */ public void setBackgroundHeight(int backgroundHeight) { StyleImpl.setBackgroundHeight(getJSObject(), backgroundHeight); }
/** * Vertical Label alignment. This specifies the insertion point relative to * the text. */ public String getLabelAlign() { return StyleImpl.getLabelAlign(this.getJSObject()); }
/** * Tooltip for an external graphic. Only supported in Firefox and Internet * Explorer. */ public String getGraphicTitle() { return StyleImpl.getGraphicTitle(this.getJSObject()); } }
/** * Directly sets the StrokeLineCap string. Default is 'round'. [butt | round * | square] */ public void setStrokeLinecap(String strokeLinecap) { StyleImpl.setStrokeLinecap(this.getJSObject(), strokeLinecap); }
/** * Named graphic to use when rendering points. Supported values include * 'circle' (default), 'square', 'star', 'x', 'cross', 'triangle'. */ public String getGraphicName() { return StyleImpl.getGraphicName(this.getJSObject()); }
/** Fill opacity (0-1). */ public double getFillOpacity() { double o = StyleImpl.getFillOpacity(getJSObject()); return o; }
/** * Convenient method to set the pixel width and height for sizing an * external graphic. * * @param width * The width (in pixels) to set * @param height * The height (in pixels) to set */ public void setGraphicSize(int width, int height) { StyleImpl.setGraphicSize(getJSObject(), width, height); }
/** * The height of the background graphic. If not provided, the graphicHeight * will be used. */ public void setBackgroundHeight(int backgroundHeight) { StyleImpl.setBackgroundHeight(getJSObject(), backgroundHeight); }
/** * The integer z-index value to use in rendering the background graphic. * Usually is a number smaller then the GraphicZIndex, so the background can * be behind the feature graphic. */ public void setBackgroundGraphicZIndex(int backgroundGraphicZIndex) { StyleImpl.setBackgroundGraphicZIndex(getJSObject(), backgroundGraphicZIndex); }
/** * Vertical Label alignment. This specifies the insertion point relative to * the text. */ public String getLabelAlign() { return StyleImpl.getLabelAlign(this.getJSObject()); }
/** * Tooltip for an external graphic. Only supported in Firefox and Internet * Explorer. */ public String getGraphicTitle() { return StyleImpl.getGraphicTitle(this.getJSObject()); }
/** * If set to true, labels will be selectable using SelectFeature or similar controls. Default is false. * @param select */ public void setLabelSelect(boolean select) { StyleImpl.setLabelSelect(this.getJSObject(), select); }
/** * The width of the background width. If not provided, the graphicWidth will * be used. */ public void setBackgroundWidth(int backgroundWidth) { StyleImpl.setBackgroundWidth(getJSObject(), backgroundWidth); }
/** * The integer z-index value to use in rendering the background graphic. * Usually is a number smaller then the GraphicZIndex, so the background can * be behind the feature graphic. */ public void setBackgroundGraphicZIndex(int backgroundGraphicZIndex) { StyleImpl.setBackgroundGraphicZIndex(getJSObject(), backgroundGraphicZIndex); }
/** * Tooltip for an external graphic. Only supported in Firefox and Internet * Explorer. */ public void setGraphicTitle(String graphicTitle) { StyleImpl.setGraphicTitle(this.getJSObject(), graphicTitle); }
/** * The passed String is the name of the attribute whose value will determine * the point radius */ public void setPointRadius(String r) { StyleImpl.setPointRadius(getJSObject(), r); }
/** * Convenient method to set the pixel width and height for sizing an * external graphic. * * @param width * The width (in pixels) to set * @param height * The height (in pixels) to set */ public void setGraphicSize(int width, int height) { StyleImpl.setGraphicSize(getJSObject(), width, height); }
/** * Stroke dash style. */ public String getStrokeDashstyle() { return StyleImpl.getStrokeDashstyle(this.getJSObject()); }