strokeColor method

GraphicsCommandStrokeColor strokeColor(
  1. int color, [
  2. num width = 1.0,
  3. JointStyle jointStyle = JointStyle.MITER,
  4. CapsStyle capsStyle = CapsStyle.NONE,
])

Apply a stroke color to the previously drawn vector object.

Implementation

GraphicsCommandStrokeColor strokeColor(int color,
    [num width = 1.0,
    JointStyle jointStyle = JointStyle.MITER,
    CapsStyle capsStyle = CapsStyle.NONE]) {
  final command =
      GraphicsCommandStrokeColor(color, width, jointStyle, capsStyle);
  addCommand(command);
  return command;
}