Sha256: 2bd4e4897abdcf4bb277b820eed9eb480ba619e8771bc6d43cc7a50584834f0e

Contents?: true

Size: 524 Bytes

Versions: 5

Compression:

Stored size: 524 Bytes

Contents

# frozen_string_literal: true

module Thinreports
  module BasicReport
    module Core
      module Shape
        module Style
          class Basic < Style::Base
            style_accessible :visible, :offset_x, :offset_y
            attr_accessor :visible

            style_accessor :offset_x, 'offset-x'
            style_accessor :offset_y, 'offset-y'

            def initialize(*args)
              super
              @visible = @format.display?
            end
          end
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
thinreports-0.14.2 lib/thinreports/basic_report/core/shape/style/basic.rb
thinreports-0.14.1 lib/thinreports/basic_report/core/shape/style/basic.rb
thinreports-0.14.0 lib/thinreports/basic_report/core/shape/style/basic.rb
thinreports-0.13.1 lib/thinreports/basic_report/core/shape/style/basic.rb
thinreports-0.13.0 lib/thinreports/basic_report/core/shape/style/basic.rb