# Cushion

class Cushion

Manage the data and the painting methods for the cushion effect.

## Constructors

Cushion
Link copied to clipboard
constructor(model: TreeMapModel<*, *, *>, left: Int, right: Int, width: Int, top: Int, bottom: Int, height: Int)
constructor(master: Cushion?, model: TreeMapModel<*, *, *>?, left: Int, right: Int, width: Int, top: Int, bottom: Int, height: Int)

## Functions

computeColor
Link copied to clipboard
fun computeColor(model: TreeMapModel<*, *, *>, color: MkColor?, x: Int, y: Int, width: Int, height: Int): MkColor?
fillRaster
Link copied to clipboard
fun fillRaster(model: TreeMapModel<*, *, *>?, color: MkColor?, x: Int, y: Int, width: Int, height: Int, raster: CPImage)