DESCRIPTIONGraphics::Primitive::Border describes the border to be rendered around a component.
my $border = Graphics::Primitive::Border->new;
newCreates a new Graphics::Primitiver::Border. Borders are composed of 4 brushes, one for each of the 4 sides. See the documentation for Graphics::Primitive::Brush for more information. Note that you can provide a "width" and "color" argument to the constructor and it will create brushes of that width for each side.
bottomThe brush representing the bottom border.
cloneClose this border.
colorSet the Color on all 4 borders to the one supplied. Shortcut for setting it with each side.
dash_patternSet the dash pattern on all 4 borders to the one supplied. Shortcut for setting it with each side.
equal_to ($other)Returns 1 if this border is equal to the one provided, else returns 0.
homogeneousReturns 1 if all of this border's sides are the same. Allows for driver optimizations.
leftThe brush representing the left border.
not_equal_toOpposite of "equal_to".
rightThe brush representing the right border.
topThe brush representing the top border.
widthSet the width on all 4 borders to the one supplied. Shortcut for setting it with each side.
AUTHORCory Watson, "<[email protected]>"
COPYRIGHT & LICENSECopyright 2008-2010 by Cory G Watson.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.