ONO::Lib::Image::Brick

Functions

brick();

Generate brick element HTML code.

-B disable border color = #333333
-f flat (side view 1/3)
-F flat double (side view 2/3)
-i info (show below the brick)
-m display mm in -i mode
-s side view
-t top view (default)

ONO::Lib::Image::Brick->brick( $size_x, $size_y, $color, $switches );
returns: $BRICK

rail();

Generate brick element rail HTML code.

ONO::Lib::Image::Brick->rail( $size_w, $size_h );
returns: qq~<table class="default_table"> <tr> <td class="p0"><div class="p2 auto" style="width:$s[0]px;height:$s[1]px;background-color:#eeaa00"></div></td> </tr> <tr> <td class="p0"><div class="p2 auto" style="width:$s[2]px;height:$s[3]px;background-color:#eeaa00"></div></td> </tr> <tr> <td class="p0"><div class="p2 auto" style="width:$s[4]px;height:$s[5]px;background-color:#eeaa00"></div></td> </tr> </table> ~

rail_track();

Generate brick element rail track HTML code.

ONO::Lib::Image::Brick->rail_track( $scale );

Sub-Modules

none

Dependencies