Resource Base
Table of contents

This documentation is deprecated. It applies only to legacy version 2.x of Capture Vision and must not be used for new development.

Please refer to the latest documentation and Migration Guide, which supersede this content.

CoordinateBase

Enumeration CoordinateBase describes the camera position.

  • Android
  • Objective-C
  • Swift
@IntDef({CB_IMAGE,CB_VIEW})
@Retention(RetentionPolicy.CLASS)
public @interface EnumCoordinateBase {
   // pixel, percentage
   public static final int CB_IMAGE = 0;
   // DP
   public static final int CB_VIEW = 1;
}
typedef NS_ENUM(NSInteger, DSCoordinateBase) {
   /**
    * Image coordinate.
    */
   DSCoordinateBaseImage = 0,
   /**
    * View coordinate.
    */
   DSCoordinateBaseView = 1
};
public enum CoordinateBase : Int{
   /**
    * Image coordinate.
    */
   image = 0
   /**
    * View coordinate.
    */
   view = 1
}

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article: