DefinitelyTyped/types/p5/literals.d.ts
Pierre Krafft 6d243e4240 Update p5 to 0.9 (#37277)
Also use updated prettier rules to get correct formatting
2019-08-06 16:06:59 -07:00

92 lines
2.4 KiB
TypeScript

import * as p5 from './index';
declare module './index' {
type ADD = 'lighter';
type ARROW = 'arrow';
type AUDIO = 'audio';
type AUTO = 'auto';
type AXES = 'axes';
type BASELINE = 'alphabetic';
type BEVEL = 'bevel';
type BEZIER = 'bezier';
type BLEND = 'source-over';
type BLUR = 'blur';
type BOLD = 'bold';
type BOLDITALIC = 'bolditalic';
type BOTTOM = 'bottom';
type BURN = 'color-burn';
type CENTER = 'center';
type CHORD = 'chord';
type CLAMP = 'clamp';
type CLOSE = 'close';
type CORNER = 'corner';
type CORNERS = 'corners';
type CROSS = 'cross';
type CURVE = 'curve';
type DARKEST = 'darkest';
type DEGREES = 'degrees';
type DIFFERENCE = 'difference';
type DILATE = 'dilate';
type DODGE = 'color-dodge';
type ERODE = 'erode';
type EXCLUSION = 'exclusion';
type FILL = 'fill';
type GRAY = 'gray';
type GRID = 'grid';
type HAND = 'hand';
type HARD_LIGHT = 'hard-light';
type HSB = 'hsb';
type HSL = 'hsl';
type IMAGE = 'image';
type IMMEDIATE = 'immediate';
type INVERT = 'invert';
type ITALIC = 'italic';
type LANDSCAPE = 'landscape';
type LEFT = 'left';
type LIGHTEST = 'lighten';
type LINE_LOOP = 0x0002;
type LINE_STRIP = 0x0003;
type LINEAR = 'linear';
type LINES = 0x0001;
type MIRROR = 'mirror';
type MITER = 'miter';
type MOVE = 'move';
type MULTIPLY = 'multiply';
type NEAREST = 'nearest';
type NORMAL = 'normal';
type OPAQUE = 'opaque';
type OPEN = 'open';
type OVERLAY = 'overlay';
type P2D = 'p2d';
type PIE = 'pie';
type POINTS = 0x0000;
type PORTRAIT = 'portrait';
type POSTERIZE = 'posterize';
type PROJECT = 'square';
type QUAD_STRIP = 'quad_strip';
type QUADRATIC = 'quadratic';
type QUADS = 'quads';
type RADIANS = 'radians';
type RADIUS = 'radius';
type REPEAT = 'repeat';
type REPLACE = 'copy';
type RGB = 'rgb';
type RIGHT = 'right';
type ROUND = 'round';
type SCREEN = 'screen';
type SOFT_LIGHT = 'soft-light';
type SQUARE = 'butt';
type STROKE = 'stroke';
type SUBTRACT = 'subtract';
type TEXT = 'text';
type TEXTURE = 'texture';
type THRESHOLD = 'threshold';
type TOP = 'top';
type TRIANGLE_FAN = 0x0006;
type TRIANGLE_STRIP = 0x0005;
type TRIANGLES = 0x0004;
type VIDEO = 'video';
type WAIT = 'wait';
type WEBGL = 'webgl';
}