Resource Base
Table of contents

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: