Skip to main content

Interface: EdgeAsciiRendererOptions

Defined in: renderers/types.ts:48

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
invertMode?booleanSwap the cells ASCII character colors with its cell background colors.FeatureAsciiRendererOptions.invertModerenderers/types.ts:33
rotationAngle?anyThe rotation angle of all characters affected by a given renderer.FeatureAsciiRendererOptions.rotationAnglerenderers/types.ts:36
sampleThreshold?numberThe threshold for the ASCII character sampling algorithm.-renderers/types.ts:53
sobelThreshold?numberThe threshold for the Sobel edge detection algorithm.-renderers/types.ts:50