---
title: "init(wrappedValue:from:)"
framework: swiftui
role: symbol
role_heading: Initializer
path: "swiftui/physicalmetric/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.

## Declaration

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