Sha256: 2417d88ca31c710d749d1d3f0d0b700a547b24a55253605c0c3d30d07060cc3f
Contents?: true
Size: 1.91 KB
Versions: 8
Compression:
Stored size: 1.91 KB
Contents
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>label (Bio::Graphics::Glyph)</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" /> </head> <body class="standalone-code"> <pre><span class="ruby-comment cmt"># File lib/bio/graphics/glyph.rb, line 515</span> <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">label</span>(<span class="ruby-identifier">args</span>) [<span class="ruby-constant">Bio</span><span class="ruby-operator">::</span><span class="ruby-constant">Graphics</span><span class="ruby-operator">::</span><span class="ruby-constant">Primitive</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">:text</span>, <span class="ruby-identifier">:text</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">args</span>[<span class="ruby-identifier">:text</span>], <span class="ruby-identifier">:x</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">args</span>[<span class="ruby-identifier">:x</span>], <span class="ruby-identifier">:y</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">args</span>[<span class="ruby-identifier">:y</span>], <span class="ruby-identifier">:fill</span> =<span class="ruby-operator">></span> <span class="ruby-value str">"black"</span>, <span class="ruby-identifier">:style</span> =<span class="ruby-operator">></span> <span class="ruby-value str">"font-family:monospace;"</span>)] <span class="ruby-keyword kw">end</span></pre> </body> </html>
Version data entries
8 entries across 4 versions & 1 rubygems