adapterunit1.pas
来自「设计模式delphi版给想学delphi的朋友一个很有价值的参考」· PAS 代码 · 共 26 行
PAS
26 行
unit AdapterUnit1;
interface
uses Windows;
type
TManipulator = class
public
constructor Create; virtual;
end;
TShape = class
public
constructor Create; virtual;
procedure BoundingBox(bottomLeft, topRight: TPoint); virtual;
function CreateManipulator(): Tmanipulator; virtual;
end;
TTextView = class
public
constructor Create; virtual;
procedure GetOrigin(X, Y: Longint);
procedure GetExtent(width, height: Longint);
function IsEmpty(): Boolean;
end;
TTextShape = class(TShape) //钡
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?