GraphicsCommandStrokeGradient strokeGradient(GraphicsGradient gradient, [ num width = 1.0, JointStyle jointStyle = JointStyle.MITER, CapsStyle capsStyle = CapsStyle.NONE ])

Apply a stroke color to the previously drawn vector object.

Source

GraphicsCommandStrokeGradient strokeGradient(GraphicsGradient gradient, [
    num width = 1.0,
    JointStyle jointStyle = JointStyle.MITER,
    CapsStyle capsStyle = CapsStyle.NONE]) {

  var command = new GraphicsCommandStrokeGradient(gradient, width, jointStyle, capsStyle);
  this.addCommand(command);
  return command;
}