編輯

共用方式為


SKRect.Equals Method

Definition

Overloads

Equals(SKRect)

Specifies whether this rectangle contains the same coordinates as the specified SKRect.

Equals(Object)

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

Equals(SKRect)

Specifies whether this rectangle contains the same coordinates as the specified SKRect.

public readonly bool Equals (SkiaSharp.SKRect obj);

Parameters

obj
SKRect

The SKRect to test.

Returns

This method returns true if obj has the same coordinates as this SKRect.

Implements

Applies to

Equals(Object)

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

public override bool Equals (object obj);
public override readonly bool Equals (object obj);

Parameters

obj
Object

The Object to test.

Returns

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

Applies to