label

Help Contents geomland Labels label
def_position traces

geomland.label :parent


constructs a label object.

Definition:

to geomland.label :parent

	local "center
	make local "string :parent
	make local "font :labelfont
	make local "radiusx 20
	make local "radiusy 20
	make local "color rgb 0 0 0
	make local "mode 2
	make local "offset :def_offs
	make local "position def_position : (:parent)
	make local "distance 8

	to update
		make "center (label_position : (:parent) :position :distance) + :offset
	end
	update

	to ondrawimage 
		dll.graphix.drawtext 
	end
end

Example:

References:

def_position traces