strokePattern method

GraphicsCommandStrokePattern strokePattern(
  1. GraphicsPattern pattern, [
  2. num width = 1.0,
  3. JointStyle jointStyle = JointStyle.MITER,
  4. CapsStyle capsStyle = CapsStyle.NONE,
])

Apply a stroke pattern to the previously drawn vector object.

Implementation

GraphicsCommandStrokePattern strokePattern(GraphicsPattern pattern,
    [num width = 1.0,
    JointStyle jointStyle = JointStyle.MITER,
    CapsStyle capsStyle = CapsStyle.NONE]) {
  final command =
      GraphicsCommandStrokePattern(pattern, width, jointStyle, capsStyle);
  addCommand(command);
  return command;
}