Reference for the Mosaic class Core::QuadView
|
The class Core::QuadView provides more specialized base functionality for all view components with the shape of a quad (polygon consisting of 4 corners). It provides some few properties to get and set the coordinates of the quad corners Point1, Point2, Point3 and Point4.
The class Core::QuadView serves as base class for deriving quad components only. It doesn't define any particular behavior nor appearance.
method bool HasRectShape();
The method HasRectShape() evaluates the shape of the quad and returns 'true' if the quad has the shape of a rectangle. Otherwise 'false' is returned.
property point Point1 = <0,0>;
The property 'Point1' defines the position of the first corner of the quad in the coordinates of the corresponding Owner.
property point Point2 = <0,0>;
The property 'Point2' defines the position of the second corner of the quad in the coordinates of the corresponding Owner.
property point Point3 = <0,0>;
The property 'Point3' defines the position of the third corner of the quad in the coordinates of the corresponding Owner.
property point Point4 = <0,0>;
The property 'Point4' defines the position of the fourth corner of the quad in the coordinates of the corresponding Owner.