DCOverlay¶Connects an overlay with a drawing DC.
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. |
Class API¶Connects an overlay with a drawing DC.
Possible constructors:
DCOverlay(overlay, dc, x, y, width, height)
DCOverlay(overlay, dc)
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: |
|---|
__init__ (self, overlay, dc)
Convenience wrapper that behaves the same using the entire area of the dc.
| Parameters: |
|---|
Clears the layer, restoring the state at the last init.