Sha256: 9b986e46f7f4bcbdd10f6def22a8e10e3d91a0ea6ba53c9eb2249ff72770b33f
Contents?: true
Size: 689 Bytes
Versions: 4
Compression:
Stored size: 689 Bytes
Contents
# frozen_string_literal: true class Shoes module Swt class Rect extend Forwardable include Common::Fill include Common::Stroke include Common::Clickable include Common::PainterUpdatesPosition include Common::Visibility include Common::Remove include Common::Translate include ::Shoes::BackendDimensionsDelegations def_delegators :dsl, :angle attr_reader :dsl, :app, :transform, :painter def initialize(dsl, app) @dsl = dsl @app = app @painter = RectPainter.new(self) @app.add_paint_listener @painter end def corners dsl.curve 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/rect.rb |
shoes-swt-4.0.0.pre11 | lib/shoes/swt/rect.rb |
shoes-swt-4.0.0.pre10 | lib/shoes/swt/rect.rb |
shoes-swt-4.0.0.pre9 | lib/shoes/swt/rect.rb |