Open
Description
In JS, it is possible to supply to, e.g., RoomVisual.circle
options with
{
stroke: undefined
}
It means that there should be no stroke and is different from empty options {}
which mean that the stroke should be default (rather thick and light).
Currently in the API it is impossible to supply an undefined stroke. The stroke can either be None
meaning default or Some(x)
meaning width x
, there is no undefined
option that means no stroke. A working workaround is supplying transparent stroke color or extremely small (but positive or else it will not work) stroke width. However, this approach requires the stroke data to be sent to the client which needlessly uses up more of the already small (when visualizing something in the whole room) 500kB limit.