GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Table of Contents
  • wx.DCOverlay
  • Show Source
  • index
  • modules
  • next
  • previous
  • Home
  • Gallery
  • wx

This view

  • Original page
  • New address

GeezerVison is showing docs.wxpython.org — wx.DCOverlay — wxPython 4.3.2 Docs

phoenix_title wx.DCOverlay¶

Connects an overlay with a drawing DC.

Note that when using wx.DCOverlay with wx.ClientDC, which is the most common case, using OverlayDC class is simpler and so is recommended.

See also

wx.Overlay, wx.DC, OverlayDC


class_hierarchy Class Hierarchy¶

Inheritance diagram for class DCOverlay:

Inheritance diagram of 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) -> None

DCOverlay(overlay, dc) -> None

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)

Return type:

None



__init__ (self, overlay, dc)

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

Parameters:
  • overlay (wx.Overlay)

  • dc (wx.DC)

Return type:

None





Clear(self)¶

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

Return type:

None

© Copyright 2012-2026, The wxPython Team. Created using Sphinx 9.1.0 and the python-docs-theme.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.