Point()

Point::Point() constructor

Constructs a new Point object and initializes its X and Y coordinates values with 0.

System::Drawing::Point::Point()

Point::Point(int, int) constructor

Constructs a new Point object and initializes it with the specified values.

System::Drawing::Point::Point(int x, int y)

Arguments

ParameterTypeDescription
xintThe value of X coordinate
yintThe value of Y coordinate

Point::Point(const Size&) constructor

Constructs a new Point object and initializes its X and Y coordinates values with the values of width and height of the specifide SizeF object correspondingly.

System::Drawing::Point::Point(const Size &size)

Arguments

ParameterTypeDescription
sizeconst Size&A SizeF object whose width and height values are used to initialize X and Y coordinates values of the Point object being created

Point::Point(int) constructor

Constructs a new Point object and initializes its X coordinate value with a value formed by high 16 bits of the specified 32-bit integer and its Y coordinate value with a vale formed by low 16 bits of the specified 32-bit integer value value.

System::Drawing::Point::Point(int dw)

Arguments

ParameterTypeDescription
dwintThe 32-bit integer value whose high 16 bits specify the X coordinate value and low 16 bits specify the Y coordinate value of the object being created

See Also