#### PyKDE - Python Bindings for KDE

# class KPixmapEffect |
Table of contents
Modules
tdefx Classes
All Classes

Module | tdefx
Class | KPixmapEffect
Inherits |

### enums

- GradientType = {VerticalGradient, HorizontalGradient, DiagonalGradient, CrossDiagonalGradient, PyramidGradient, RectangleGradient, PipeCrossGradient, EllipticGradient }
- Lighting = {NorthLite, NWLite, WestLite, SWLite, SouthLite, SELite, EastLite, NELite }
- RGBComponent = {Red, Green, Blue }

### methods

- blend (pixmap, initial_intensity, bgnd, eff, anti_dir = 0, ncols = 3)

  returns (KPixmap)
  static
  Argument | Type | Default
  --- | --- | ---
  pixmap | KPixmap |
  initial_intensity | float |
  bgnd | TQColor |
  eff | KPixmapEffect.GradientType |
  anti_dir | bool | 0
  ncols | int | 3

- channelIntensity (pixmap, ratio, channel)

  returns (KPixmap)
  static
  Argument | Type | Default
  --- | --- | ---
  pixmap | KPixmap |
  ratio | float |
  channel | KPixmapEffect.RGBComponent |

- contrast (pixmap, c)

  returns (KPixmap)
  static
  Argument | Type | Default
  --- | --- | ---
  pixmap | KPixmap |
  c | int |

- createTiled (pixmap, size)

  returns (KPixmap)
  static
  Argument | Type | Default
  --- | --- | ---
  pixmap | KPixmap |
  size | TQSize |

- desaturate (pixmap, desat = 0.3)

  returns (KPixmap)
  static
  Argument | Type | Default
  --- | --- | ---
  pixmap | KPixmap |
  desat | float | 0.3

- dither (pixmap, palette, size)

  returns (KPixmap)
  static
  Argument | Type | Default
  --- | --- | ---
  pixmap | KPixmap |
  palette | TQColor |
  size | int |

- fade (pixmap, val, color)

  returns (KPixmap)
  static
  Argument | Type | Default
  --- | --- | ---
  pixmap | KPixmap |
  val | double |
  color | TQColor |

- gradient (pixmap, ca, cb, type, ncols = 3)

  returns (KPixmap)
  static
  Argument | Type | Default
  --- | --- | ---
  pixmap | KPixmap |
  ca | TQColor |
  cb | TQColor |
  type | KPixmapEffect.GradientType |
  ncols | int | 3

- hash (pixmap, lite = NorthLite, spacing = 0, ncols = 3)

  returns (KPixmap)
  static
  Argument | Type | Default
  --- | --- | ---
  pixmap | KPixmap |
  lite | KPixmapEffect.Lighting | NorthLite
  spacing | uint | 0
  ncols | int | 3

- intensity (pixmap, ratio)

  returns (KPixmap)
  static
  Argument | Type | Default
  --- | --- | ---
  pixmap | KPixmap |
  ratio | float |

- pattern (pixmap, size, ca, cb, ncols = 8)

  returns (KPixmap)
  static
  Argument | Type | Default
  --- | --- | ---
  pixmap | KPixmap |
  size | TQSize |
  ca | TQColor |
  cb | TQColor |
  ncols | int | 8

- selectedPixmap (pixmap, col)

  returns (KPixmap)
  static
  Argument | Type | Default
  --- | --- | ---
  pixmap | KPixmap |
  col | TQColor |

- toGray (pixmap, fast = 0)

  returns (KPixmap)
  static
  Argument | Type | Default
  --- | --- | ---
  pixmap | KPixmap |
  fast | bool | 0

- unbalancedGradient (pixmap, ca, cb, type, xfactor = 100, yfactor = 100, ncols = 3)

  returns (KPixmap)
  static
  Argument | Type | Default
  --- | --- | ---
  pixmap | KPixmap |
  ca | TQColor |
  cb | TQColor |
  type | KPixmapEffect.GradientType |
  xfactor | int | 100
  yfactor | int | 100
  ncols | int | 3