AspectType
*此内容使用人工智能(Beta)翻译,可能包含错误。若要查看英文页面,请点按 此处。
由 UIAspectRatioConstraint.AspectType 使用来控制缩放行为。
项目
名称 | 值 | 概要 |
---|---|---|
FitWithinMaxSize | 0 | 对象将是其自身 AbsoluteSize 内最大的可能尺寸。 |
ScaleWithParentSize | 1 | 对象的最大尺寸将是父级的尺寸,同时仍然保持长宽比。 |
*此内容使用人工智能(Beta)翻译,可能包含错误。若要查看英文页面,请点按 此处。
由 UIAspectRatioConstraint.AspectType 使用来控制缩放行为。
名称 | 值 | 概要 |
---|---|---|
FitWithinMaxSize | 0 | 对象将是其自身 AbsoluteSize 内最大的可能尺寸。 |
ScaleWithParentSize | 1 | 对象的最大尺寸将是父级的尺寸,同时仍然保持长宽比。 |