Module: Origami::Graphics::Path::Segment

Included in:
Line
Defined in:
lib/origami/graphics/path.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#fromObject

Returns the value of attribute from


59
60
61
# File 'lib/origami/graphics/path.rb', line 59

def from
  @from
end

#toObject

Returns the value of attribute to


59
60
61
# File 'lib/origami/graphics/path.rb', line 59

def to
  @to
end

Instance Method Details

#initialize(from, to) ⇒ Object


61
62
63
# File 'lib/origami/graphics/path.rb', line 61

def initialize(from, to)
    @from, @to = from, to
end