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)


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

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)


1285
1286
1287
# File 'sig/types.rbs', line 1285

def auto_adjusted
  @auto_adjusted
end

#calculated_dpiInteger (readonly)

Returns the value of attribute calculated_dpi.

Returns:

  • (Integer)


1289
1290
1291
# File 'sig/types.rbs', line 1289

def calculated_dpi
  @calculated_dpi
end

#dimension_clampedBoolean (readonly)

Returns the value of attribute dimension_clamped.

Returns:

  • (Boolean)


1288
1289
1290
# File 'sig/types.rbs', line 1288

def dimension_clamped
  @dimension_clamped
end

#final_dpiInteger (readonly)

Returns the value of attribute final_dpi.

Returns:

  • (Integer)


1286
1287
1288
# File 'sig/types.rbs', line 1286

def final_dpi
  @final_dpi
end

#resample_methodString (readonly)

Returns the value of attribute resample_method.

Returns:

  • (String)


1287
1288
1289
# File 'sig/types.rbs', line 1287

def resample_method
  @resample_method
end

#resize_errorString (readonly)

Returns the value of attribute resize_error.

Returns:

  • (String)


1291
1292
1293
# File 'sig/types.rbs', line 1291

def resize_error
  @resize_error
end

#scale_factorFloat (readonly)

Returns the value of attribute scale_factor.

Returns:

  • (Float)


1284
1285
1286
# File 'sig/types.rbs', line 1284

def scale_factor
  @scale_factor
end

#skipped_resizeBoolean (readonly)

Returns the value of attribute skipped_resize.

Returns:

  • (Boolean)


1290
1291
1292
# File 'sig/types.rbs', line 1290

def skipped_resize
  @skipped_resize
end

#target_dpiInteger (readonly)

Returns the value of attribute target_dpi.

Returns:

  • (Integer)


1283
1284
1285
# File 'sig/types.rbs', line 1283

def target_dpi
  @target_dpi
end