Radius Location Selection

Defined in framework ScanditCaptureCore

RadiusLocationSelection
open class RadiusLocationSelection : NSObject, LocationSelection

Added in version 6.0.0

Location selection for selecting codes inside a circle with the given radius, centered on the point of interest. Any object that touches the circle is returned, objects that do not intersect the circle are filtered out.

init(radius:)
convenience init(radius: FloatWithUnit)

Added in version 6.0.0

Creates a new radius location selection instance with the specified radius.

radius
open var radius: FloatWithUnit { get }

Added in version 6.0.0

The radius of the circle. When using fractional coordinates, the radius is measured relative to the view’s width.

jsonString
open var jsonString: String { get }

Added in version 6.9.0

Returns the JSON representation of the location selection.