<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/PhysicalMetric/init(wrappedValue:from:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI14PhysicalMetricV12wrappedValue4fromACySo7CGPointVGAG_So12NSUnitLengthCtcAGRszlufc::OverloadGroup"
  },
  "title" : "init(wrappedValue:from:)"
}
-->

# init(wrappedValue:from:)

Creates a value that maps the specified point, whose dimensions are specified
in physical length measurements in the given unit, to the corresponding value in points in the
associated scene.

```
init(wrappedValue point: CGPoint, from unit: UnitLength) where Value == CGPoint
```

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)