Interface: EdgeAsciiRendererOptions
Defined in: renderers/types.ts:56
Options specific to the P5AsciifyEdgeRenderer class.
Extends
Properties
| Property | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|
backgroundColor? | any | The cell background color. Only used when characterColorMode is set to fixed. | FeatureAsciiRendererOptions.backgroundColor | renderers/types.ts:27 |
backgroundColorMode? | string | number | The background color mode. Can be either sampled or fixed. | FeatureAsciiRendererOptions.backgroundColorMode | renderers/types.ts:30 |
characterColor? | any | The color of the ASCII characters. Only used when characterColorMode is set to fixed. | FeatureAsciiRendererOptions.characterColor | renderers/types.ts:21 |
characterColorMode? | string | number | The character color mode. Can be either sampled or fixed. | FeatureAsciiRendererOptions.characterColorMode | renderers/types.ts:24 |
characters? | string | The character set to use for the ASCII renderer. | FeatureAsciiRendererOptions.characters | renderers/types.ts:18 |
enabled? | boolean | Whether the renderer is enabled. | FeatureAsciiRendererOptions.enabled | renderers/types.ts:10 |
flipHorizontally? | boolean | Flip the ASCII characters horizontally. | FeatureAsciiRendererOptions.flipHorizontally | renderers/types.ts:39 |
flipVertically? | boolean | Flip the ASCII characters vertically. | FeatureAsciiRendererOptions.flipVertically | renderers/types.ts:42 |
invert? | boolean | Swap the cells ASCII character colors with its cell background colors. | FeatureAsciiRendererOptions.invert | renderers/types.ts:33 |
rotation? | any | The rotation angle of all characters affected by a given renderer. | FeatureAsciiRendererOptions.rotation | renderers/types.ts:36 |
sampleThreshold? | number | The threshold for the ASCII character sampling algorithm. | - | renderers/types.ts:61 |
sobelThreshold? | number | The threshold for the Sobel edge detection algorithm. | - | renderers/types.ts:58 |