struct Scalr::Services::ImageProcessor::Options

Included Modules

Extended Modules

Defined in:

scalr/services/image_processor.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(width : Int32 | Nil, height : Int32 | Nil, scale : Int32 | Nil, format : Nil | String, fit : Fit | Nil, gravity : Gravity | Nil) #

[View source]

Class Method Detail

def self.validation_class_metadata : AVD::Metadata::ClassMetadata(self) #

Instance Method Detail

def fit : Fit #

[View source]
def format : String | Nil #

[View source]
def gravity : Gravity #

[View source]
def height : Int32 | Nil #

[View source]
def height? : Int32 | Nil | Nil #

[View source]
def scale : Int32 #

[View source]
def scale? : Int32 | Nil #

[View source]
def width : Int32 | Nil #

[View source]
def width? : Int32 | Nil | Nil #

[View source]
def width_height_or_scale_present : Bool #

[View source]