Namespace: PP.Ui;
DataGridRectangle
The DataGridRectangle class is used to work with table rectangle.
PP.initClass(PP.Ui.DataGridRectangle, PP.Rect, "DataGridRectangle");
Constructor name | Brief description | |
DataGridRectangle | The DataGridRectangle constructor creates an instance of the DataGridRectangle class. |
Property name | Brief description | |
Bottom | The Bottom property determines position of rectangle's bottom border. | |
Right | The Right property determines position of rectangle's right border. |
Method name | Brief description | |
getIntersectionWith | The getIntersectionWith method returns the common rectangle for two rectangles. | |
intersects | The intersects method returns whether the rectangle intersects the specified rectangle. | |
subtract | The substract method returns array of rectangles that are not common for the source and the abstracted rectangles. |
Property name | Brief description | |
Height | The Height property sets height value for a rectangle. | |
Left | The Left property sets the X coordinate of the top left corner of a rectangle. | |
Top | The Top property sets the Y coordinate of the top left corner of a rectangle. | |
Width | The Width property sets width value for a rectangle. |
Method name | Brief description | |
addBezierCurve | The addBezierCurve method extends a rectangle on adding a Bezier cubic curve. | |
addBoundingBox | The addBoundingBox method combines a rectangle with another rectangle. | |
addPoint | The addPoint method extends a rectangle vertically and horizontally to the specified point. | |
addQuadraticCurve | The addQuadraticCurve method extends a rectangle on adding a Bezier quadratic curve. | |
addX | The addX method extends a rectangle horizontally for the specified value. | |
addY | The addY method extends a rectangle vertically for the specified value. | |
isPointInBox | The isPointInBox method checks if a point is in the rectangle area. |
Property name | Brief description | |
Data | The Data property associates a random object with this component. | |
Id | The Id property sets component identifier. | |
Settings | The Settings property sets the component parameters. |
Method name | Brief description | |
clone | The clone method creates a copy of object. It is not implemented in PP.Ui.Control. | |
dispose | The dispose method deletes the component. | |
getTypeName | The getTypeName method returns the name of the object type without the namespace, to which it belongs. |
See also: