org.kde.koala
Class KColor
public
class
KColor
extends QColor
A color class that preserves both RGB and HSV values.
This is
unlike QColor which only preserves RGB values and recalculates HSV
values. The QColor behavior leads to an accumulation of rounding
errors when working in the HSV color space.
Author: Waldo Bastian
UNKNOWN: A color class that preserves both RGB and HSV values.
Method Summary |
void | dispose() Delete the wrapped C++ instance ahead of finalize() |
protected void | finalize() Deletes the wrapped C++ instance |
void | hsv(int[] _h, int[] _s, int[] _v) |
boolean | isDisposed() Has the wrapped C++ instance been deleted? |
boolean | op_equals(KColor col) |
void | rgb(int[] _r, int[] _g, int[] _b) |
void | setHsv(int _h, int _s, int _v) |
void | setRgb(int _r, int _g, int _b) |
protected KColor(Class dummy)
public KColor()
public KColor(QColor col)
public void dispose()
Delete the wrapped C++ instance ahead of finalize()
protected void finalize()
Deletes the wrapped C++ instance
public void hsv(int[] _h, int[] _s, int[] _v)
public boolean isDisposed()
Has the wrapped C++ instance been deleted?
public boolean op_equals(
KColor col)
public void rgb(int[] _r, int[] _g, int[] _b)
public void setHsv(int _h, int _s, int _v)
public void setRgb(int _r, int _g, int _b)