#### PyKDE - Python Bindings for KDE

# class KPixmapEffect

Table of contents
Modules
kdefx Classes
All Classes

Module | kdefx
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 | QColor |
  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 | QSize |

- 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 | QColor |
  size | int |

- fade (pixmap, val, color)

  returns (KPixmap)
  static

  Argument | Type | Default
  --- | --- | ---
  pixmap | KPixmap |
  val | double |
  color | QColor |

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

  returns (KPixmap)
  static

  Argument | Type | Default
  --- | --- | ---
  pixmap | KPixmap |
  ca | QColor |
  cb | QColor |
  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 | QSize |
  ca | QColor |
  cb | QColor |
  ncols | int | 8

- selectedPixmap (pixmap, col)

  returns (KPixmap)
  static

  Argument | Type | Default
  --- | --- | ---
  pixmap | KPixmap |
  col | QColor |

- 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 | QColor |
  cb | QColor |
  type | KPixmapEffect.GradientType |
  xfactor | int | 100
  yfactor | int | 100
  ncols | int | 3