com.cloudinary.transformation.resize.ImaggaScale.kt Maven / Gradle / Ivy
package com.cloudinary.transformation.resize
class ImaggaScale(
dimensions: Dimensions, relative: Boolean? = null,
regionRelative: Boolean? = null
) :
Resize(dimensions, relative, regionRelative) {
override val actionType = "imagga_scale"
class Builder : BaseBuilder() {
override fun getThis() = this
override fun build() = ImaggaScale(
Dimensions(width, height, aspectRatio),
relative,
regionRelative
)
}
}