Image


public final class Image


An object representing an image.

Summary

Nested types

public final class Image.Builder

Builder class for Image.

Public fields

final int
final int
final int
final Uri
final int

Public methods

Optional<String>

Returns the accessibility text of the image.

int

Returns crop type of the provided image.

int

Returns the height of the image.

int

Returns the theme of the image.

Uri

Returns the url of the image.

int

Returns the width of the image.

Public fields

imageCropType

@ImageCropType
public final int imageCropType

imageHeightInPixel

public final int imageHeightInPixel

imageTheme

@ImageTheme
public final int imageTheme

imageUri

public final Uri imageUri

imageWidthInPixel

public final int imageWidthInPixel

Public methods

getAccessibilityText

public Optional<StringgetAccessibilityText()

Returns the accessibility text of the image.

getImageCropType

@ImageCropType
public int getImageCropType()

Returns crop type of the provided image.

getImageHeightInPixel

public int getImageHeightInPixel()

Returns the height of the image.

getImageTheme

@ImageTheme
public int getImageTheme()

Returns the theme of the image.

getImageUri

public Uri getImageUri()

Returns the url of the image.

getImageWidthInPixel

public int getImageWidthInPixel()

Returns the width of the image.