Skip to main content

Interface: EdgeAsciiRendererOptions

Defined in: renderers/types.ts:56

Options specific to the P5AsciifyEdgeRenderer class.

Extends

Properties

PropertyTypeDescriptionInherited fromDefined in
backgroundColor?anyThe cell background color. Only used when characterColorMode is set to fixed.FeatureAsciiRendererOptions.backgroundColorrenderers/types.ts:27
backgroundColorMode?string | numberThe background color mode. Can be either sampled or fixed.FeatureAsciiRendererOptions.backgroundColorModerenderers/types.ts:30
characterColor?anyThe color of the ASCII characters. Only used when characterColorMode is set to fixed.FeatureAsciiRendererOptions.characterColorrenderers/types.ts:21
characterColorMode?string | numberThe character color mode. Can be either sampled or fixed.FeatureAsciiRendererOptions.characterColorModerenderers/types.ts:24
characters?stringThe character set to use for the ASCII renderer.FeatureAsciiRendererOptions.charactersrenderers/types.ts:18
enabled?booleanWhether the renderer is enabled.FeatureAsciiRendererOptions.enabledrenderers/types.ts:10
flipHorizontally?booleanFlip the ASCII characters horizontally.FeatureAsciiRendererOptions.flipHorizontallyrenderers/types.ts:39
flipVertically?booleanFlip the ASCII characters vertically.FeatureAsciiRendererOptions.flipVerticallyrenderers/types.ts:42
invert?booleanSwap the cells ASCII character colors with its cell background colors.FeatureAsciiRendererOptions.invertrenderers/types.ts:33
rotation?anyThe rotation angle of all characters affected by a given renderer.FeatureAsciiRendererOptions.rotationrenderers/types.ts:36
sampleThreshold?numberThe threshold for the ASCII character sampling algorithm.-renderers/types.ts:61
sobelThreshold?numberThe threshold for the Sobel edge detection algorithm.-renderers/types.ts:58