ApiRTC iOS SDK Documentation

Class Drawing​Element

open class DrawingElement  

Properties

type

open private(set) var type: DrawingElementType

tool

open internal(set) var tool: WhiteboardTool = .void

id

open internal(set) var id: Int = 0

user​Id

open internal(set) var userId: String = ""

from​Point

open internal(set) var fromPoint  

to​Point

open internal(set) var toPoint  

color

open internal(set) var color: UIColor = .black

width

open internal(set) var width: Int = 1

created​At

open private(set) var createdAt: Int = Date().millisecondsSince1970

sheet​Id

open internal(set) var sheetId: Int = 1