Class: Prawn::Graphics::Patterns::GradientStop
- Inherits:
-
Struct
- Object
- Struct
- Prawn::Graphics::Patterns::GradientStop
- Defined in:
- lib/prawn/graphics/patterns.rb
Instance Attribute Summary collapse
-
#color ⇒ Object
Returns the value of attribute color.
-
#position ⇒ Object
Returns the value of attribute position.
Instance Attribute Details
#color ⇒ Object
Returns the value of attribute color
13 14 15 |
# File 'lib/prawn/graphics/patterns.rb', line 13 def color @color end |
#position ⇒ Object
Returns the value of attribute position
13 14 15 |
# File 'lib/prawn/graphics/patterns.rb', line 13 def position @position end |