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)


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

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)


1206
1207
1208
# File 'sig/types.rbs', line 1206

def auto_adjusted
  @auto_adjusted
end

#calculated_dpiInteger (readonly)

Returns the value of attribute calculated_dpi.

Returns:

  • (Integer)


1210
1211
1212
# File 'sig/types.rbs', line 1210

def calculated_dpi
  @calculated_dpi
end

#dimension_clampedBoolean (readonly)

Returns the value of attribute dimension_clamped.

Returns:

  • (Boolean)


1209
1210
1211
# File 'sig/types.rbs', line 1209

def dimension_clamped
  @dimension_clamped
end

#final_dpiInteger (readonly)

Returns the value of attribute final_dpi.

Returns:

  • (Integer)


1207
1208
1209
# File 'sig/types.rbs', line 1207

def final_dpi
  @final_dpi
end

#resample_methodString (readonly)

Returns the value of attribute resample_method.

Returns:

  • (String)


1208
1209
1210
# File 'sig/types.rbs', line 1208

def resample_method
  @resample_method
end

#resize_errorString (readonly)

Returns the value of attribute resize_error.

Returns:

  • (String)


1212
1213
1214
# File 'sig/types.rbs', line 1212

def resize_error
  @resize_error
end

#scale_factorFloat (readonly)

Returns the value of attribute scale_factor.

Returns:

  • (Float)


1205
1206
1207
# File 'sig/types.rbs', line 1205

def scale_factor
  @scale_factor
end

#skipped_resizeBoolean (readonly)

Returns the value of attribute skipped_resize.

Returns:

  • (Boolean)


1211
1212
1213
# File 'sig/types.rbs', line 1211

def skipped_resize
  @skipped_resize
end

#target_dpiInteger (readonly)

Returns the value of attribute target_dpi.

Returns:

  • (Integer)


1204
1205
1206
# File 'sig/types.rbs', line 1204

def target_dpi
  @target_dpi
end