#### 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 = 0, CSS_NUMBER = 1, CSS_PERCENTAGE = 2, CSS_EMS = 3, CSS_EXS = 4, CSS_PX = 5, CSS_CM = 6, CSS_MM = 7, CSS_IN = 8, CSS_PT = 9, CSS_PC = 10, CSS_DEG = 11, CSS_RAD = 12, CSS_GRAD = 13, CSS_MS = 14, CSS_S = 15, CSS_HZ = 16, CSS_KHZ = 17, CSS_DIMENSION = 18, CSS_STRING = 19, CSS_URI = 20, CSS_IDENT = 21, CSS_ATTR = 22, CSS_COUNTER = 23, CSS_RECT = 24, CSS_RGBCOLOR = 25, CSS_HTML_RELATIVE = 255 }
- UnitTypes = {CSS_UNKNOWN = 0, CSS_NUMBER = 1, CSS_PERCENTAGE = 2, CSS_EMS = 3, CSS_EXS = 4, CSS_PX = 5, CSS_CM = 6, CSS_MM = 7, CSS_IN = 8, CSS_PT = 9, CSS_PC = 10, CSS_DEG = 11, CSS_RAD = 12, CSS_GRAD = 13, CSS_MS = 14, CSS_S = 15, CSS_HZ = 16, CSS_KHZ = 17, CSS_DIMENSION = 18, CSS_STRING = 19, CSS_URI = 20, CSS_IDENT = 21, CSS_ATTR = 22, CSS_COUNTER = 23, CSS_RECT = 24, CSS_RGBCOLOR = 25 }

### 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 |