IMultipleAreaRedactable
public interface IMultipleAreaRedactable
Defines methods that are required to redact multiple image areas at once with the same color.
Methods
| Method | Description |
|---|---|
| getRawStream() | Retrieves a stream with actual image content. |
| editAreas(Rectangle[] rectangles, Color boxColor) | Redacts multiple image areas at once with the same color. |
getRawStream()
public abstract InputStream getRawStream()
Retrieves a stream with actual image content.
Returns: java.io.InputStream - Stream, containing image data
editAreas(Rectangle[] rectangles, Color boxColor)
public abstract RedactionResult editAreas(Rectangle[] rectangles, Color boxColor)
Redacts multiple image areas at once with the same color.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| rectangles | java.awt.Rectangle[] | An array of rectangle areas |
| boxColor | java.awt.Color | Color to fill the areas |
Returns: RedactionResult - Image areas redaction result