Method: FPDF#SetY

Defined in:
lib/fpdf.rb

#SetY(y) ⇒ Object



881
882
883
884
885
886
887
888
889
# File 'lib/fpdf.rb', line 881

def SetY(y)
    # Set y position and reset x
    @x=@lMargin
    if y>=0
        @y=y
    else
        @y=@h+y
    end
end