Nuke Documentation

Enumeration Image​Processors.​Resize.​Content​Mode

public enum ContentMode: CustomStringConvertible  

An option for how to resize the image.

ImageProcessors.Resize.ContentMode ImageProcessors.Resize.ContentMode CustomStringConvertible CustomStringConvertible ImageProcessors.Resize.ContentMode->CustomStringConvertible

Member Of

ImageProcessors.Resize

Scales an image to a specified size.

Conforms To

CustomStringConvertible

Enumeration Cases

aspect​Fill

case aspectFill

Scales the image so that it completely fills the target area. Maintains the aspect ratio of the original image.

aspect​Fit

case aspectFit

Scales the image so that it fits the target size. Maintains the aspect ratio of the original image.

Properties

description

public var description: String