Package coil.size

Types

DisplaySizeResolver
Link copied to clipboard
class DisplaySizeResolver(context: Context) : SizeResolver

A SizeResolver that measures the size of the display.

OriginalSize
Link copied to clipboard
object OriginalSize : Size

Represents the width and height of the source image.

PixelSize
Link copied to clipboard
data class PixelSize(@Px width: Int, @Px height: Int) : Size

A positive width and height in pixels.

Precision
Link copied to clipboard
enum Precision : Enum<Precision>

Represents the required precision for the size of an image in an image request.

Scale
Link copied to clipboard
enum Scale : Enum<Scale>

Represents a scaling policy.

Size
Link copied to clipboard
sealed class Size : Parcelable

Represents the target size of an image request.

SizeResolver
Link copied to clipboard
fun interface SizeResolver

An interface for measuring the target size for an image request.

ViewSizeResolver
Link copied to clipboard
interface ViewSizeResolver<T : View> : SizeResolver

A SizeResolver that measures the size of a View.