Instance Property
alignment
The policy for automatic positioning.
Declaration
var alignment: GSComponent.Alignment { get set }Declaration
@property (nonatomic) GSComponentAlignment alignment;Declaration
pyobjc_instanceMethods.alignment() -> GSComponentAlignment
pyobjc_instanceMethods.setAlignment_(alignment: GSComponentAlignment)Discussion
GSAlignmentDefaultfollows normal alignment and attachment eligibility.GSAlignmentDisabledisables both.GSAlignmentForceoverrides normal alignment eligibility.GSAlignmentHorizontaluses normal eligibility but restricts base-glyph alignment to the horizontal coordinate.
Access effectiveAlignment for the alignment that is currently applied to the component.
See Also
Alignment
A policy or result of automatically positioning a component.
Sets the automatic-positioning policy without undo, change notifications, or layer updates.
The result of the most recent automatic positioning.
The coordinate mode used for automatic base-glyph alignment.
Whether the component participates in automatic base-glyph alignment under the current policy.
Whether the component and containing glyph normally qualify for automatic base-glyph alignment.
Enables automatic positioning.