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



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

def apply_transformations
  @apply_transformations
end

#fromObject

Returns the value of attribute from

Returns:

  • (Object)

    the current value of from



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

def from
  @from
end

#r1Object

Returns the value of attribute r1

Returns:

  • (Object)

    the current value of r1



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

def r1
  @r1
end

#r2Object

Returns the value of attribute r2

Returns:

  • (Object)

    the current value of r2



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

def r2
  @r2
end

#stopsObject

Returns the value of attribute stops

Returns:

  • (Object)

    the current value of stops



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

def stops
  @stops
end

#toObject

Returns the value of attribute to

Returns:

  • (Object)

    the current value of to



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

def to
  @to
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



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

def type
  @type
end