lib/gruff/base.rb
# Space around text elements. Mostly used for vertical spacing.
Space around text elements. Mostly used for vertical spacing.
Space around text elements . Mostly used for vertical spacing .
def draw_label_at(width, height, x, y, text, gravity = Magick::NorthGravity)
      label_text = truncate_label_text(text)
      text_renderer = Gruff::Renderer::Text.new(renderer, label_text, font: @marker_font)
      text_renderer.add_to_render_queue(width, height, x, y, gravity)
    end
def draw_label_at ( width , height , x , y , text , gravity = Magick :: NorthGravity ) label_text = truncate_label_text ( text ) text_renderer = Gruff :: Renderer :: Text . new ( renderer , label_text , font : @marker_font ) text_renderer . add_to_render_queue ( width , height , x , y , gravity ) end
Space around text elements.
Space around text elements .
width
<not_specific>
height
<not_specific>
x
<not_specific>
y
<not_specific>
text
<not_specific>
gravity
<not_specific>