Skip to content

Documentation / @debuffjp/ui / FrameStyle

Interface: FrameStyle ​

Defined in: panel.ts:66

Extended by ​

Properties ​

borders? ​

optional borders?: readonly (string | number)[]

Defined in: panel.ts:68

1px rings, outermost first. Default one light ring.


chamfer? ​

optional chamfer?: number

Defined in: panel.ts:74

Cut each corner by this many pixels. Default 0 (square).


fill? ​

optional fill?: string | number

Defined in: panel.ts:70

Default a dark grey.


padding? ​

optional padding?: number

Defined in: panel.ts:72

Space between the innermost ring and the content. Default 6.


radius? ​

optional radius?: number

Defined in: panel.ts:76

Round each corner with this radius (wins over chamfer). Default 0, or 10 for debuff's own look.


shadow? ​

optional shadow?: string | number

Defined in: panel.ts:78

A hard drop shadow in this colour, offset down-right by shadowOffset. Default none.


shadowOffset? ​

optional shadowOffset?: number

Defined in: panel.ts:80

Default 1.