public Boolean MatchesStyleRef(ref TextLayoutToken token) { return this.color == token.color && this.fontFace == token.fontFace && this.icon.GetValueOrDefault().Equals(token.icon.GetValueOrDefault()) && this.glyphShader == token.glyphShader; }
public Boolean MatchesStyleRef(ref TextLayoutToken token) { return (this.color == token.color && this.fontFace == token.fontFace && this.icon.GetValueOrDefault().Equals(token.icon.GetValueOrDefault()) && this.glyphShader == token.glyphShader); }
/// <summary> /// Gets a value indicating whether this token's style matches another token's style. /// </summary> /// <param name="token">The <see cref="TextLayoutToken"/> to compare against this token.</param> /// <returns><c>true</c> if the tokens have matching styles; otherwise, <c>false</c>.</returns> public Boolean MatchesStyle(TextLayoutToken token) { return MatchesStyleRef(ref token); }
/// <summary> /// Gets a value indicating whether this token's style matches another token's style. /// </summary> /// <param name="token">The <see cref="TextLayoutToken"/> to compare against this token.</param> /// <returns><see langword="true"/> if the tokens have matching styles; otherwise, <see langword="false"/>.</returns> public Boolean MatchesStyle(TextLayoutToken token) { return(MatchesStyleRef(ref token)); }