<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -",
    "macOS: 11.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PencilKit",
  "identifier" : "/documentation/PencilKit/PKFloatRange/initWithLowerBound:upperBound:",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "PencilKit"
    ],
    "preciseIdentifier" : "c:objc(cs)PKFloatRange(im)initWithLowerBound:upperBound:"
  },
  "title" : "initWithLowerBound:upperBound:"
}
-->

# initWithLowerBound:upperBound:

A utility class used to contain ranges returned by the PKStroke API.

```
- (instancetype) initWithLowerBound:(CGFloat) lowerBound upperBound:(CGFloat) upperBound;
```

## Parameters

`lowerBound`

A floating point value that represents the lower bound of the range.

`upperBound`

A floating point value that represents the upper bound of the range.

## Return Value

A new range instance with the supplied upper and lower bounds.

## Discussion

---

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)