layout | title | description | keywords | needAutoGenerateSidebar | noTitleIndex | needGenerateH3Content | breadcrumbText | permalink |
---|---|---|---|---|---|---|---|---|
default-layout |
iOS DrawingItem Class - Dynamsoft Camera Enhancer Documents |
This is the documentation - iOS DrawingItem Class page of Dynamsoft Camera Enhancer. |
Camera Enhancer, iOS, DrawingItem |
true |
true |
true |
iOS DrawingItem Class |
/programming/ios/auxiliary-api/drawingitem-v3.0.3.html |
DrawingItem
is the class for users to draw graphic items on the UI view.
@interface DrawingItem
Method Name | Description |
---|---|
drawingStyleId |
Get the drawing style of the current DrawingItem . |
state |
Set the state of the current DrawingItem . |
getMediaType |
Get the media type of the current DrawingItem . |
The property that identifies the ID of the DrawingStyle
.
The property that indicates the state of the DrawingItem
. View all available DrawingItem
states in [EnumDrawingItemState
]({{ site.ios_camera_enhancer }}enum-drawing-item-state.html).
Get the media type of the DrawingItem
.
Return Value
The media type of the DrawingItem
.
Code Snippet
>- Objective-C >- Swift > >1. ```objc EnumDrawingItemMediaType mediaType = [drawingItem getMediaType]; ``` 2. ```swift let mediaType = drawingItem.getMediaType() ```