<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: 13.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIImage/SymbolConfiguration-swift.class/init(pointSize:weight:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIImageSymbolConfiguration(cm)configurationWithPointSize:weight:"
  },
  "title" : "init(pointSize:weight:)"
}
-->

# init(pointSize:weight:)

Creates a configuration object with the specified point-size and weight information.

```
convenience init(pointSize: CGFloat, weight: UIImage.SymbolWeight)
```

## Parameters

`pointSize`

The system font point size to use for the configuration.

`weight`

The symbol image weight variant to select. Specify a value that is comparable to the font weight of any matching text. For a list of possible values, see [`UIImage.SymbolWeight`](/documentation/UIKit/UIImage/SymbolWeight).

## Return Value

A new symbol configuration object with the specified information.

---

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)