DataGridRectangle

Namespace: PP.Ui;

Inheritance hierarchy

Object

Rect

DataGridRectangle

Description

The DataGridRectangle class is used to work with table rectangle.

Syntax

PP.initClass(PP.Ui.DataGridRectangle, PP.Rect, "DataGridRectangle");

Constructor

  Constructor name Brief description
DataGridRectangle The DataGridRectangle constructor creates an instance of the DataGridRectangle class.

Properties

  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.

Methods

  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.

Properties inherited from the class Rect

  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.

Methods inherited from the class Rect

  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.

Properties inherited from the class Object

  Property name Brief description

Id

The Id property determines a repository object identifier.

Methods inherited from the class Object

  Method name Brief description
clone The clone method creates an object copy.
dispose The dispose method deletes the component.
getHashCode The getHashCode method returns hash code of repository object.
getSettings The getSettings method returns repository object settings.
getTypeName The getTypeName method returns the name of the object type without the namespace, to which it belongs.
isEqual The isEqual method determines whether the specified object is equal to the current repository object.
isLive The isLive method determines validity of repository object.
removeAllEvents The removeAllEvents method removes all object event handlers by the specified context.
setSettings The setSettings method determines repository object settings.
defineProps The defineProps method creates get and set methods from name array for the specified class.
keys The keys method returns array of methods and properties names for the specified object.

See also:

PP.Ui