strokeGradient method
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.
Implementation
GraphicsCommandStrokeGradient strokeGradient(GraphicsGradient gradient,
[num width = 1.0,
JointStyle jointStyle = JointStyle.MITER,
CapsStyle capsStyle = CapsStyle.NONE]) {
final command =
GraphicsCommandStrokeGradient(gradient, width, jointStyle, capsStyle);
addCommand(command);
return command;
}