Class: Bio::Graphics::Panel::Track::Feature::PixelRange

Inherits:
Object
  • Object
show all
Defined in:
lib/bio/graphics/feature.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(start_pixel, stop_pixel) ⇒ PixelRange

Returns a new instance of PixelRange.



127
128
129
# File 'lib/bio/graphics/feature.rb', line 127

def initialize(start_pixel, stop_pixel)
  @start_pixel, @stop_pixel = start_pixel, stop_pixel
end

Instance Attribute Details

#start_pixelObject

Returns the value of attribute start_pixel.



130
131
132
# File 'lib/bio/graphics/feature.rb', line 130

def start_pixel
  @start_pixel
end

#stop_pixelObject

Returns the value of attribute stop_pixel.



130
131
132
# File 'lib/bio/graphics/feature.rb', line 130

def stop_pixel
  @stop_pixel
end