public FontCharacteristics(iText.Layout.Font.FontCharacteristics other) : this() { this.isItalic = other.isItalic; this.isBold = other.isBold; this.fontWeight = other.fontWeight; this.undefined = other.undefined; }
public override bool Equals(Object o) { if (this == o) { return(true); } if (o == null || GetType() != o.GetType()) { return(false); } iText.Layout.Font.FontCharacteristics that = (iText.Layout.Font.FontCharacteristics)o; return(isItalic == that.isItalic && isBold == that.isBold && fontWeight == that.fontWeight); }