Instance Method
isEqual(to:)isEqualToGlyph:isEqualToGlyph_
Whether another glyph has matching layer contents and core glyph settings.
Declaration
func isEqual(to other: GSGlyph) -> BoolDeclaration
- (BOOL) isEqualToGlyph:(GSGlyph *) other;Declaration
isEqualToGlyph_(other: GSGlyph) -> boolParameters
otherThe glyph to compare.
Discussion
Unicode values, tags, naming and classification overrides, metrics and kerning settings, color, user data, glyph axes, and layers are compared. baseString, id, glyphId, lock state, parent, change tracking, and undo history are not compared. This method does not replace NSObject identity equality.
See Also
Copying and Equality
Creates a detached copy with selected layer and editing content.