SKSizeI.Equality(SKSizeI, SKSizeI) Operator

Definition

Tests whether two SKSizeI structures are equal.

public static bool operator == (SkiaSharp.SKSizeI sz1, SkiaSharp.SKSizeI sz2);
public static bool operator == (SkiaSharp.SKSizeI left, SkiaSharp.SKSizeI right);

Parameters

sz1left
SKSizeI

The SKSizeI structure on the left side of the equality operator.

sz2right
SKSizeI

The SKSizeI structure on the right of the equality operator.

Returns

This operator returns true if both SKSizeI structures have equal Width and Height; otherwise, false.

Applies to