DataLudi Grid v.1 > Classes > GridStyles

Back  Forward

GridStyles.shapeInactiveBackground  property

Canvas 그리기 api를 이용해서 직접 그려지는 shape가 포함되는 셀렌더러에서 shape를 비활성화된 상태로 표시하고자 할 때, shpae의 배경색에 사용되는 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