Class: Wicket::Commands::Z

Inherits:
Wicket::Command show all
Defined in:
lib/wicket/commands/z.rb

Constant Summary collapse

ARGS =
1
ARG_LIST =
[]

Instance Attribute Summary

Attributes inherited from Wicket::Command

#cursor_start, #x, #y

Instance Method Summary collapse

Methods inherited from Wicket::Command

#absolute_x, #absolute_y, #arguments, from_code, #subpath=, #to_wkt

Constructor Details

#initialize(absolute, cursor_start, subpath, opts) ⇒ Z

Returns a new instance of Z.



7
8
9
10
11
# File 'lib/wicket/commands/z.rb', line 7

def initialize(absolute,cursor_start,subpath,opts)
  @cursor_start = cursor_start
  @subpath = subpath
  @opts = opts
end

Instance Method Details

#cursor_endObject



13
14
15
# File 'lib/wicket/commands/z.rb', line 13

def cursor_end
  @subpath.first_command.cursor_end
end

#to_svg(opts = {}) ⇒ Object



17
18
19
# File 'lib/wicket/commands/z.rb', line 17

def to_svg(opts={})
  "Z"
end