wx.DCOverlay¶Connects an overlay with a drawing DC.
See also
Class Hierarchy¶
Inheritance diagram for class DCOverlay:
Methods Summary¶Connects this overlay to the corresponding drawing dc, if the overlay is not initialized yet this call will do so. |
|
Clears the layer, restoring the state at the last init. |
Class API¶wx.DCOverlay(object)¶Possible constructors:
DCOverlay(overlay : Overlay, dc : DC, x : int, y : int, width : int,
height : int) -> None
DCOverlay(overlay : Overlay, dc : DC) -> None
Connects an overlay with a drawing DC.
__init__(self, *args, **kw)¶__init__ (self, overlay : Overlay, dc : DC, x : int, y : int, width : int, height : int)
Connects this overlay to the corresponding drawing dc, if the overlay is not initialized yet this call will do so.
overlay (wx.Overlay) –
dc (wx.DC) –
x (int) –
y (int) –
width (int) –
height (int) –
None
__init__ (self, overlay : Overlay, dc : DC)
Convenience wrapper that behaves the same using the entire area of the dc.
overlay (wx.Overlay) –
dc (wx.DC) –
None
Clear(self)¶Clears the layer, restoring the state at the last init.
None