PointF.op_Equality

PointF Equality operator

Compares two PointF structures. The result specifies whether the values of the X and Y properties of the two PointF structures are equal.

public static bool operator ==(PointF point1, PointF point2)
ParameterTypeDescription
point1PointFA first PointF to compare.
point2PointFA second PointF to compare.

Return Value

True if the X and Y values of the first and second PointF structures are equal; otherwise, false.

See Also