Function
GSComponentAlignmentValidateOrDefault(_:)GSComponentAlignmentValidateOrDefaultGSComponentAlignmentValidateOrDefault
Declaration
func GSComponentAlignmentValidateOrDefault(_ value: GSComponent.Alignment) -> GSComponent.AlignmentDeclaration
static GSComponentAlignment GSComponentAlignmentValidateOrDefault(GSComponentAlignment value);Declaration
GSComponentAlignmentValidateOrDefault(value: GSComponentAlignment) -> GSComponentAlignmentSee Also
Validation
Whether a value identifies a supported case classification.
A supported case classification, or GSCase.noneGSNoCaseGSNoCase when the value is not supported.
Whether a value is a supported attachment constant.
A supported attachment constant, or GSElementAttachment.leftGSElementAttachmentLeftGSElementAttachmentLeft when the value is not supported.
Whether a value identifies a supported default figure style.
A supported default figure style, or GSFigureStyles.notTestedGSFigureStylesNotTestedGSFigureStylesNotTested when the value is not supported.
Whether a value identifies a supported handle size.
A supported handle size, or GSHandle.Size.regularGSHandleSizeRegularGSHandleSizeRegular when the value is not supported.