Sha256: a9b55efc4b2b12b0ef15cfba21aea8d0c0000cd01efd8fd6760e1d85bb20316c
Contents?: true
Size: 622 Bytes
Versions: 1
Compression:
Stored size: 622 Bytes
Contents
# coding: utf-8 module ThinReports module Core::Shape # @private class List::SectionInternal < Base::Internal format_delegators :height, :relative_left, :relative_top, :svg_tag # @return [Symbol] attr_accessor :section_name # @param [Numeric] ry def move_top_to(ry) states[:relative_top] = ry end # @return [Array<Numeric>] def relative_position [relative_left, relative_top + (states[:relative_top] || 0)] end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
thinreports-0.6.0.pre3 | lib/thinreports/core/shape/list/section_internal.rb |