DataLudi Grid v.1 > Classes > GridStyles

Back  Forward

GridStyles.shapeBackground  property

Fill object when draws the background of shape in the cell renderer including direct drawing shape by canvas drawing api. When to set, specify various styles as below examples. 

Getter
function shapeBackground(): Fill
Setter
function setShapeBackground(value: String|Fill)
Code -1
    // Solid Brush
    column.styles().setShapeBackground('#3300ff00');
    // Linear Gradient Brush
    column.styles().setShapeBackground('linear,#ffffff,#f0f0f0,90');
    // rgba()
    column.styles().setShapeBackground('rgba(255, 254, 253, 0.5');
See Also
shapeBorder
Fill
Style Overview
Examples
Column Styles