struct {}

Models a point used for natural drawing. Use PSPDFDrawingPointFromCGPoint to convert from a point with default intensity.

Note

The type encoding of this struct needs to remain consistent, because drawing point data can be serialized in NSValue objects.
  • The location as a regular CGPoint.

    Declaration

    Objective-C

    CGPoint location

    Swift

    var location: CGPoint
  • The relative thickness of the line at location. Range is 0-1.

    Declaration

    Objective-C

    CGFloat intensity

    Swift

    var intensity: CGFloat