.. highlightlang:: us .. index:: LBGetP1P2 .. _lbgetp1p2: LBGetP1P2 ========= .. us.tag LBGetP1P2 NOTREADYENGLISH LBGet :ref:`LBGetP1P2` returns the coordinates of the start and end point of a line drawing object. .. function:: hvP1P2 = LBGetP1P2(hLine) .. us.return **Return Value** *hvP1P2* is a vector with four elements: .. list-table:: :header-rows: 1 * - 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. .. us.params **Parameters** .. uparam:: hLine Identifies the line object. .. us.comment **Comment** The origin of the UniPlot coordinate system is in the top, left corner of the document page. .. seealso:: :ref:`overview-lines-and-arrows`, :ref:`LBCreate`, :ref:`LBSetP1P2` :sub:`id-819066`