字段和属性

结构体(记录)

struct ColorPoint {
    //字段
    int x, y;

    //Objective-C 的结构体没有属性
    Brush Color;
};