Jason Galea > PDF-Boxer-0.004 > PDF::Boxer::Content::Box

Download:
PDF-Boxer-0.004.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.004   Source  

NAME ^

PDF::Boxer::Content::Box - a box

VERSION ^

version 0.004

ATTRIBUTES ^

debug

set true to turn on debugging

margin

Arrayref containing the size of the margin on each side of the box. (top, right, bottom, left)

border

Arrayref containing the size of the border on each side of the box. (top, right, bottom, left)

padding

Arrayref containing the size of the padding on each side of the box. (top, right, bottom, left)

children

Arrayref of boxes contained in this box.

boxer

the Boxer object.

parent

The box we are in.

name

The name of this box. Access boxes through the box register using this.

type

The type of this box. eg text, row, column

background

The background color of this box. (hex string or name)

border_color

The border color of this box. (hex string or name)

font

Non-text boxes will pass this to their children.

align

The alignment of this box (text string; right or center) No align means left.

valign

The vertical alignment of this box (text string; bottom or center) No align means top.

METHODS ^

initialize

Set the width & height for the box and call initialize on children

get_default_size

Returns the default width and height for this box.

AUTHOR ^

Jason Galea <lecstor@cpan.org>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2012 by Jason Galea.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: