Vcl.Graphics.TGraphic.Equals

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function Equals(Graphic: TGraphic): Boolean; reintroduce; overload; virtual;
function Equals(Obj: TObject): Boolean; overload; override;

C++

HIDESBASE virtual bool __fastcall Equals(TGraphic* Graphic)/* overload */;
virtual bool __fastcall Equals(System::TObject* Obj)/* overload */;

Properties

Type Visibility Source Unit Parent
function public
Vcl.Graphics.pas
Vcl.Graphics.hpp
Vcl.Graphics TGraphic

Description

Compare graphic to another TGraphic object and return true if objects contain same graphic.

Equals compares the contents of two TGraphic objects. Equals returns false if the TGraphic are different classes or if they contain different graphical data.

Code Examples