Rachid
07/10/2020, 12:03 PMval line = graphics {
stroke(
ColorPaint(Colors.LIGHTGRAY),
Context2d.StrokeInfo(thickness = 1.0)
) {
moveTo(e1.v1.pos.x + VERTEX_RADIUS, e1.v1.pos.y + VERTEX_RADIUS)
lineTo(e1.v2.pos.x + VERTEX_RADIUS, e1.v2.pos.y + VERTEX_RADIUS)
}
Is it possible to change the color of this line afterwards? If not, what should I use to draw the line instead?Deactivated User
07/10/2020, 12:05 PMRachid
07/10/2020, 12:07 PMDeactivated User
07/10/2020, 12:08 PMRachid
07/10/2020, 12:11 PMDeactivated User
07/10/2020, 12:11 PM