 
     # if the attribute is not on this property object at all, log a bad request
     if not (attrname of @)
-      #console.log("requested unknown property '#{ attrname }' on object: " + obj)
+      console.log("requested selection of unknown property '#{ attrname }' on object: " + obj)
       return
 
     # if the attribute specifies a field, and the field exists on the object, return that value

    @array(styleprovider, glyphspec, @line_dash_name)
    @number(styleprovider, glyphspec, @line_dash_offset_name)

    @do_stroke = @[@line_color_name].default?

  set: (ctx, obj) ->
    ctx.strokeStyle = @select(@line_color_name, obj)


class fill_properties extends properties
  constructor: (styleprovider, glyphspec, prefix="") ->
    @fill_color_name = "#{ prefix }fill_color"
    @fill_alpha_name = "#{ prefix }fill_alpha"

    @color(styleprovider, glyphspec, @fill_color_name)
    @number(styleprovider, glyphspec, @fill_alpha_name)

    @do_fill = not _.isNull(@[@fill_color_name].value)

  set: (ctx, obj) ->
    ctx.fillStyle   = @select(@fill_color_name, obj)
    ctx.globalAlpha = @select(@fill_alpha_name, obj)


