List of usage examples for com.lowagie.text.pdf BaseField setBackgroundColor
public void setBackgroundColor(Color backgroundColor)
From source file:buckley.compile.BackgroundColorModifier.java
License:Apache License
public void modify(BaseField iTextField, Field field, Document document) { if (field.getBackgroundColor() != null) { iTextField.setBackgroundColor(field.getBackgroundColor()); }/* ww w .j a v a2 s . c o m*/ }