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.
我有一张地图,上面放置了从 CALayer 继承的标记。 我想缩放此图层上的图像,但保留它们的锚点。 这甚至可能吗?
谢谢!
是的,图层将相对于它们的锚点属性进行缩放而不改变它。