Class: Xberg::ImagePreprocessingMetadata

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeImagePreprocessingMetadata

Returns a new instance of ImagePreprocessingMetadata.

Parameters:

  • target_dpi: (Integer)
  • scale_factor: (Float)
  • auto_adjusted: (Boolean)
  • final_dpi: (Integer)
  • resample_method: (String)
  • dimension_clamped: (Boolean)
  • calculated_dpi: (Integer)
  • skipped_resize: (Boolean)
  • resize_error: (String)


1253
# File 'sig/types.rbs', line 1253

def initialize: (target_dpi: Integer, scale_factor: Float, auto_adjusted: bool, final_dpi: Integer, resample_method: String, dimension_clamped: bool, ?calculated_dpi: Integer, skipped_resize: bool, ?resize_error: String) -> void

Instance Attribute Details

#auto_adjustedBoolean (readonly)

Returns the value of attribute auto_adjusted.

Returns:

  • (Boolean)


1245
1246
1247
# File 'sig/types.rbs', line 1245

def auto_adjusted
  @auto_adjusted
end

#calculated_dpiInteger (readonly)

Returns the value of attribute calculated_dpi.

Returns:

  • (Integer)


1249
1250
1251
# File 'sig/types.rbs', line 1249

def calculated_dpi
  @calculated_dpi
end

#dimension_clampedBoolean (readonly)

Returns the value of attribute dimension_clamped.

Returns:

  • (Boolean)


1248
1249
1250
# File 'sig/types.rbs', line 1248

def dimension_clamped
  @dimension_clamped
end

#final_dpiInteger (readonly)

Returns the value of attribute final_dpi.

Returns:

  • (Integer)


1246
1247
1248
# File 'sig/types.rbs', line 1246

def final_dpi
  @final_dpi
end

#resample_methodString (readonly)

Returns the value of attribute resample_method.

Returns:

  • (String)


1247
1248
1249
# File 'sig/types.rbs', line 1247

def resample_method
  @resample_method
end

#resize_errorString (readonly)

Returns the value of attribute resize_error.

Returns:

  • (String)


1251
1252
1253
# File 'sig/types.rbs', line 1251

def resize_error
  @resize_error
end

#scale_factorFloat (readonly)

Returns the value of attribute scale_factor.

Returns:

  • (Float)


1244
1245
1246
# File 'sig/types.rbs', line 1244

def scale_factor
  @scale_factor
end

#skipped_resizeBoolean (readonly)

Returns the value of attribute skipped_resize.

Returns:

  • (Boolean)


1250
1251
1252
# File 'sig/types.rbs', line 1250

def skipped_resize
  @skipped_resize
end

#target_dpiInteger (readonly)

Returns the value of attribute target_dpi.

Returns:

  • (Integer)


1243
1244
1245
# File 'sig/types.rbs', line 1243

def target_dpi
  @target_dpi
end