#### PyKDE - Python Bindings for KDE

# class DOM.CSSPrimitiveValue

Table of contents
Modules
khtml Classes
All Classes

Module | khtml
Class | DOM.CSSPrimitiveValue
Inherits | DOM.CSSValue

### enums

- UnitTypes = {CSS_UNKNOWN, CSS_NUMBER, CSS_PERCENTAGE, CSS_EMS, CSS_EXS, CSS_PX, CSS_CM, CSS_MM, CSS_IN, CSS_PT, CSS_PC, CSS_DEG, CSS_RAD, CSS_GRAD, CSS_MS, CSS_S, CSS_HZ, CSS_KHZ, CSS_DIMENSION, CSS_STRING, CSS_URI, CSS_IDENT, CSS_ATTR, CSS_COUNTER, CSS_RECT, CSS_RGBCOLOR, CSS_HTML_RELATIVE }
- UnitTypes = {CSS_UNKNOWN, CSS_NUMBER, CSS_PERCENTAGE, CSS_EMS, CSS_EXS, CSS_PX, CSS_CM, CSS_MM, CSS_IN, CSS_PT, CSS_PC, CSS_DEG, CSS_RAD, CSS_GRAD, CSS_MS, CSS_S, CSS_HZ, CSS_KHZ, CSS_DIMENSION, CSS_STRING, CSS_URI, CSS_IDENT, CSS_ATTR, CSS_COUNTER, CSS_RECT, CSS_RGBCOLOR }

### methods

- CSSPrimitiveValue ()

  returns a CSSPrimitiveValue instance

- CSSPrimitiveValue (other)

  returns a CSSPrimitiveValue instance

  Argument | Type | Default
  --- | --- | ---
  other | DOM.CSSPrimitiveValue |

- CSSPrimitiveValue (other)

  returns a CSSPrimitiveValue instance

  Argument | Type | Default
  --- | --- | ---
  other | DOM.CSSValue |

- CSSPrimitiveValue (impl)

  Not Implemented

- getCounterValue ()

  returns (DOM.Counter)

- getFloatValue (unitType)

  returns (float)

  Argument | Type | Default
  --- | --- | ---
  unitType | ushort |

- getRGBColorValue ()

  returns (DOM.RGBColor)

- getRectValue ()

  returns (DOM.Rect)

- getStringValue ()

  returns (DOM.DOMString)

- primitiveType ()

  returns (ushort)

- setFloatValue (unitType, floatValue)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  unitType | ushort |
  floatValue | float |

- setStringValue (stringType, stringValue)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  stringType | ushort |
  stringValue | DOM.DOMString |