[英]scaling an image on a CALayer?
I have a map, on which are placed markers that inherit from CALayer. 我有一张地图,上面放有从CALayer继承的标记。
I would like to scale the images on this layers, but keep their anchor point. 我想在此图层上缩放图像,但要保留其锚点。
Is that even possible? 那有可能吗?
Thanks! 谢谢!
是的,图层将相对于其锚点属性缩放,而无需更改。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.