-
- All Implemented Interfaces:
@Immutable() public final class ImageOptions
Represents parameters to load generic Image Composable.
-
-
Field Summary
Fields Modifier and Type Field Description private final Alignmentalignmentprivate final StringcontentDescriptionprivate final ContentScalecontentScaleprivate final ColorFiltercolorFilterprivate final Floatalpha
-
Constructor Summary
Constructors Constructor Description ImageOptions(Alignment alignment, String contentDescription, ContentScale contentScale, ColorFilter colorFilter, Float alpha)
-
Method Summary
Modifier and Type Method Description final AlignmentgetAlignment()The alignment parameter used to place the loaded ImageBitmap in the image container. final StringgetContentDescription()The content description used to provide accessibility to describe the image. final ContentScalegetContentScale()The scale parameter used to determine the aspect ratio scaling to be used for the loaded ImageBitmap. final ColorFiltergetColorFilter()The colorFilter parameter used to apply for the image when it is rendered onscreen. final FloatgetAlpha()The alpha parameter used to apply for the image when it is rendered onscreen. -
-
Constructor Detail
-
ImageOptions
ImageOptions(Alignment alignment, String contentDescription, ContentScale contentScale, ColorFilter colorFilter, Float alpha)
-
-
Method Detail
-
getAlignment
final Alignment getAlignment()
The alignment parameter used to place the loaded ImageBitmap in the image container.
-
getContentDescription
final String getContentDescription()
The content description used to provide accessibility to describe the image.
-
getContentScale
final ContentScale getContentScale()
The scale parameter used to determine the aspect ratio scaling to be used for the loaded ImageBitmap.
-
getColorFilter
final ColorFilter getColorFilter()
The colorFilter parameter used to apply for the image when it is rendered onscreen.
-
-
-
-