DMSImageDetectionLocationStyle


@interface DMSImageDetectionLocationStyle : NSObject <NSCopying>

Defines styling options for the detection highlight layer. This class customizes the visual appearance of image detection locations.

  • The highlight path’s border color.

    Declaration

    Objective-C

    @property (nonnull) UIColor *borderColor;

    Swift

    var borderColor: UnsafeMutablePointer<Int32> { get set }
  • The highlight path’s border width in points.

    Declaration

    Objective-C

    @property (nonnull) UIColor *fillColor;

    Swift

    var fillColor: UnsafeMutablePointer<Int32> { get set }
  • The highlight path’s fill color.

    Declaration

    Objective-C

    @property CGFloat borderWidth;

    Swift

    var borderWidth: Double { get set }
  • Designated initializer for a new ImageDetectionLocationStyle object. Defaults to a white border, white transparent fill, and a border width of 1 point.

    Declaration

    Objective-C

    - (id _Nonnull)init;

    Swift

    init()