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)


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

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)


1217
1218
1219
# File 'sig/types.rbs', line 1217

def auto_adjusted
  @auto_adjusted
end

#calculated_dpiInteger (readonly)

Returns the value of attribute calculated_dpi.

Returns:

  • (Integer)


1221
1222
1223
# File 'sig/types.rbs', line 1221

def calculated_dpi
  @calculated_dpi
end

#dimension_clampedBoolean (readonly)

Returns the value of attribute dimension_clamped.

Returns:

  • (Boolean)


1220
1221
1222
# File 'sig/types.rbs', line 1220

def dimension_clamped
  @dimension_clamped
end

#final_dpiInteger (readonly)

Returns the value of attribute final_dpi.

Returns:

  • (Integer)


1218
1219
1220
# File 'sig/types.rbs', line 1218

def final_dpi
  @final_dpi
end

#resample_methodString (readonly)

Returns the value of attribute resample_method.

Returns:

  • (String)


1219
1220
1221
# File 'sig/types.rbs', line 1219

def resample_method
  @resample_method
end

#resize_errorString (readonly)

Returns the value of attribute resize_error.

Returns:

  • (String)


1223
1224
1225
# File 'sig/types.rbs', line 1223

def resize_error
  @resize_error
end

#scale_factorFloat (readonly)

Returns the value of attribute scale_factor.

Returns:

  • (Float)


1216
1217
1218
# File 'sig/types.rbs', line 1216

def scale_factor
  @scale_factor
end

#skipped_resizeBoolean (readonly)

Returns the value of attribute skipped_resize.

Returns:

  • (Boolean)


1222
1223
1224
# File 'sig/types.rbs', line 1222

def skipped_resize
  @skipped_resize
end

#target_dpiInteger (readonly)

Returns the value of attribute target_dpi.

Returns:

  • (Integer)


1215
1216
1217
# File 'sig/types.rbs', line 1215

def target_dpi
  @target_dpi
end