Instance Method
isEqual(to:)isEqualToComponent:isEqualToComponent_
Whether another component has matching placement and selected configuration values.
Declaration
func isEqual(to other: GSComponent) -> BoolDeclaration
- (BOOL) isEqualToComponent:(GSComponent *) other;Declaration
isEqualToComponent_(other: GSComponent) -> boolDiscussion
The comparison includes position, scale, angle, slant, orientation, automatic-positioning policy, lock state, base-glyph name and master ID, attachment anchor, anchor traversal, smart-component settings, and shape attributes. It does not compare the resolved base-glyph contents or containing layers.