Module: MethodDraw

Defined in:
lib/method_draw.rb,
lib/method_draw/version.rb,
lib/method_draw/method_draw.rb

Defined Under Namespace

Modules: ActionViewBaseInstanceMethods, FormBuilderInstanceMethods

Constant Summary collapse

ASSET_FILES =
%w(method_draw.css method_draw.js method_draw_embed.js method-draw-js/canvg/canvg.js method-draw-js/canvg/rgbcolor.js method-draw-js/extensions/ext-*.js)
METHOD_DRAW_OPTIONS =
[:width, :height, :bkgd_color, :bkgd_url, :canvas_width, :canvas_height, :canvas_expansion, :hide_rulers, :hide_menu, :hide_image_tool, :show_layers, :url, :extensions]
TAG_OPTIONS =
[:id, :value, :index]
OPTIONS =
METHOD_DRAW_OPTIONS + TAG_OPTIONS
VERSION =
"0.0.1"