SKSize.Equals Method

Definition

Overloads

Equals(SKSize)

Tests to see whether the specified object is a SKSize structure with the same dimensions as this SKSize structure.

Equals(Object)

Tests to see whether the specified object is a SKSize structure with the same dimensions as this SKSize structure.

Equals(SKSize)

Tests to see whether the specified object is a SKSize structure with the same dimensions as this SKSize structure.

public readonly bool Equals (SkiaSharp.SKSize obj);

Parameters

obj
SKSize

The SKSize to test.

Returns

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

Implements

Applies to

Equals(Object)

Tests to see whether the specified object is a SKSize structure with the same dimensions as this SKSize structure.

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 SKSize and has the same coordinates as this SKSize.

Applies to