1class Efl.Ui.Widget_Part_Shadow extends Efl.Ui.Widget_Part implements Efl.Gfx.Color, 2 Efl.Gfx.Blur, Efl.Gfx.Filter 3{ 4 [[A drop-shadow or glow effect around any widget. 5 6 A simple drop-shadow effect can be applied to any widget by setting the 7 color and blur radius on this part. 8 9 For instance, a blue glow can be achieved with: 10 obj.shadow().color_set(0, 128, 255, 255); 11 obj.shadow().grow_set(2); 12 obj.shadow().radius_set(3, 3); 13 14 As another example, here's a black drop-shadow: 15 obj.shadow().color_set(0, 0, 0, 255); 16 obj.shadow().grow_set(1); 17 obj.shadow().radius_set(5, 5); 18 obj.shadow().offset_set(5, 5); 19 20 It is also possible to manually specify which @Efl.Gfx.Filter program to 21 use. 22 23 @since 1.23 24 ]] 25 data: null; 26 implements { 27 Efl.Gfx.Color.color { set; get; } 28 Efl.Gfx.Blur.radius { set; get; } 29 Efl.Gfx.Blur.offset { set; get; } 30 Efl.Gfx.Blur.grow { set; get; } 31 Efl.Gfx.Filter.filter_program { set; get; } 32 Efl.Gfx.Filter.filter_source { set; get; } 33 Efl.Gfx.Filter.filter_data { set; get; } 34 Efl.Gfx.Filter.filter_padding { get; } 35 Efl.Gfx.Filter.filter_state { set; get; } 36 } 37} 38