Builder

open class Builder

Builder for PreFillType.

Constructors

Link copied to clipboard
open fun Builder(size: Int)
Constructor for a builder that uses the given size as the width and height of the Bitmaps to prefill.
Link copied to clipboard
open fun Builder(width: Int, height: Int)
Constructor for a builder that uses the given dimensions as the dimensions of the Bitmaps to prefill.

Functions

Link copied to clipboard
open fun setConfig(config: Config): PreFillType.Builder
Sets the android.graphics.Bitmap.
Link copied to clipboard
open fun setWeight(weight: Int): PreFillType.Builder
Sets the weight to use to balance how many Bitmaps of this type are prefilled relative to the other requested types.