<!--
{
  "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",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "PencilKit"
    ],
    "preciseIdentifier" : "c:objc(cs)PKFloatRange"
  },
  "title" : "PKFloatRange"
}
-->

# PKFloatRange

A utility class that represents range components of a stroke.

```
@interface PKFloatRange : NSObject
```

## Topics

### Creating a new range

[`initWithLowerBound:upperBound:`](/documentation/PencilKit/PKFloatRange/initWithLowerBound:upperBound:)

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

### Getting the boundaries of the range

[`lowerBound`](/documentation/PencilKit/PKFloatRange/lowerBound)

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

[`upperBound`](/documentation/PencilKit/PKFloatRange/upperBound)

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



---

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)