Point

Namespace: PP;

Inheritance hierarchy

Object

Point

Description

The Point class implements the point of two-dimensional space.

Syntax

PP.initClass(PP.Point, PP.Object, "PP.Point");

Constructor

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

Properties

  Property name Brief description
X The X property sets the left coordinate of the point.
Y The Y property sets the left coordinate of the point.

Methods

  Method name Brief description
applyTransform The applyTransform method is used to transform point coordinates.

Properties inherited from the Object class

  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.

Methods inherited from the Object class

  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.

PP