SMART datagrid v.1 > Classes > GridStyles
セルにマウスが乗ってる時、 セルの表示されるshpaeの背景色を描画する時に使われるFill客体。
Shapeはcanvasやsvg apiを利用して描画される。 以下のサンプルのようにいろんなほうほうで指定することができる。
// solid fill
column.styles().setShapeHoveredColor('#3300ff00');
// solid fill
column.styles().setShapeHoveredColor('#00ff00');
// rgba()
column.styles().setShapeHoveredColor('rgba(255, 254, 253, 0.5)');
// linear gradient
column.styles().setShapeHoveredColor('linear,#ffffff,#f0f0f0,90');
// or
column.setStyles({
shapeHoveredColor: '#ff0000',
shapeHoveredBorder: '#880000'
});