internal bool SetInheritedStyle(StyleProperty property) { if (propertyMap.ContainsKey((int)property.propertyId)) { return(false); } int key = BitUtil.SetHighLowBits(1, (int)property.propertyId); StyleProperty current; if (propertyMap.TryGetValue(key, out current)) { if (current != property) { propertyMap[key] = property; return(true); } return(false); } else { propertyMap[key] = property; return(true); } }
public bool HasCharacter(int charPoint) { return(characterDictionary.ContainsKey(charPoint)); }