从ondraw中获取