Skip to main content

Interface: IRubberbandStyle

A structure defining the appearance of a selected area when the left mouse button is holding down.

Properties

color

color: string

The color of the selection border, in the RGBA format. The default value is "rgba(0,0,0,1)".


width

width: number

The selection border width, in pixels. The default value is 1.


fillColor

fillColor: string

The fill color of the selection, in the RGBA format. The default value is "rgba(0,0,0,0)".


dashPattern

dashPattern: number[]

The style of dashes of the selection border, as an array of numbers, which mean the length of the dash or gap in the dashed line. By default, the array is [2, 2].

Was this page helpful?