gpt4 book ai didi

interface-builder - 属性检查器 : how to use "Stretching"

转载 作者:行者123 更新时间:2023-12-03 15:01:50 24 4
gpt4 key购买 nike

View 子框 Interface Builder 的 Attributes Inspector 中的 Stretching 框中的数字是多少?

(作为一个附带问题 - 我想像 Apple 这样受人尊敬的公司实际上会发布其工具的文档,而不是让开发人员猜测所有内容;那么,这个文档在哪里?...)

最佳答案

这篇博文 Karol 似乎很好地解释了它。 - http://macoscope.com/blog/stretchable-images-using-interface-builder/

Stretching properties are pretty simple (I don't think so, but the articles does :).

The fraction of the original image left without stretching on the left is specified by X The fraction of the original image that gets stretched in the x-axis is specified by Width The fraction of the original image left without stretching on the right is equal to 1 – X – Width If we use 0 for Width the stretched area will interpolate between the last pixel of the left part and the first pixel of the right part The y-axis works analogously

关于interface-builder - 属性检查器 : how to use "Stretching",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11063574/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com