Skip to main content
Version: API v2 Preview

ImageTransformRequest$TransformType

Kind: enum
Module/package: com.pdfdancer.common.request
SDK: com.pdfdancer.client:pdfdancer-client-java 2.0.0

Types of image transformations supported.

Declaration

public final class com.pdfdancer.common.request.ImageTransformRequest$TransformType extends java.lang.Enum<com.pdfdancer.common.request.ImageTransformRequest$TransformType>

Members

CROP

public static final com.pdfdancer.common.request.ImageTransformRequest$TransformType CROP

Crop the image by trimming edges.

FILL_REGION

public static final com.pdfdancer.common.request.ImageTransformRequest$TransformType FILL_REGION

Fill a rectangular region with a solid color.

FLIP

public static final com.pdfdancer.common.request.ImageTransformRequest$TransformType FLIP

Flip the image horizontally or vertically.

OPACITY

public static final com.pdfdancer.common.request.ImageTransformRequest$TransformType OPACITY

Set the opacity/transparency of the image.

REPLACE

public static final com.pdfdancer.common.request.ImageTransformRequest$TransformType REPLACE

Replace image content while keeping position.

ROTATE

public static final com.pdfdancer.common.request.ImageTransformRequest$TransformType ROTATE

Rotate the image.

SCALE

public static final com.pdfdancer.common.request.ImageTransformRequest$TransformType SCALE

Scale/resize the image.

valueOf

public static com.pdfdancer.common.request.ImageTransformRequest$TransformType valueOf(java.lang.String)

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

values

public static com.pdfdancer.common.request.ImageTransformRequest$TransformType[] values()

Returns an array containing the constants of this enum class, in the order they are declared.

View source at 9c04036fe114