PointF.Equals

Equals(object)

Specifies whether this PointF contains the same coordinates as the specified Object.

public override bool Equals(object obj)
ParameterTypeDescription
objObjectThe Object to test.

Return Value

This method returns true if obj is a PointF and has the same coordinates as this Point.

See Also


Equals(PointF)

Tests whether other PointF structure has the same location of this PointF structure.

public bool Equals(PointF other)
ParameterTypeDescription
otherPointFOther point to test

Return Value

This method returns true if other PointF structure and its X and Y properties are equal to the corresponding properties of this PointF structure; otherwise, false.

See Also