...
- First split by a semicolon.
- Element 0 = Label line colour (Flash-style hexadecimal values)
- Element 1 = Width of line in pixels
- Element 2 = Label background fill colour
- Element 3 = Label font size
- Element 4 = Label font colour
- Element 5 = Label width in pixels (text)
- Element 6 = Label height in pixels (text)
- Element 7 = Label width in pixels (images)
- Element 8 = Label height in pixels (images)
- Element 9 = Mode: 1) single - each label is used once, 2) multiple - each label can used in an answer repeatedly.
- Element 10 = Style (label or menu)
- Element 11 - split by | character
- Split by $ character
- 0 = Label ID starting at zero.
- 1 = Instance of the label starting at zero (this is incremented by one when in repeating label mode)
- 2 = X coordinate of left of label (this coordinate being greater than 219 marks it as being a correct answer)
- 3 = Y coordinate of top of label
- 4 = Text (or image filename) of the label5 . If an image is used this is made of three parts split by ~
- Element 0 = filename
- Element 1 = Option when using images - original width of image in pixels
- Element 2 = Option when using images - original height of image in pixels
- Split by $ character
- Element 12 (onward) - split by $ character:
- 0 = ID of additional line
- 1 = Type (line, bobble or arrow)
- 2 = Start x coordinate
- 3 = Start y coordinate
- 4 = End x coordinate
- 5 = End y coordinate
Student Answer
The answers to all labels are stored in the 'user_answer' field in the relevant log table for a single question. The format is thus:
...