8using System.Collections.Generic;
63 public override bool Equals(
object obj)
66 return ((
FontReference ==
null && properties.FontReference ==
null) ||
68 Type == properties.Type &&
78 var hashCode = 136542229;
79 hashCode = hashCode * -1521134295 + EqualityComparer<Font>.Default.GetHashCode(
FontReference);
80 hashCode = hashCode * -1521134295 +
Type.GetHashCode();
81 hashCode = hashCode * -1521134295 +
Alignment.GetHashCode();
PhoneticProperties(Font fontReference)
Default constructor to create phonetic properties, using the specified font reference.
PhoneticRun.PhoneticType Type
The type of phonetic text representation. Default is FullwidthKatakana.
int FontId
Internal Id of the font used for phonetic text.
Font FontReference
Font reference that is used to render the Ruby text.
override int GetHashCode()
HashCode override for phonetic properties.
PhoneticRun.PhoneticAlignment Alignment
Alignment of the phonetic text relative to the base text. Default is Left.
override bool Equals(object obj)
Equals override to compare phonetic properties.
PhoneticProperties Copy()
Creates a copy of the current phonetic properties.
Represents a phonetic run that provides pronunciation guidance for text.
PhoneticAlignment
Enumeration for phonetic text alignment.
PhoneticType
Enumeration for phonetic text types.