Interface: ToonOutlineOptions
Defined in: src/rendering/toon/toonShading.ts:40
Options for the outline (the rim stroke).
Properties
color?
optionalcolor:string
Defined in: src/rendering/toon/toonShading.ts:48
Explicit outline colour (CSS colour). Sets the mode to 'color' when mode is not given.
mode?
optionalmode:ToonOutlineColorMode
Defined in: src/rendering/toon/toonShading.ts:46
Colour mode: 'darker' (dark ink), 'lighter' (bright stroke), 'same'
(the mobject colour) or 'color' (the color option). Default: 'color'
when color is set, else the preset mode.
opacity?
optionalopacity:number
Defined in: src/rendering/toon/toonShading.ts:55
Opacity of the outline when the body is at rest. The outline fades with
the body: see Mobject3D.setToonShading.
width?
optionalwidth:number
Defined in: src/rendering/toon/toonShading.ts:50
Width of the rim in CSS pixels.