Class RGhost::HorizontalLine
In: horizontal_line.rb
Parent: RGhost::PsObject

Creates horizontal line on the current row.

Methods

new  

Constants

DEFAULT_OPTIONS = {:start_in => :limit_left, :size => :area_x, :border => RGhost::Border::DEFAULT_OPTIONS

Public Class methods

Examples

Drawing line on middle

 doc.show "Foo Bar"
 doc.horizontal_line :middle

Drawing line on bottom and customizing border attributes

 doc.show "Foo Bar"
 doc.horizontal_line :bottom, :border => {:dash => [1,2,2,2], :color => :red}

Specifies size and where will start of line

 doc.show "Foo Bar"
 doc.horizontal_line :top, :start_in => 2, :size => 5, :border => {:dash => [1,2,2,2], :color => :red}

[Validate]