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.



431
432
433
# File 'lib/bio/graphics/feature.rb', line 431

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.



434
435
436
# File 'lib/bio/graphics/feature.rb', line 434

def start_pixel
  @start_pixel
end

#stop_pixelObject

Returns the value of attribute stop_pixel.



434
435
436
# File 'lib/bio/graphics/feature.rb', line 434

def stop_pixel
  @stop_pixel
end