# File lib/bio/graphics/glyph.rb, line 245 def self.up_triangle(args) #:x, :y, :width :fill, :stroke :stroke_width, :style, :height args = { :height => 10, :fill_color => 'red', :stroke => "black", :stroke_width => 1, :style => "fill-opacity:0.4;"}.merge!(args) args[:points] = "#{args[:x]},#{args[:y] + args[:height]} #{args[:x] + args[:width]},#{args[:y] + args[:height]} #{ args[:x] + (args[:width]/2) },#{args[:y] }" [Bio::Graphics::Primitive.new(:polygon, args)] end