Package apple.uikit.protocol
Interface UILayoutGuideAspectFitting
-
public interface UILayoutGuideAspectFitting
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description doubleaspectRatio()Update the aspect ratio (width / height) for the given content Defaults to 1.0.voidsetAspectRatio(double value)Update the aspect ratio (width / height) for the given content Defaults to 1.0.
-
-
-
Method Detail
-
aspectRatio
double aspectRatio()
Update the aspect ratio (width / height) for the given content Defaults to 1.0. Must be > 0.0 and values may be clamped within a reasonable range of approximately 1:100 to 100:1.
-
setAspectRatio
void setAspectRatio(double value)
Update the aspect ratio (width / height) for the given content Defaults to 1.0. Must be > 0.0 and values may be clamped within a reasonable range of approximately 1:100 to 100:1.
-
-