ImageSearchCriteria
Leave feedback
On this page
Inheritance: java.lang.Object, com.groupdocs.watermark.search.SearchCriteria, com.groupdocs.watermark.search.PageSearchCriteria
public abstract class ImageSearchCriteria extends PageSearchCriteria
Provides base class for image search criteria.
| Method | Description |
|---|---|
| getMaxDifference() | Gets maximum allowed difference between images. |
| setMaxDifference(double value) | Sets maximum allowed difference between images. |
| getStream() | |
| getTrueImages() | |
| getFalseImages() | |
| isSatisfiedBy(PossibleWatermark candidate) | |
| accept(ICriteriaVisitor visitor) | |
| resetCache() |
public final double getMaxDifference()
Gets maximum allowed difference between images.
Returns: double - The value should be between 0 and 1. 0 means that only identical images will be found.
public final void setMaxDifference(double value)
Sets maximum allowed difference between images.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | double | The value should be between 0 and 1. 0 means that only identical images will be found. |
public final StreamContainer getStream()
Returns: StreamContainer
public final System.Collections.Generic.List<WatermarkableImage> getTrueImages()
Returns: com.aspose.ms.System.Collections.Generic.List<com.groupdocs.watermark.contents.WatermarkableImage>
public final System.Collections.Generic.List<WatermarkableImage> getFalseImages()
Returns: com.aspose.ms.System.Collections.Generic.List<com.groupdocs.watermark.contents.WatermarkableImage>
public boolean isSatisfiedBy(PossibleWatermark candidate)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| candidate | PossibleWatermark |
Returns: boolean
public void accept(ICriteriaVisitor visitor)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| visitor | ICriteriaVisitor |
public final void resetCache()
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.