public class OverlayMetacardTransformer extends Object implements MetacardTransformer
| Constructor and Description |
|---|
OverlayMetacardTransformer(BiFunction<Metacard,Map<String,Serializable>,Optional<BufferedImage>> imageSupplier) |
| Modifier and Type | Method and Description |
|---|---|
static List<org.la4j.Vector> |
calculateBoundingBox(List<org.la4j.Vector> boundary) |
BinaryContent |
transform(Metacard metacard,
Map<String,Serializable> arguments)
Transforms the provided
Metacard into a BinaryContent |
public OverlayMetacardTransformer(BiFunction<Metacard,Map<String,Serializable>,Optional<BufferedImage>> imageSupplier)
public BinaryContent transform(Metacard metacard, Map<String,Serializable> arguments) throws CatalogTransformerException
MetacardTransformerMetacard into a BinaryContenttransform in interface MetacardTransformermetacard - the Metacard to be transformedarguments - any arguments to be used in the transformation. Keys are specific to each
MetacardTransformer implementationBinaryContent the result of the Metacard transformationCatalogTransformerException - if the Metacard can not be transformedThis work is licensed under a Creative Commons Attribution 4.0 International License.