BOX¶
Prints a filled box.
Example¶
EXT:my_extension/Configuration/TypoScript/setup.typoscript¶
lib.example = IMAGE
lib.example {
file = GIFBUILDER
file {
# Rectangle with 100 pixel width and 50 pixel height
# in orange with opacity 50%
10 = BOX
10 {
dimensions = 0, 0, 100, 50
color = #ff8700
opacity = 50
}
}
}
Properties¶
align¶
- align¶
- Data type
VHalign / stdWrap
- Default
l, t
Pair of values, which defines the horizontal and vertical alignment of the box in the image.
Values:
Horizontal alignment:
- l
left
- c
center
- r
right
Vertical alignment:
- t
top
- c
center
- b
bottom
Example:
Horizontally centered, vertically at the bottom:
EXT:site_package/Configuration/TypoScript/setup.typoscript¶align = c, b