border(self,
width=10,
color=(255, 255, 255),
left=None,
right=None,
top=None,
bottom=None)
Draw a border around the screen
Each border width can be specified separately, or if not specified,
will default to using width. Specify width of 0 for no border on a
particular side.
-
- Parameters:
width -
Pixel width of border. If only width is passed, an equal width
border will be drawn around the entire screen.
color -
Color of border.
left -
Left-side border width.
right -
Right-side border width.
top -
Top-side border width.
bottom -
Bottom-side border width
|