Class: Bio::KEGG::KGML::Graphics

Inherits:
Object
  • Object
show all
Defined in:
lib/bio/db/kegg/kgml.rb

Overview

Bio::KEGG::KGML::Graphics contains a 'graphics' element in the KGML.

Instance Attribute Summary collapse

Instance Attribute Details

#bgcolorObject

background color (String or nil)


421
422
423
# File 'lib/bio/db/kegg/kgml.rb', line 421

def bgcolor
  @bgcolor
end

#coordsObject

polyline coordinates (Array containing Array of [ x, y ] pair of Integer values)


409
410
411
# File 'lib/bio/db/kegg/kgml.rb', line 409

def coords
  @coords
end

#fgcolorObject

foreground color (String or nil)


418
419
420
# File 'lib/bio/db/kegg/kgml.rb', line 418

def fgcolor
  @fgcolor
end

#heightObject

height (Integer or nil)


415
416
417
# File 'lib/bio/db/kegg/kgml.rb', line 415

def height
  @height
end

#nameObject

label of the 'graphics' element (String or nil)


390
391
392
# File 'lib/bio/db/kegg/kgml.rb', line 390

def name
  @name
end

#typeObject

shape of the 'graphics' element (String or nil) Normally one of the following:

  • “rectangle”

  • “circle”

  • “roundrectangle”

  • “line”

If not specified, “rectangle” is the default value.


399
400
401
# File 'lib/bio/db/kegg/kgml.rb', line 399

def type
  @type
end

#widthObject

width (Integer or nil)


412
413
414
# File 'lib/bio/db/kegg/kgml.rb', line 412

def width
  @width
end

#xObject

X axis position (Integer or nil)


402
403
404
# File 'lib/bio/db/kegg/kgml.rb', line 402

def x
  @x
end

#yObject

Y axis position (Integer or nil)


405
406
407
# File 'lib/bio/db/kegg/kgml.rb', line 405

def y
  @y
end