Class: Prawn::SVG::Calculators::PathLength::Segment

Inherits:
Struct
  • Object
show all
Defined in:
lib/prawn/svg/calculators/path_length.rb

Instance Attribute Summary collapse

Instance Attribute Details

#control_points ⇒ Object

Returns the value of attribute control_points

Returns:

  • (Object) —

    the current value of control_points



3
4
5
# File 'lib/prawn/svg/calculators/path_length.rb', line 3

def control_points
  @control_points
end

#cumulative_length ⇒ Object

Returns the value of attribute cumulative_length

Returns:

  • (Object) —

    the current value of cumulative_length



3
4
5
# File 'lib/prawn/svg/calculators/path_length.rb', line 3

def cumulative_length
  @cumulative_length
end

#end_point ⇒ Object

Returns the value of attribute end_point

Returns:

  • (Object) —

    the current value of end_point



3
4
5
# File 'lib/prawn/svg/calculators/path_length.rb', line 3

def end_point
  @end_point
end

#lookup_table ⇒ Object

Returns the value of attribute lookup_table

Returns:

  • (Object) —

    the current value of lookup_table



3
4
5
# File 'lib/prawn/svg/calculators/path_length.rb', line 3

def lookup_table
  @lookup_table
end

#segment_length ⇒ Object

Returns the value of attribute segment_length

Returns:

  • (Object) —

    the current value of segment_length



3
4
5
# File 'lib/prawn/svg/calculators/path_length.rb', line 3

def segment_length
  @segment_length
end

#start_point ⇒ Object

Returns the value of attribute start_point

Returns:

  • (Object) —

    the current value of start_point



3
4
5
# File 'lib/prawn/svg/calculators/path_length.rb', line 3

def start_point
  @start_point
end

#type ⇒ Object

Returns the value of attribute type

Returns:

  • (Object) —

    the current value of type



3
4
5
# File 'lib/prawn/svg/calculators/path_length.rb', line 3

def type
  @type
end