All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.gwtopenmaps.openlayers.client.symbolizer.TextSymbolizerOptions Maven / Gradle / Ivy

There is a newer version: 1.1.0
Show newest version
/**
 * 
 */
package org.gwtopenmaps.openlayers.client.symbolizer;

/**
 * @author lorenzo
 *
 */
public class TextSymbolizerOptions extends SymbolizerOptions{
	

    /** 
     * APIProperty: fontSize
     * {String} The font size for the label.
     */
    public void setFontSize(String size){
    	getJSObject().setProperty("fontSize", size);
    }

    
    /** 
     * APIProperty: label
     * {String} The text for the label.
     */
    public void setLabel(String label){
    	getJSObject().setProperty("label",label);
    }
    
    
    /** 
     * APIProperty: fontFamily
     * {String} The font family for the label.
     */
    public void setFontFamily(String family){
    	getJSObject().setProperty("fontFamily", family);
    }
    

    /** 
     * APIProperty: fontWeight
     * {String} The font weight for the label.
     */
    public void setFontWeight(String weight){
    	getJSObject().setProperty("fontWeight",weight);
    }
    
    
    /**
     * Property: fontStyle
     * {String} The font style for the label.
     */
    public void setFontStyle(String fontStyle){
    	getJSObject().setProperty("fontStyle", fontStyle);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy