API Collection
Validation and Format Utilities
Topics
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.
Whether a value identifies a supported outline format.
- GSOutlineFormatValidateOrDefault(_:)GSOutlineFormatValidateOrDefaultGSOutlineFormatValidateOrDefault
A supported outline format, or GSOutlineFormat.unknownGSOutlineFormatUnknownGSOutlineFormatUnknown when the value is not supported.
Whether a value identifies a supported storage layout.
A supported storage layout, or GSPackageType.flatFileGSPackageFlatFileGSPackageFlatFile when the value is not supported.
Whether a value contains only supported save options.
Supported save options, or
GSSaveOptions/defaultwhen the value contains an unsupported option.
Formats and Grid Settings
The file extension conventionally used for an outline format.
The font format identifier corresponding to an outline format.
Whether the grid enables coordinate rounding.
Whether either effective grid interval is at least one unit.
Grid settings with the same effective interval in both directions.