Method: AsposePdfCloud::ImageHeader#==

Defined in:
lib/aspose_pdf_cloud/models/image_header.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
# File 'lib/aspose_pdf_cloud/models/image_header.rb', line 203

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      links == o.links &&
      background == o.background &&
      horizontal_alignment == o.horizontal_alignment &&
      opacity == o.opacity &&
      rotate == o.rotate &&
      rotate_angle == o.rotate_angle &&
      x_indent == o.x_indent &&
      y_indent == o.y_indent &&
      zoom == o.zoom &&
      file_name == o.file_name &&
      width == o.width &&
      height == o.height &&
      left_margin == o.left_margin &&
      top_margin == o.top_margin &&
      right_margin == o.right_margin
end