code: public void applyDefaults() {
  		if (size == -1) {
  			size = 8;
  		}
  		if (family == null) {
  			family = "Verdana";
  		}
  		if (weight == null) {
  			weight = "normal";
  		}
  		if (style == null) {
  			style = "normal";
  		}
  		if (color == null) {
  			color = "#000000"; // black
  		}
  		if (opacity == -1) {
  			opacity = 1;
  		}
  	}
docs: Applies default values to all properties that have not been set.
  
  @since 1.8.0