--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Creates a new cell object. Generally used indirectly via Document#cell
- !ruby/struct:SM::Flow::P 
  body: Of the available options listed below, <tt>:point</tt>, <tt>:width</tt>, and <tt>:text</tt> must be provided. If you are not using the Document#cell shortcut, the <tt>:document</tt> must also be provided.
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "<tt>:point</tt>:"
    body: Absolute [x,y] coordinate of the top-left corner of the cell.
  - !ruby/struct:SM::Flow::LI 
    label: "<tt>:document</tt>:"
    body: The Prawn::Document object to render on.
  - !ruby/struct:SM::Flow::LI 
    label: "<tt>:text</tt>:"
    body: The text to be flowed within the cell
  - !ruby/struct:SM::Flow::LI 
    label: "<tt>:text_color</tt>:"
    body: The color of the text to be displayed
  - !ruby/struct:SM::Flow::LI 
    label: "<tt>:width</tt>:"
    body: The width in PDF points of the cell.
  - !ruby/struct:SM::Flow::LI 
    label: "<tt>:height</tt>:"
    body: The height in PDF points of the cell.
  - !ruby/struct:SM::Flow::LI 
    label: "<tt>:horizontal_padding</tt>:"
    body: The horizontal padding in PDF points
  - !ruby/struct:SM::Flow::LI 
    label: "<tt>:vertical_padding</tt>:"
    body: The vertical padding in PDF points
  - !ruby/struct:SM::Flow::LI 
    label: "<tt>:padding</tt>:"
    body: Overrides both horizontal and vertical padding
  - !ruby/struct:SM::Flow::LI 
    label: "<tt>:align</tt>:"
    body: One of <tt>:left</tt>, <tt>:right</tt>, <tt>:center</tt>
  - !ruby/struct:SM::Flow::LI 
    label: "<tt>:borders</tt>:"
    body: An array of sides which should have a border. Any of <tt>:top</tt>, <tt>:left</tt>, <tt>:right</tt>, <tt>:bottom</tt>
  - !ruby/struct:SM::Flow::LI 
    label: "<tt>:border_width</tt>:"
    body: The border line width. Defaults to 1.
  - !ruby/struct:SM::Flow::LI 
    label: "<tt>:border_style</tt>:"
    body: One of <tt>:all</tt>, <tt>:no_top</tt>, <tt>:no_bottom</tt>, <tt>:sides</tt>, <tt>:none</tt>, <tt>:bottom_only</tt>. Defaults to :all.
  - !ruby/struct:SM::Flow::LI 
    label: "<tt>:border_color</tt>:"
    body: The color of the cell border.
  - !ruby/struct:SM::Flow::LI 
    label: "<tt>:font_size</tt>:"
    body: The font size for the cell text.
  - !ruby/struct:SM::Flow::LI 
    label: "<tt>:font_style</tt>:"
    body: The font style for the cell text.
  type: :NOTE
full_name: Prawn::Table::Cell::new
is_singleton: true
name: new
params: (options={})
visibility: public
