ComponentOverlayDelegate

Description

delegate Tinman.Engine.GUI.ComponentOverlayDelegate

g : Graphics

The graphics object to use.

component : Component

The component for which to draw an overlay.

bounds : Box2I

The component bounds.

Delegate that performs custom drawing on a GUI component.

When this delegate is invoked, the graphics object has been translated so that (0|0) refers to the pixel at the top-left corner of the component bounds; the clip rectangle has been set accordingly, too.