[]
Compares this VisualPrimitive object with another VisualPrimitive object returns true if objects represent same object.
public abstract bool Compare(VisualPrimitive v)
Type | Name | Description |
---|---|---|
VisualPrimitive | v | The VisualPrimitive object to compare with. |
Type | Description |
---|---|
bool | Returns true if two objects are same. |
Compares two VisualPrimitive objects and returns true if objects represent same visual primitive.
public static bool Compare(VisualPrimitive x, VisualPrimitive y)
Type | Name | Description |
---|---|---|
VisualPrimitive | x | One VisualPrimitive object. |
VisualPrimitive | y | Second VisualPrimitive object. |
Type | Description |
---|---|
bool | Returns true if objects are same, false otherwise. Returns true if both objects are null. |