This documentation is for the old version. Go to the latest Graphics Mill docs

GrayScaleColor.Equals Method

Compares this GrayScaleColor with specified object.

Namespace: Aurigma.GraphicsMill
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

Visual Basic
Public Overrides Function Equals ( _
	obj As Object _
) As Boolean
C#
public override bool Equals(
	Object obj
)

Parameters

obj

Type: System.Object

The Object to compare with the current GrayScaleColor. If actual type of this argument is other than GrayScaleColor, exception will be raised.

Return Value

Value specifying if given object represents the same color value as this GrayScaleColor.

See Also

Reference