Next: , Previous: Ellipse Operators, Up: Ellipse Reference


31.5 Labeling

const function: void label ([const string pos = "top", [const bool dot = false, [Picture& picture = current_picture]]])

Labels the Points on points, using lowercase letters. pos is used to position all of the labels. It is currently not possible to have different positions for the labels.

          Ellipse e(origin, 6, 4);
          e.draw();
          e.label();


[Figure 161. Not displayed.]

Fig. 161.

— Inline const function: void dotlabel ([string pos = "top", [Picture& picture = current_picture]])

Like label(), except that the Points are dotted.

          Ellipse e(origin, 6, 4);
          e.draw();
          e.dotlabel();


[Figure 162. Not displayed.]

Fig. 162.