const
function: void label ([unsigned int i = 0, [string position_string = "top", [short text_short = 0, [bool dot = false
, [Picture& picture = current_picture
]]]]])const
function: void label (Picture& picture, [unsigned int i = 0, [string position_string = "top", [short text_short = 0, [bool dot = false
]]]])Calls
Point::label()
on all of thePoints
onpoints
. They are numbered consecutively starting with i. The other arguments are used for all of thePoints
, so it's not possible to specify different positions for the labels for differentPoints
. dot will normally not be specified, unless a picture argument is used in the first version.dotlabel()
callslabel()
with dot =true
.The second version is convenient for passing a
Picture
argument without having to specify all of the other arguments.
const
function: void dotlabel ([unsigned int i = 0, [string position_string = "top", [short text_short = 0, Picture& picture = current_picture
]]])const
function: void dotlabel (Picture& picture, [unsigned int i = 0, [string position_string = "top", [short text_short = 0]]])Like
label()
, except that thePoints
are dotted.