Class: Shoes::Swt::Border::Painter
- Inherits:
-
RectPainter
- Object
- Common::Painter
- RectPainter
- Shoes::Swt::Border::Painter
- Defined in:
- shoes-swt/lib/shoes/swt/border.rb
Constant Summary
Constants inherited from Common::Painter
Constants included from Common::Resource
Instance Method Summary collapse
Methods inherited from RectPainter
#draw, #fill, #inset, #inset_fill?, #rounded?, #strokewidth?
Methods inherited from Common::Painter
#after_painted, #before_painted, #draw, #drawing_bottom, #drawing_top, #fill, #fill_and_draw, #initialize, #paint_control, #paint_object, #reset_rotate, #set_rotate
Methods included from Common::Resource
#clip_context_to, #dispose_previous_contexts, #reset_graphics_context, #set_defaults_on_context, #track_graphics_context
Constructor Details
This class inherits a constructor from Shoes::Swt::Common::Painter
Instance Method Details
#draw_setup(gc) ⇒ Object
36 37 38 39 |
# File 'shoes-swt/lib/shoes/swt/border.rb', line 36 def draw_setup(gc) @obj.apply_stroke gc true end |
#fill_setup(_gc) ⇒ Object
32 33 34 |
# File 'shoes-swt/lib/shoes/swt/border.rb', line 32 def fill_setup(_gc) # don't draw end |