implement fill and frameStyle for line (and failed curve)