API Referenceatlasatlas/graphics
Effects
Built-in post-processing effect descriptors. Copy a descriptor to customize its parameters.
Module: atlas/graphics
Built-in post-processing effect descriptors. Copy a descriptor to customize its parameters.
Declaration
export const Effects: {
/**
* The inversion.
*/
Inversion: {
/**
* The category or discriminator for this value.
*/
type: "Inversion";
};
/**
* The grayscale.
*/
Grayscale: {
/**
* The category or discriminator for this value.
*/
type: "Grayscale";
};
/**
* The sharpen.
*/
Sharpen: {
/**
* The category or discriminator for this value.
*/
type: "Sharpen";
};
/**
* The blur.
*/
Blur: {
/**
* The category or discriminator for this value.
*/
type: "Blur";
/**
* The magnitude.
*/
magnitude: number;
};
/**
* The edge detection.
*/
EdgeDetection: {
/**
* The category or discriminator for this value.
*/
type: "EdgeDetection";
};
/**
* The color correction.
*/
ColorCorrection: {
/**
* The category or discriminator for this value.
*/
type: "ColorCorrection";
/**
* The exposure.
*/
exposure: number;
/**
* The contrast.
*/
contrast: number;
/**
* The saturation.
*/
saturation: number;
/**
* The gamma.
*/
gamma: number;
/**
* The temperature.
*/
temperature: number;
/**
* The tint.
*/
tint: number;
};
/**
* The motion blur.
*/
MotionBlur: {
/**
* The category or discriminator for this value.
*/
type: "MotionBlur";
/**
* The dimensions.
*/
size: number;
/**
* The separation.
*/
separation: number;
};
/**
* The chromatic aberration.
*/
ChromaticAberration: {
/**
* The category or discriminator for this value.
*/
type: "ChromaticAberration";
/**
* The red.
*/
red: number;
/**
* The green.
*/
green: number;
/**
* The blue.
*/
blue: number;
/**
* The normalized direction vector.
*/
direction: Magnitude2d;
};
/**
* The posterization.
*/
Posterization: {
/**
* The category or discriminator for this value.
*/
type: "Posterization";
/**
* The levels.
*/
levels: number;
};
/**
* The pixelation.
*/
Pixelation: {
/**
* The category or discriminator for this value.
*/
type: "Pixelation";
/**
* The pixel size.
*/
pixelSize: number;
};
/**
* The dialation.
*/
Dialation: {
/**
* The category or discriminator for this value.
*/
type: "Dilation";
/**
* The dimensions.
*/
size: number;
/**
* The separation.
*/
separation: number;
};
/**
* The dilation.
*/
Dilation: {
/**
* The category or discriminator for this value.
*/
type: "Dilation";
/**
* The dimensions.
*/
size: number;
/**
* The separation.
*/
separation: number;
};
/**
* The film grain.
*/
FilmGrain: {
/**
* The category or discriminator for this value.
*/
type: "FilmGrain";
/**
* The amount.
*/
amount: number;
};
};Properties
Inversion
The inversion.
Inversion: {
/**
* The category or discriminator for this value.
*/
type: "Inversion";
};Grayscale
The grayscale.
Grayscale: {
/**
* The category or discriminator for this value.
*/
type: "Grayscale";
};Sharpen
The sharpen.
Sharpen: {
/**
* The category or discriminator for this value.
*/
type: "Sharpen";
};Blur
The blur.
Blur: {
/**
* The category or discriminator for this value.
*/
type: "Blur";
/**
* The magnitude.
*/
magnitude: number;
};EdgeDetection
The edge detection.
EdgeDetection: {
/**
* The category or discriminator for this value.
*/
type: "EdgeDetection";
};ColorCorrection
The color correction.
ColorCorrection: {
/**
* The category or discriminator for this value.
*/
type: "ColorCorrection";
/**
* The exposure.
*/
exposure: number;
/**
* The contrast.
*/
contrast: number;
/**
* The saturation.
*/
saturation: number;
/**
* The gamma.
*/
gamma: number;
/**
* The temperature.
*/
temperature: number;
/**
* The tint.
*/
tint: number;
};MotionBlur
The motion blur.
MotionBlur: {
/**
* The category or discriminator for this value.
*/
type: "MotionBlur";
/**
* The dimensions.
*/
size: number;
/**
* The separation.
*/
separation: number;
};ChromaticAberration
The chromatic aberration.
ChromaticAberration: {
/**
* The category or discriminator for this value.
*/
type: "ChromaticAberration";
/**
* The red.
*/
red: number;
/**
* The green.
*/
green: number;
/**
* The blue.
*/
blue: number;
/**
* The normalized direction vector.
*/
direction: Magnitude2d;
};Posterization
The posterization.
Posterization: {
/**
* The category or discriminator for this value.
*/
type: "Posterization";
/**
* The levels.
*/
levels: number;
};Pixelation
The pixelation.
Pixelation: {
/**
* The category or discriminator for this value.
*/
type: "Pixelation";
/**
* The pixel size.
*/
pixelSize: number;
};Dialation
The dialation.
Dialation: {
/**
* The category or discriminator for this value.
*/
type: "Dilation";
/**
* The dimensions.
*/
size: number;
/**
* The separation.
*/
separation: number;
};Dilation
The dilation.
Dilation: {
/**
* The category or discriminator for this value.
*/
type: "Dilation";
/**
* The dimensions.
*/
size: number;
/**
* The separation.
*/
separation: number;
};FilmGrain
The film grain.
FilmGrain: {
/**
* The category or discriminator for this value.
*/
type: "FilmGrain";
/**
* The amount.
*/
amount: number;
};