Создайте labelDefinitionCreator.
Добавьте прямоугольную метку, названную Car в группе под названием Vehicle.
Добавьте прямоугольную метку, названную Truck в группе под названием FourWheeler.
Переместите метку Car в группу FourWheeler.
Осмотрите метки.
ldc =
labelDefinitionCreator contains the following labels:
Car with 0 sublabels and 0 attributes and belongs to FourWheeler group. (info)
Truck with 0 sublabels and 0 attributes and belongs to FourWheeler group. (info)
For more details about attributes and sublabels, use the info method.