System::Drawing::PointF::PointF constructor

PointF::PointF() constructor

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

System::Drawing::PointF::PointF()

See Also

PointF::PointF(const SizeF&) constructor

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

System::Drawing::PointF::PointF(const SizeF &size)
ParameterTypeDescription
sizeconst SizeF&A SizeF object whose width and height values are used to initialize X and Y coordinates values of the PointF object being created

See Also

PointF::PointF(float, float) constructor

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

System::Drawing::PointF::PointF(float x, float y)
ParameterTypeDescription
xfloatThe value of X coordinate
yfloatThe value of Y coordinate

See Also