Reference for the Mosaic class Core::LineView
The class Core::LineView provides more specialized base functionality for all view components with the shape of a simple line. It provides some few properties to get and set the coordinates of the line end points Point1 and Point2.
The class Core::LineView serves as base class for deriving line components only. It doesn't define any particular behavior nor appearance.
property point Point1 = <0,0>;
The property 'Point1' defines the start position of the line in the coordinates of its Owner. This is the pixel the line begins with.
property point Point2 = <0,0>;
The property 'Point2' defines the end position of the line in the coordinates of its Owner. This is the pixel the line ends with. Please note, this last pixel is never drawn. This allows you to connect several lines to a polyline without overlapping the end pixel of the previous line segment with the start pixel of the following segment.