Builder

class Builder

Builder for RenderOptions.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
Link copied to clipboard
var complement: JsonElement?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var enum: JsonObject?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Builds the immutable RenderOptions; request invariants are checked when the options are used.

Link copied to clipboard
fun csv(options: CsvOptions = CsvOptions()): RenderOptions.Builder

Sets RenderOptions.convertTo to a CSV output with the given CsvOptions.

Link copied to clipboard

Adds one extra HTTP request header (see RenderOptions.headers).

Link copied to clipboard
fun jpg(options: ImageOptions = ImageOptions()): RenderOptions.Builder

Sets RenderOptions.convertTo to a JPG output with the given ImageOptions.

Link copied to clipboard
fun pdf(configure: PdfOptions.Builder.() -> Unit = {}): RenderOptions.Builder

Sets RenderOptions.convertTo to a PDF output configured through the PdfOptions.Builder DSL.

Link copied to clipboard
fun png(options: ImageOptions = ImageOptions()): RenderOptions.Builder

Sets RenderOptions.convertTo to a PNG output with the given ImageOptions.