Instance Method
fileName(_:)fileName:error: fileName_error_
Returns the file name with the specified format.
Declaration
func fileName(_ format: GSFontFormat) throws -> StringDeclaration
- (NSString *) fileName:(GSFontFormat) format error:(NSError **) error;Declaration
fileName_error_(format: GSFontFormat) -> tuple[str, NSError]Parameters
formatThe format to use for the file name.
Parameters
formatThe format to use for the file name.
errorA pointer to an NSError object to store any error that occurs.
Return Value
The file name, or nil if an error occurs.