DrawingItemMediaType
The enumeration DrawingItemMediaType describes the media type of DrawingItems.
- Objective-C
- Swift
typedef NS_ENUM(NSInteger, DSDrawingItemMediaType) { /** * The mediate type of the DrawingItem is rectangle. */ DSDrawingItemMediaTypeRectangle = 1, /** * The mediate type of the DrawingItem is quadrilateral. */ DSDrawingItemMediaTypeQuadrilateral = 2, /** * The mediate type of the DrawingItem is text. */ DSDrawingItemMediaTypeText = 4, /** * The mediate type of the DrawingItem is line. */ DSDrawingItemMediaTypeLine = 8 };public enum DrawingItemMediaType : Int{ /** * The mediate type of the DrawingItem is rectangle. */ rectangle = 1 /** * The mediate type of the DrawingItem is quadrilateral. */ quadrilateral = 2 /** * The mediate type of the DrawingItem is text. */ text = 4 /** * The mediate type of the DrawingItem is line. */ line = 8 }