BasicImageLoadOptions

data class BasicImageLoadOptions(var cropRect: Rect = Rect(), var canvasColor: CanvasColor = CanvasColor.WHITE) : Parcelable

Basic options for loading image.

Constructors

Link copied to clipboard
constructor(source: Map<String, Any?>)
constructor(json: JSONObject)
constructor(cropRect: Rect = Rect(), canvasColor: CanvasColor = CanvasColor.WHITE)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

CanvasColor color to use when converting images with alpha channel to images without alpha channel.

Link copied to clipboard

If the rect is not empty, the image will be cropped to this rect before processing.

Functions

Link copied to clipboard
Link copied to clipboard
fun toJson(config: ToJsonConfiguration = ToJsonConfiguration.default()): JSONObject