Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何从平铺地图对象中获取旋转?
它在属性中列出,但object.getProperties().get("rotation");返回 null ,这样:object.getProperties().get("Rotation");。
object.getProperties().get("rotation");
object.getProperties().get("Rotation");
我的第一个想法是将整个对象转换为 Rectangle 对象,但 Rectangle 不会保持旋转。