imagePlaygroundOptions(_:)
Sets the options to use when generating an image.
Declaration
nonisolated func imagePlaygroundOptions(_ options: ImagePlaygroundOptions = ImagePlaygroundOptions()) -> some View
Parameters
- options:
The options to apply when generating an image.
Return Value
An image playground sheet that generates images using the specified options.
Discussion
If you don’t provide any custom options, the sheet applies the default options to image generation.
See Also
Generating images
imagePlaygroundGenerationStyle(_:in:)imagePlaygroundSheet(isPresented:concept:sourceImage:onCompletion:onCancellation:)imagePlaygroundSheet(isPresented:concept:sourceImage:onCompletion:onAdaptiveImageGlyphCreation:onCancellation:)imagePlaygroundSheet(isPresented:concept:sourceImageURL:onCompletion:onCancellation:)imagePlaygroundSheet(isPresented:concept:sourceImageURL:onCompletion:onAdaptiveImageGlyphCreation:onCancellation:)imagePlaygroundSheet(isPresented:concepts:sourceImage:onCompletion:onCancellation:)imagePlaygroundSheet(isPresented:concepts:sourceImage:onCompletion:onAdaptiveImageGlyphCreation:onCancellation:)imagePlaygroundSheet(isPresented:concepts:sourceImageURL:onCompletion:onCancellation:)imagePlaygroundSheet(isPresented:concepts:sourceImageURL:onCompletion:onAdaptiveImageGlyphCreation:onCancellation:)