首页 > 其他 > 详细

索引说明2

时间:2018-06-09 18:41:40      阅读:211      评论:0      收藏:0      [点我收藏+]
type 
   TRectangle=class
   private
         FCoordinates:array[0..3] of longint;
         function GetCoordinate(Index:integer):Longint; //读方法
         procedure SetCoordinate(Index:integer; Value:Longint);//写方法
    public
          property Left:Lingint;  index 0 read GetCoordinate write SetCoordinate;
          property Top:Lingint;  index 1 read GetCoordinate write SetCoordinate;
          property Right:Lingint;  index 2 read GetCoordinate write SetCoordinate;
          property Bottom:Lingint;  index 3 read GetCoordinate write SetCoordinate;
       end;
 

  

索引说明2

原文:https://www.cnblogs.com/cdrapp/p/9160376.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!