ColorAdjustmentNode.d.ts 789 B

123456789101112131415161718192021222324252627282930
  1. import { TempNode } from '../core/TempNode';
  2. import { NodeBuilder } from '../core/NodeBuilder';
  3. import { FloatNode } from '../inputs/FloatNode';
  4. import { FunctionNode } from '../core/FunctionNode';
  5. import { Node } from '../core/Node';
  6. export class ColorAdjustmentNode extends TempNode {
  7. constructor(rgb: Node, adjustment?: FloatNode, method?: string);
  8. rgb: Node;
  9. adjustment: FloatNode | undefined;
  10. method: string;
  11. nodeType: string;
  12. generate(builder: NodeBuilder, output: string): string;
  13. copy(source: ColorAdjustmentNode): this;
  14. static Nodes: {
  15. hue: FunctionNode;
  16. saturation: FunctionNode;
  17. vibrance: FunctionNode;
  18. }
  19. static SATURATION: string;
  20. static HUE: string;
  21. static VIBRANCE: string;
  22. static BRIGHTNESS: string;
  23. static CONTRAST: string;
  24. }