DataLudi Grid v.1 > Classes > GridStyles

Back  Forward

GridStyles.foreground  property

Fill object, which use as text color mainly. If it ha specified, uses as various types such as below example. 

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