strokePattern method
GraphicsCommandStrokePattern
strokePattern(
- GraphicsPattern pattern, [
- num width = 1.0,
- JointStyle jointStyle = JointStyle.MITER,
- 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;
}