Class: Prawn::Graphics::Patterns::Gradient

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

Instance Attribute Summary collapse

Instance Attribute Details

#apply_transformationsObject

Returns the value of attribute apply_transformations

Returns:

  • (Object)

    the current value of apply_transformations



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

def apply_transformations
  @apply_transformations
end

#fromObject

Returns the value of attribute from

Returns:

  • (Object)

    the current value of from



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

def from
  @from
end

#r1Object

Returns the value of attribute r1

Returns:

  • (Object)

    the current value of r1



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

def r1
  @r1
end

#r2Object

Returns the value of attribute r2

Returns:

  • (Object)

    the current value of r2



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

def r2
  @r2
end

#stopsObject

Returns the value of attribute stops

Returns:

  • (Object)

    the current value of stops



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

def stops
  @stops
end

#toObject

Returns the value of attribute to

Returns:

  • (Object)

    the current value of to



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

def to
  @to
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



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

def type
  @type
end