-
public final class RotationOptionsOptions for rotation.
These options are applied to JPEG images only.
Describes how the image should be rotated, whether following image meta-data or a specified amount.
These options are only relevant for JPEG images. Fresco doesn't support rotation of other image formats.
The options also include whether the rotation can be deferred until the bitmap is rendered. This should be be false if a post-processor is used which needs to operate on the bitmap correctly oriented but can otherwise generally be true, particularly if using drawee.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public @interfaceRotationOptions.RotationAnglepublic classRotationOptions.Companion
-
Field Summary
Fields Modifier and Type Field Description private final IntegerforcedAngle
-
Method Summary
Modifier and Type Method Description final IntegergetForcedAngle()final BooleanuseImageMetadata()final BooleanrotationEnabled()final BooleancanDeferUntilRendered()IntegerhashCode()Booleanequals(Object other)StringtoString()-
-
Method Detail
-
getForcedAngle
final Integer getForcedAngle()
-
useImageMetadata
final Boolean useImageMetadata()
-
rotationEnabled
final Boolean rotationEnabled()
-
canDeferUntilRendered
final Boolean canDeferUntilRendered()
-
-
-
-