PointF()

PointF::PointF() constructor

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

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

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)

Arguments

ParameterTypeDescription
xfloatThe value of X coordinate
yfloatThe value of Y coordinate

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)

Arguments

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