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.
我需要一种解决方案来在矩形内的图像上绘制字符串并根据图像大小(分辨率)设置字体大小?
示例图像
如您所见,我需要在该蓝色矩形内放置一些文本(从右到左的文本),其字体大小会根据图像大小而变化
任何帮助将不胜感激。