Table of Contents

Method Equals

Namespace
SharpVectors.Dom.Svg
Assembly
SharpVectors.Core.dll

Equals(object)

This tests whether an object is a SvgRectF with the same location and size of this SvgRectF.

public override bool Equals(object obj)

Parameters

obj object

The object to test.

Returns

bool

This returns true if the specified object is a SvgRectF and its X, Y, Width, and Height properties are equal to the corresponding properties of this SvgRectF; otherwise, false.

Equals(SvgRectF)

This tests whether the specified SvgRectF is with the same location and size of this SvgRectF.

public bool Equals(SvgRectF other)

Parameters

other SvgRectF

The SvgRectF to test.

Returns

bool

This returns true if specified SvgRectF has its X, Y, Width, and Height properties are equal to the corresponding properties of this SvgRectF; otherwise, false.