BrushFamily.Builder



Builder for BrushFamily.

For Java developers, use BrushFamily.Builder to construct a BrushFamily with default values, overriding only as needed. For example: BrushFamily family = BrushFamily.builder().setCoat(presetBrushCoat).build();

Summary

Public constructors

Cmn

Public functions

BrushFamily

Constructs a BrushFamily from this Builder.

Cmn
BrushFamily.Builder

Sets the list of brush coats for this brush family to a single coat.

Cmn
BrushFamily.Builder

Sets the list of brush coats for this brush family.

Cmn
BrushFamily.Builder
setDeveloperComment(developerComment: String)

Sets the developer comment for this brush family.

Cmn
BrushFamily.Builder

Sets the input model for this brush family.

Cmn

Public constructors

Builder

Builder()

Public functions

build

fun build(): BrushFamily

Constructs a BrushFamily from this Builder.

setCoat

fun setCoat(coat: BrushCoat): BrushFamily.Builder

Sets the list of brush coats for this brush family to a single coat.

setCoats

fun setCoats(coats: List<BrushCoat>): BrushFamily.Builder

Sets the list of brush coats for this brush family.

setDeveloperComment

fun setDeveloperComment(developerComment: String): BrushFamily.Builder

Sets the developer comment for this brush family.

setInputModel

fun setInputModel(inputModel: BrushFamily.InputModel): BrushFamily.Builder

Sets the input model for this brush family.