Editar

Compartir a través de


SKSize.Equality(SKSize, SKSize) Operator

Definition

Tests whether two SKSize structures are equal.

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

Parameters

sz1left
SKSize

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

sz2right
SKSize

The SKSize structure on the right of the equality operator.

Returns

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

Applies to