Class: Bio::KEGG::KGML::Graphics
Overview
Bio::KEGG::KGML::Graphics contains a ‘graphics’ element in the KGML.
Instance Attribute Summary collapse
-
#bgcolor ⇒ Object
background color (String or nil).
-
#coords ⇒ Object
polyline coordinates (Array containing Array of [ x, y ] pair of Integer values).
-
#fgcolor ⇒ Object
foreground color (String or nil).
-
#height ⇒ Object
height (Integer or nil).
-
#name ⇒ Object
label of the ‘graphics’ element (String or nil).
-
#type ⇒ Object
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.
-
#width ⇒ Object
width (Integer or nil).
-
#x ⇒ Object
X axis position (Integer or nil).
-
#y ⇒ Object
Y axis position (Integer or nil).
Instance Attribute Details
#bgcolor ⇒ Object
background color (String or nil)
421 422 423 |
# File 'lib/bio/db/kegg/kgml.rb', line 421 def bgcolor @bgcolor end |
#coords ⇒ Object
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 |
#fgcolor ⇒ Object
foreground color (String or nil)
418 419 420 |
# File 'lib/bio/db/kegg/kgml.rb', line 418 def fgcolor @fgcolor end |
#height ⇒ Object
height (Integer or nil)
415 416 417 |
# File 'lib/bio/db/kegg/kgml.rb', line 415 def height @height end |
#name ⇒ Object
label of the ‘graphics’ element (String or nil)
390 391 392 |
# File 'lib/bio/db/kegg/kgml.rb', line 390 def name @name end |
#type ⇒ Object
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 |
#width ⇒ Object
width (Integer or nil)
412 413 414 |
# File 'lib/bio/db/kegg/kgml.rb', line 412 def width @width end |
#x ⇒ Object
X axis position (Integer or nil)
402 403 404 |
# File 'lib/bio/db/kegg/kgml.rb', line 402 def x @x end |
#y ⇒ Object
Y axis position (Integer or nil)
405 406 407 |
# File 'lib/bio/db/kegg/kgml.rb', line 405 def y @y end |