Phoenix Logo

phoenix_title wx.DCOverlay

Connects an overlay with a drawing DC.


class_hierarchy Class Hierarchy

Inheritance diagram for class DCOverlay:

method_summary Methods Summary

__init__ Connects this overlay to the corresponding drawing dc, if the overlay is not initialized yet this call will do so.
Clear Clears the layer, restoring the state at the last init.

api Class API



class wx.DCOverlay(object)

Possible constructors:

DCOverlay(overlay, dc, x, y, width, height)

DCOverlay(overlay, dc)

Connects an overlay with a drawing DC.


Methods



__init__(self, *args, **kw)

overload Overloaded Implementations:



__init__ (self, overlay, dc, x, y, width, height)

Connects this overlay to the corresponding drawing dc, if the overlay is not initialized yet this call will do so.

Parameters:
  • overlay (wx.Overlay) –
  • dc (wx.DC) –
  • x (int) –
  • y (int) –
  • width (int) –
  • height (int) –



__init__ (self, overlay, dc)

Convenience wrapper that behaves the same using the entire area of the dc.

Parameters:





Clear(self)

Clears the layer, restoring the state at the last init.