CanvasContext.setStrokeStyle2022-07-29 06:08Set the style of stroke. By default, it is black.ParametersIt is Object type.FieldTypeDescriptioncolorColorThe colorSample Codecopyconst ctx = my.createCanvasContext('awesomeCanvas') ctx.setStrokeStyle('blue') ctx.strokeRect(50, 50, 100, 175) ctx.draw()