Class WatermarkImageOption
- java.lang.Object
-
- org.silverpeas.core.io.media.image.option.AbstractImageToolOption
-
- org.silverpeas.core.io.media.image.option.WatermarkImageOption
-
- All Implemented Interfaces:
Margins
public class WatermarkImageOption extends AbstractImageToolOption implements Margins
- Author:
- Yohann Chastagnier
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AnchoringPosition
getAnchoringPosition()
CompositionOperation
getCompositionOperation()
File
getImage()
Integer
getMarginX()
Integer
getMarginY()
static WatermarkImageOption
image(File image)
WatermarkImageOption
withAnchoringPosition(AnchoringPosition anchoringPosition)
WatermarkImageOption
withCompositionOperation(CompositionOperation compositionOperation)
WatermarkImageOption
withMargins(int x, int y)
-
Methods inherited from class org.silverpeas.core.io.media.image.option.AbstractImageToolOption
equals, hashCode
-
-
-
-
Method Detail
-
image
public static WatermarkImageOption image(File image)
-
getImage
public File getImage()
- Returns:
- the value
-
getAnchoringPosition
public AnchoringPosition getAnchoringPosition()
-
withAnchoringPosition
public WatermarkImageOption withAnchoringPosition(AnchoringPosition anchoringPosition)
-
getMarginX
public Integer getMarginX()
- Specified by:
getMarginX
in interfaceMargins
-
getMarginY
public Integer getMarginY()
- Specified by:
getMarginY
in interfaceMargins
-
withMargins
public WatermarkImageOption withMargins(int x, int y)
- Specified by:
withMargins
in interfaceMargins
-
getCompositionOperation
public CompositionOperation getCompositionOperation()
-
withCompositionOperation
public WatermarkImageOption withCompositionOperation(CompositionOperation compositionOperation)
-
-