Example #1
0
 protected bool Equals(TextStyle other)
 {
     return(Equals(_font, other._font) &&
            _fontSize == other._fontSize &&
            _fontStyle == other._fontStyle &&
            _alignment == other._alignment &&
            _horizontalOverflow == other._horizontalOverflow &&
            _verticalOverflow == other._verticalOverflow &&
            _lineSpacing.Equals(other._lineSpacing) &&
            _color.Equals(other._color));
 }
Example #2
0
 protected bool Equals(ImageAndColor other)
 {
     return(_color.Equals(other._color) && Equals(_image, other._image) && _type == other._type);
 }