(bbox, corner)
| 59 | } |
| 60 | |
| 61 | function dragPos0(bbox, corner) { |
| 62 | if(corner === 'bl') { |
| 63 | return [ bbox.x + bbox.width * 0.5, |
| 64 | bbox.y + bbox.height * 0.5 - 10 ]; |
| 65 | } else if(corner === 'tr') { |
| 66 | return [ bbox.x + bbox.width * 0.5, |
| 67 | bbox.y + bbox.height * 0.5 + 10 ]; |
| 68 | } else { |
| 69 | return [ bbox.x + bbox.width * 0.5, |
| 70 | bbox.y + bbox.height * 0.5]; |
| 71 | } |
| 72 | } |
| 73 | |
| 74 | // Tests moving the annotation label |
| 75 | function testAnnotationMoveLabel(objectColor, moveX, moveY) { |
no outgoing calls
no test coverage detected
searching dependent graphs…