Contents

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