API Collection
Validation and Format Utilities
Topics
Validation
Whether a value identifies a supported case classification.
A supported case classification, or GS
Case.none GSNo GSCase No when the value is not supported.Case Whether a value is a supported attachment constant.
A supported attachment constant, or GS
Element GSAttachment.left Element GSAttachment Left Element when the value is not supported.Attachment Left Whether a value identifies a supported default figure style.
A supported default figure style, or GS
Figure GSStyles.not Tested Figure GSStyles Not Tested Figure when the value is not supported.Styles Not Tested Whether a value identifies a supported handle size.
A supported handle size, or GS
Handle.Size.regular GSHandle GSSize Regular Handle when the value is not supported.Size Regular Whether a value identifies a supported outline format.
- GS
Outline GSFormat Validate Or Default(_:) Outline GSFormat Validate Or Default Outline Format Validate Or Default A supported outline format, or GS
Outline GSFormat.unknown Outline GSFormat Unknown Outline when the value is not supported.Format Unknown Whether a value identifies a supported storage layout.
A supported storage layout, or GS
Package GSType.flat File Package GSFlat File Package when the value is not supported.Flat File 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.