PageFit

Page fit.

Entries

Link copied to clipboard

Fit image into page. May leave white borders if the aspect ratio of the image and the page don't match. Preserves image aspect ratio.

Link copied to clipboard

Fill page with image. Will crop the image if the aspect ratio of the image and the page don't match. Preserves image aspect ratio.

Link copied to clipboard

Stretch image to fill the entire page. The image will never be cropped and there will never be any white borders left, but the image aspect ratio will be made to match the page aspect ratio.

Link copied to clipboard

No resizing, centers the image on the page. The physical size of the image will be determined by the dpi parameter.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Functions

Link copied to clipboard
fun toJson(): String
Link copied to clipboard
fun valueOf(value: String): PageFit

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.