Class: Prawn::Graphics::Patterns::GradientStop

Inherits:
Struct
  • Object
show all
Defined in:
lib/prawn/graphics/patterns.rb

Instance Attribute Summary collapse

Instance Attribute Details

#colorObject

Returns the value of attribute color

Returns:

  • (Object)

    the current value of color


15
16
17
# File 'lib/prawn/graphics/patterns.rb', line 15

def color
  @color
end

#positionObject

Returns the value of attribute position

Returns:

  • (Object)

    the current value of position


15
16
17
# File 'lib/prawn/graphics/patterns.rb', line 15

def position
  @position
end