# Interface: ArcOptions

# Hierarchy

# Properties

# backgroundColor

backgroundColor: Color

# Inherited from

CommonElementOptions.backgroundColor

# Defined in

types/index.d.ts:1828 (opens new window)


# borderAlign

borderAlign: "center" | "inner"

Arc stroke alignment.

# Defined in

types/index.d.ts:1860 (opens new window)


# borderColor

borderColor: Color

# Inherited from

CommonElementOptions.borderColor

# Defined in

types/index.d.ts:1827 (opens new window)


# borderDash

borderDash: number[]

Line dash. See MDN.

Default

[]

# Defined in

types/index.d.ts:1865 (opens new window)


# borderDashOffset

borderDashOffset: number

Line dash offset. See MDN.

Default

0.0

# Defined in

types/index.d.ts:1870 (opens new window)


# borderJoinStyle

borderJoinStyle: CanvasLineJoin

Line join style. See MDN. Default is 'round' when borderAlign is 'inner', else 'bevel'.

# Defined in

types/index.d.ts:1874 (opens new window)


# borderRadius

borderRadius: number | ArcBorderRadius

Sets the border radius for arcs

Default

0

# Defined in

types/index.d.ts:1880 (opens new window)


# borderWidth

borderWidth: number

# Inherited from

CommonElementOptions.borderWidth

# Defined in

types/index.d.ts:1826 (opens new window)


# circular

circular: boolean

If false, Arc will be flat.

Default

true

# Defined in

types/index.d.ts:1891 (opens new window)


# offset

offset: number

Arc offset (in pixels).

# Defined in

types/index.d.ts:1885 (opens new window)


# selfJoin

selfJoin: boolean

If true, Arc can take up 100% of a circular graph without any visual split or cut. This option doesn't support borderRadius and borderJoinStyle miter

Default

true

# Defined in

types/index.d.ts:1855 (opens new window)


# spacing

spacing: number

Spacing between arcs

# Defined in

types/index.d.ts:1896 (opens new window)