Anchor

Defined in framework ScanditDataCaptureCore

SDCAnchor

Added in version 6.0.0

An enumeration of possible anchoring points in a geometric object such as CGRect or quadrilaterals. Values of this enumeration are typically used to determine where elements are placed on the screen. For example, it is used to place the logo on screen.

SDCAnchorTopLeft

Added in version 6.0.0

This value will use the top left corner as the anchor point.

SDCAnchorTopCenter

Added in version 6.0.0

This value will will use the center of the top edge as the anchor point.

SDCAnchorTopRight

Added in version 6.0.0

This value will use the top right corner as the anchor point.

SDCAnchorCenterLeft

Added in version 6.0.0

This value will use the center left corner as the anchor point.

SDCAnchorCenter

Added in version 6.0.0

This value will use the center as the anchor point.

SDCAnchorCenterRight

Added in version 6.0.0

This value will use the center of the right edge as the anchor point.

SDCAnchorBottomLeft

Added in version 6.0.0

This value will use the bottom left corner as the anchor point.

SDCAnchorBottomCenter

Added in version 6.0.0

This value will use the center of the bottom edge as the anchor point.

SDCAnchorBottomRight

Added in version 6.0.0

This value will use the bottom right corner as the anchor point.

NSStringFromAnchor(anchor)
NSString *_Nonnull NSStringFromAnchor(SDCAnchor anchor)

Added in version 6.1.0

SDCAnchorFromJSONString(JSONString, anchor)
BOOL SDCAnchorFromJSONString(NSString *_Nonnull JSONString, SDCAnchor *_Nonnull anchor)

Added in version 6.1.0