class Hpdf::Row

Overview

The row is part of a Table and hold multiple Cell in the same vertical position.

Defined in:

hpdf/table.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

Create a new row


[View source]

Instance Method Detail

def add_cell(cell : Cell) #

add the passed cell to the row (at the end)


[View source]
def cell(*, span : Number = 1, &block : Page, Rectangle -> ) #

creates a cell by capturing the block for the cell and adding the cell to the end of the row


[View source]
def cells : Array(Hpdf::Cell) #

[View source]
def cells=(cells : Array(Hpdf::Cell)) #

[View source]