Class OrientationOption
- java.lang.Object
-
- org.silverpeas.core.io.media.image.option.AbstractImageToolOption
-
- org.silverpeas.core.io.media.image.option.OrientationOption
-
public class OrientationOption extends AbstractImageToolOption
- Author:
- Yohann Chastagnier
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OrientationOption
auto()
Orientation
getOrientation()
boolean
isModifyingImageOnlyIfNecessary()
OrientationOption
modifyImageOnlyIfNecessary()
Indicates image modification only if there is other option specified of if the orientation of the image is not the TopLeft one (equivalent to EXIF orientation = 1).OrientationOption
withOrientation(Orientation orientation)
-
Methods inherited from class org.silverpeas.core.io.media.image.option.AbstractImageToolOption
equals, hashCode
-
-
-
-
Method Detail
-
auto
public static OrientationOption auto()
-
getOrientation
public Orientation getOrientation()
-
withOrientation
public OrientationOption withOrientation(Orientation orientation)
-
isModifyingImageOnlyIfNecessary
public boolean isModifyingImageOnlyIfNecessary()
-
modifyImageOnlyIfNecessary
public OrientationOption modifyImageOnlyIfNecessary()
Indicates image modification only if there is other option specified of if the orientation of the image is not the TopLeft one (equivalent to EXIF orientation = 1).- Returns:
- true to modify only if necessary, false to modify in any case.
-
-