public Point2D P1 { get; set; }
Public Property P1 As Point2D Get Set
public: property Point2D P1 { Point2D get (); void set (Point2D value); }
member P1 : Point2D with get, set