physicalMetrics
The physical metrics associated with a scene.
Declaration
var physicalMetrics: PhysicalMetricsConverter { get set }Discussion
Reading this value returns a PhysicalMetricsConverter corresponding to the window scene associated with the environment’s reader. The converter can convert point sizes into physical measurements of length, and vice versa.
Reading this value is only supported in the body of a View or of a type that inherits a View’s environment.