Gets the Paragraph at a certain geometrical position.
<void> ParagraphCollection.getItemAtLocation(<number> x, <number> y, <RequestParagraphCallback> callback, [<ErrorCallback> errorCallback])
Parameter | Description |
---|---|
x | Specifies the Paragraph's horizontal location in pixels with an origin at the top left corner. |
y | Specifies the Paragraph's vertical location in pixels with an origin at the top left corner. |
callback | Receives the Paragraph at a certain geometrical position. |
error |
Optional. Is called when the operation failed with an error. |