ModifyPageOptions

data class ModifyPageOptions(var rotation: ImageRotation = ImageRotation.NONE, var polygon: List<PointF>? = null, var filters: List<ParametricFilter>? = null)

Options for modifying a page within a document.

Constructors

Link copied to clipboard
constructor(rotation: ImageRotation = ImageRotation.NONE, polygon: List<PointF>? = null, filters: List<ParametricFilter>? = null)
constructor(source: Map<String, Any?>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The list of filters applied to the page. If not specified, no filters are applied.

Link copied to clipboard

The polygon to which the page will be cropped. If not specified, no cropping is applied.

Link copied to clipboard

The type of rotation to apply.

Functions

Link copied to clipboard
fun toJson(config: ToJsonConfiguration = ToJsonConfiguration.default()): JsonObject
Link copied to clipboard
fun toJsonString(config: ToJsonConfiguration = ToJsonConfiguration.default()): String