drawing shape from dictionary