Class SimpleEnvironment

java.lang.Object
de.redsix.pdfcompare.env.SimpleEnvironment
All Implemented Interfaces:
Environment

public class SimpleEnvironment extends Object implements Environment
A SimpleEnvironment can be used to change environment settings programmatically. All parameters, that were not explicitly set through setter are delegated to a fallback Environment, which defaults to the regular environment backed by the application.conf file.
 new PdfComparator("expected.pdf", "actual.pdf")
         .withEnvironment(new SimpleEnvironment()
                 .setExpectedColor(Color.blue))
         .compare();
 
See Also: