Label Field Location

Defined in library scandit_datacapture_label

LabelFieldLocation
class LabelFieldLocation

Added in version 7.2.0

This class holds data about the location of a label field.

LabelFieldLocation.forCoordinates(left, top, right, bottom)
factory LabelFieldLocation.forCoordinates(
        double left,
        double top,
        double right,
        double bottom)

Added in version 7.2.0

Construct a new Label Field Location with the provided coordinates.

LabelFieldLocation.forRect(rect)
factory LabelFieldLocation.forRect(Rect rect)

Added in version 7.2.0

Construct a new Label Field Location with the provided location.

LabelFieldLocation.topLeft()
factory LabelFieldLocation.topLeft()

Added in version 7.2.0

Construct a new Label Field Location with the predefined location type corresponding to the top-left corner.

LabelFieldLocation.topRight()
factory LabelFieldLocation.topRight()

Added in version 7.2.0

Construct a new Label Field Location with the predefined location type corresponding to the top-right corner.

LabelFieldLocation.bottomLeft()
factory LabelFieldLocation.bottomLeft()

Added in version 7.2.0

Construct a new Label Field Location with the predefined location type corresponding to the bottom-left corner.

LabelFieldLocation.bottomRight()
factory LabelFieldLocation.bottomRight()

Added in version 7.2.0

Construct a new Label Field Location with the predefined location type corresponding to the bottom-right corner.

LabelFieldLocation.top()
factory LabelFieldLocation.top()

Added in version 7.2.0

Construct a new Label Field Location with the predefined location type corresponding to the top half.

LabelFieldLocation.right()
factory LabelFieldLocation.right()

Added in version 7.2.0

Construct a new Label Field Location with the predefined location type corresponding to the right half.

LabelFieldLocation.bottom()
factory LabelFieldLocation.bottom()

Added in version 7.2.0

Construct a new Label Field Location with the predefined location type corresponding to the bottom half.

LabelFieldLocation.left()
factory LabelFieldLocation.left()

Added in version 7.2.0

Construct a new Label Field Location with the predefined location type corresponding to the left half.

LabelFieldLocation.center()
factory LabelFieldLocation.center()

Added in version 7.2.0

Construct a new Label Field Location with the predefined location type corresponding to the center.

LabelFieldLocation.wholeLabel()
factory LabelFieldLocation.wholeLabel()

Added in version 7.2.0

Construct a new Label Field Location with the predefined location type corresponding to the whole label.