LBGetP1P2ΒΆ
LBGetP1P2 returns the coordinates of the start and end point of a line drawing object.
-
hvP1P2 = LBGetP1P2(hLine)
Return Value
hvP1P2 is a vector with four elements:
Value | Meaning |
---|---|
hvP1P2[1] | x-coordinate of the start point in centimeters. |
hvP1P2[2] | y-coordinate of the start point in centimeters. |
hvP1P2[3] | x-coordinate of the end point in centimeters. |
hvP1P2[4] | y-coordinate of the end point in centimeters. |
Parameters
-
hLine
Identifies the line object.
Comment
The origin of the UniPlot coordinate system is in the top, left corner of the document page.
See also
id-819066