Table of Contents

Method Equals

Namespace
SharpVectors.Dom.Svg
Assembly
SharpVectors.Model.dll

Equals(object)

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

public override bool Equals(object obj)

Parameters

obj object

The object to test.

Returns

bool

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

Equals(SvgRect)

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

public bool Equals(SvgRect other)

Parameters

other SvgRect

The SvgRect to test.

Returns

bool

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

Equals(ISvgRect)

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

public bool Equals(ISvgRect other)

Parameters

other ISvgRect

The SvgRect to test.

Returns

bool

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