Skip to content

API reference / Common / Engine types / PaintBlipEffect

Type Alias: PaintBlipEffect ​

ts
type PaintBlipEffect = 
  | {
  alphaBiLevel: {
     threshold: number;
  };
}
  | "alphaCeiling"
  | "alphaFloor"
  | {
  alphaInverse: {
     color: PaintColor | null;
  };
}
  | {
  alphaModulateFixed: {
     amount: number;
  };
}
  | {
  alphaReplace: {
     alpha: number;
  };
}
  | {
  biLevel: {
     threshold: number;
  };
}
  | {
  blur: {
     radius: number;
     grow: boolean;
  };
}
  | {
  colorChange: {
     from: PaintColor;
     to: PaintColor;
     useAlpha: boolean;
  };
}
  | {
  colorReplace: {
     color: PaintColor;
  };
}
  | {
  duotone: {
     first: PaintColor;
     second: PaintColor;
  };
}
  | "grayscale"
  | {
  hsl: {
     hue: number;
     saturation: number;
     luminance: number;
  };
}
  | {
  luminance: {
     brightness: number;
     contrast: number;
  };
}
  | {
  tint: {
     hue: number;
     amount: number;
  };
};

An image transform on a [PaintBlip] — one of CT_Blip's effect children.

The common set; the rarely-authored alpha-DAG effects are not modeled.