wx.lib.agw.xlsgrid.XLSBorderFactory¶This is a factory class which holds information about all the borders in a cell. Its implementation and use is merely to simplify the handling of the different cell borders (left, top, bottom, right, diagonal).
Methods Summary¶__init__ |
Default class constructor. |
Draw |
Actually draws all the cell borders based on their drawing priority. |
Class API¶XLSBorderFactory(object)¶This is a factory class which holds information about all the borders in a cell. Its implementation and use is merely to simplify the handling of the different cell borders (left, top, bottom, right, diagonal).
__init__(self, book, border, default_colour)¶Default class constructor.
| Parameters: |
|
|---|
Draw(self, dc, rect)¶Actually draws all the cell borders based on their drawing priority.
| Parameters: |
|---|
Note
The drawing priority is assigned depending on if the border is a custom one or not. Customized borders are drawn last.