public override bool Equals(object obj) { return((obj is TextureBrush b) && textureImage.Equals(b.textureImage) && wrapMode.Equals(b.wrapMode) && textureTransform.Equals(b.textureTransform)); }