class Origami::Graphics::DashPattern

Attributes

array[RW]
phase[RW]

Public Class Methods

new(array, phase = 0) click to toggle source
# File lib/origami/graphics/path.rb, line 40
def initialize(array, phase = 0)
    @array = array
    @phase = phase
end

Public Instance Methods

eql?(dash) click to toggle source
# File lib/origami/graphics/path.rb, line 45
def eql?(dash) #:nodoc
    dash.array == @array and dash.phase == @phase
end