Sha256: 48210ef4afb4e3daf7019e965df73bc9d1088803528c1fe132b2e4425c883ab1

Contents?: true

Size: 243 Bytes

Versions: 4

Compression:

Stored size: 243 Bytes

Contents

# frozen_string_literal: true
class Shoes
  module Swt
    class ShapePainter < Common::Painter
      def fill(gc)
        gc.fill_path(@obj.element)
      end

      def draw(gc)
        gc.draw_path(@obj.element)
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
shoes-swt-4.0.0.pre12 lib/shoes/swt/shape_painter.rb
shoes-swt-4.0.0.pre11 lib/shoes/swt/shape_painter.rb
shoes-swt-4.0.0.pre10 lib/shoes/swt/shape_painter.rb
shoes-swt-4.0.0.pre9 lib/shoes/swt/shape_painter.rb