Vcl.Direct2D.TDirect2DCanvas.Notification

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Notification(AD2DObject: TDirect2DGraphicsObject; Operation: TOperation);

C++

void __fastcall Notification(TDirect2DGraphicsObject* AD2DObject, System::Classes::TOperation Operation);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.Direct2D.pas
Vcl.Direct2D.hpp
Vcl.Direct2D TDirect2DCanvas

Description

Notifies the canvas that a graphics object is created or removed.

Notification is used internally by the canvas object. Notification is called automatically whenever a new graphics object is attached to the canvas, or an old one is removed from the canvas.

Notification accepts two parameters. AD2DObject is the object being added or removed. Operation is the actual operation being performed--addition or removal of the object to, respectively from the canvas.

Note: Notification does not free the graphical objects if they are removed. Notification simply removes the object reference from an internal list.

See Also