DataLudi Grid v.1 > Classes > GridStyles

Back  Forward

GridStyles.shapeInactiveBackground  property

Canvasの描画apiを利用して直接描画されるshapeが含まれたセルレンダラーで Shapeを非活動化になった状態で表示しようとする時、shapeの背景色に使われるFill客体。 設定の時には以下のサンプルのように多様な方法で指定できる。 

Getter
function shapeInactiveBackground(): Fill
Setter
function setShapeInactiveBackground(value: String|Fill)
Code -1
    // Solid Brush
    column.styles().setShapeInactiveBackground('#3300ff00');
    // Linear Gradient Brush
    column.styles().setShapeInactiveBackground('rgba(255, 254, 253, 0.5');
    // raba()
    column.styles().setShapeInactiveBackground('linear,#ffffff,#f0f0f0,90');
See Also
shapeBackground
shapeBorder
Fill
スタイル概要
Examples
Shape Cell Renderer
Column Styles