Class: Imaginator::Image::Fit

Inherits:
Data
  • Object
show all
Defined in:
lib/imsg-grep/images/imaginator.rb

Instance Attribute Summary collapse

Instance Attribute Details

#cObject (readonly)

Returns the value of attribute c

Returns:

  • (Object)

    the current value of c



15
16
17
# File 'lib/imsg-grep/images/imaginator.rb', line 15

def c
  @c
end

#hObject (readonly)

Returns the value of attribute h

Returns:

  • (Object)

    the current value of h



15
16
17
# File 'lib/imsg-grep/images/imaginator.rb', line 15

def h
  @h
end

#pad_hObject (readonly)

Returns the value of attribute pad_h

Returns:

  • (Object)

    the current value of pad_h



15
16
17
# File 'lib/imsg-grep/images/imaginator.rb', line 15

def pad_h
  @pad_h
end

#pad_wObject (readonly)

Returns the value of attribute pad_w

Returns:

  • (Object)

    the current value of pad_w



15
16
17
# File 'lib/imsg-grep/images/imaginator.rb', line 15

def pad_w
  @pad_w
end

#rObject (readonly)

Returns the value of attribute r

Returns:

  • (Object)

    the current value of r



15
16
17
# File 'lib/imsg-grep/images/imaginator.rb', line 15

def r
  @r
end

#wObject (readonly)

Returns the value of attribute w

Returns:

  • (Object)

    the current value of w



15
16
17
# File 'lib/imsg-grep/images/imaginator.rb', line 15

def w
  @w
end