|
| | FromCSSRGBA (self, aRed, aGreen, aBlue, aAlpha=1.0) |
| |
| | __init__ (self, *args) |
| |
| | SetFromWxString (self, aColorString) |
| |
| | ToCSSString (self) |
| |
| | SetFromHexString (self, aColorString) |
| |
| | ToHexString (self) |
| |
| | ToColour (self) |
| |
| | LegacyMix (self, aColor) |
| |
| | ToHSL (self, aOutHue, aOutSaturation, aOutLightness) |
| |
| | FromHSL (self, aInHue, aInSaturation, aInLightness) |
| |
| | Brighten (self, aFactor) |
| |
| | Darken (self, aFactor) |
| |
| | Invert (self) |
| |
| | Saturate (self, aFactor) |
| |
| | Desaturate (self) |
| |
| | Brightened (self, aFactor) |
| |
| | Darkened (self, aFactor) |
| |
| | Mix (self, aColor, aFactor) |
| |
| | WithAlpha (self, aAlpha) |
| |
| | Inverted (self) |
| |
| | GetBrightness (self) |
| |
| | ToHSV (self, aOutHue, aOutSaturation, aOutValue, aAlwaysDefineHue=False) |
| |
| | FromHSV (self, aInH, aInS, aInV) |
| |
| | Distance (self, other) |
| |
| | Compare (self, aRhs) |
| |
| | RelativeLuminance (self) |
| |
|
| | thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") |
| |
| | r = property(_pcbnew.COLOR4D_r_get, _pcbnew.COLOR4D_r_set, doc=) |
| |
| | g = property(_pcbnew.COLOR4D_g_get, _pcbnew.COLOR4D_g_set, doc=) |
| |
| | b = property(_pcbnew.COLOR4D_b_get, _pcbnew.COLOR4D_b_set, doc=) |
| |
| | a = property(_pcbnew.COLOR4D_a_get, _pcbnew.COLOR4D_a_set, doc=) |
| |
Proxy of C++ KIGFX::COLOR4D class.
Definition at line 2319 of file pcbnew.py.
◆ __init__()
| pcbnew.COLOR4D.__init__ |
( |
| self, |
|
|
* | args ) |
__init__(COLOR4D self) -> COLOR4D
__init__(COLOR4D self, double aRed, double aGreen, double aBlue, double aAlpha) -> COLOR4D
__init__(COLOR4D self, EDA_COLOR_T aColor) -> COLOR4D
__init__(COLOR4D self, wxString aColorStr) -> COLOR4D
__init__(COLOR4D self, wxColour const & aColor) -> COLOR4D
Definition at line 2329 of file pcbnew.py.
◆ Brighten()
| pcbnew.COLOR4D.Brighten |
( |
| self, |
|
|
| aFactor ) |
Brighten(COLOR4D self, double aFactor) -> COLOR4D
Definition at line 2371 of file pcbnew.py.
◆ Brightened()
| pcbnew.COLOR4D.Brightened |
( |
| self, |
|
|
| aFactor ) |
Brightened(COLOR4D self, double aFactor) -> COLOR4D
Definition at line 2391 of file pcbnew.py.
◆ Compare()
| pcbnew.COLOR4D.Compare |
( |
| self, |
|
|
| aRhs ) |
Compare(COLOR4D self, COLOR4D aRhs) -> int
Definition at line 2427 of file pcbnew.py.
◆ ContrastRatio()
| pcbnew.COLOR4D.ContrastRatio |
( |
| aLeft, |
|
|
| aRight ) |
|
static |
ContrastRatio(COLOR4D aLeft, COLOR4D aRight) -> double
Definition at line 2436 of file pcbnew.py.
◆ Darken()
| pcbnew.COLOR4D.Darken |
( |
| self, |
|
|
| aFactor ) |
Darken(COLOR4D self, double aFactor) -> COLOR4D
Definition at line 2375 of file pcbnew.py.
◆ Darkened()
| pcbnew.COLOR4D.Darkened |
( |
| self, |
|
|
| aFactor ) |
Darkened(COLOR4D self, double aFactor) -> COLOR4D
Definition at line 2395 of file pcbnew.py.
◆ Desaturate()
| pcbnew.COLOR4D.Desaturate |
( |
| self | ) |
|
Desaturate(COLOR4D self) -> COLOR4D
Definition at line 2387 of file pcbnew.py.
◆ Distance()
| pcbnew.COLOR4D.Distance |
( |
| self, |
|
|
| other ) |
Distance(COLOR4D self, COLOR4D other) -> double
Definition at line 2423 of file pcbnew.py.
◆ FindNearestLegacyColor()
| pcbnew.COLOR4D.FindNearestLegacyColor |
( |
| aR, |
|
|
| aG, |
|
|
| aB ) |
|
static |
FindNearestLegacyColor(int aR, int aG, int aB) -> EDA_COLOR_T
Definition at line 2441 of file pcbnew.py.
◆ FromCSSRGBA()
| pcbnew.COLOR4D.FromCSSRGBA |
( |
| self, |
|
|
| aRed, |
|
|
| aGreen, |
|
|
| aBlue, |
|
|
| aAlpha = 1.0 ) |
FromCSSRGBA(COLOR4D self, int aRed, int aGreen, int aBlue, double aAlpha=1.0) -> COLOR4D
Definition at line 2325 of file pcbnew.py.
◆ FromHSL()
| pcbnew.COLOR4D.FromHSL |
( |
| self, |
|
|
| aInHue, |
|
|
| aInSaturation, |
|
|
| aInLightness ) |
FromHSL(COLOR4D self, double aInHue, double aInSaturation, double aInLightness)
Definition at line 2367 of file pcbnew.py.
◆ FromHSV()
| pcbnew.COLOR4D.FromHSV |
( |
| self, |
|
|
| aInH, |
|
|
| aInS, |
|
|
| aInV ) |
FromHSV(COLOR4D self, double aInH, double aInS, double aInV)
Definition at line 2419 of file pcbnew.py.
◆ GetBrightness()
| pcbnew.COLOR4D.GetBrightness |
( |
| self | ) |
|
GetBrightness(COLOR4D self) -> double
Definition at line 2411 of file pcbnew.py.
◆ Invert()
| pcbnew.COLOR4D.Invert |
( |
| self | ) |
|
Invert(COLOR4D self) -> COLOR4D
Definition at line 2379 of file pcbnew.py.
◆ Inverted()
| pcbnew.COLOR4D.Inverted |
( |
| self | ) |
|
Inverted(COLOR4D self) -> COLOR4D
Definition at line 2407 of file pcbnew.py.
◆ LegacyMix()
| pcbnew.COLOR4D.LegacyMix |
( |
| self, |
|
|
| aColor ) |
LegacyMix(COLOR4D self, COLOR4D aColor) -> COLOR4D
Definition at line 2359 of file pcbnew.py.
◆ Mix()
| pcbnew.COLOR4D.Mix |
( |
| self, |
|
|
| aColor, |
|
|
| aFactor ) |
Mix(COLOR4D self, COLOR4D aColor, double aFactor) -> COLOR4D
Definition at line 2399 of file pcbnew.py.
◆ RelativeLuminance()
| pcbnew.COLOR4D.RelativeLuminance |
( |
| self | ) |
|
RelativeLuminance(COLOR4D self) -> double
Definition at line 2431 of file pcbnew.py.
◆ Saturate()
| pcbnew.COLOR4D.Saturate |
( |
| self, |
|
|
| aFactor ) |
Saturate(COLOR4D self, double aFactor) -> COLOR4D
Definition at line 2383 of file pcbnew.py.
◆ SetFromHexString()
| pcbnew.COLOR4D.SetFromHexString |
( |
| self, |
|
|
| aColorString ) |
SetFromHexString(COLOR4D self, wxString aColorString) -> bool
Definition at line 2347 of file pcbnew.py.
◆ SetFromWxString()
| pcbnew.COLOR4D.SetFromWxString |
( |
| self, |
|
|
| aColorString ) |
SetFromWxString(COLOR4D self, wxString aColorString) -> bool
Definition at line 2339 of file pcbnew.py.
◆ ToColour()
| pcbnew.COLOR4D.ToColour |
( |
| self | ) |
|
ToColour(COLOR4D self) -> wxColour
Definition at line 2355 of file pcbnew.py.
◆ ToCSSString()
| pcbnew.COLOR4D.ToCSSString |
( |
| self | ) |
|
ToCSSString(COLOR4D self) -> wxString
Definition at line 2343 of file pcbnew.py.
◆ ToHexString()
| pcbnew.COLOR4D.ToHexString |
( |
| self | ) |
|
ToHexString(COLOR4D self) -> wxString
Definition at line 2351 of file pcbnew.py.
◆ ToHSL()
| pcbnew.COLOR4D.ToHSL |
( |
| self, |
|
|
| aOutHue, |
|
|
| aOutSaturation, |
|
|
| aOutLightness ) |
ToHSL(COLOR4D self, double & aOutHue, double & aOutSaturation, double & aOutLightness)
Definition at line 2363 of file pcbnew.py.
◆ ToHSV()
| pcbnew.COLOR4D.ToHSV |
( |
| self, |
|
|
| aOutHue, |
|
|
| aOutSaturation, |
|
|
| aOutValue, |
|
|
| aAlwaysDefineHue = False ) |
ToHSV(COLOR4D self, double & aOutHue, double & aOutSaturation, double & aOutValue, bool aAlwaysDefineHue=False)
Definition at line 2415 of file pcbnew.py.
◆ WithAlpha()
| pcbnew.COLOR4D.WithAlpha |
( |
| self, |
|
|
| aAlpha ) |
WithAlpha(COLOR4D self, double aAlpha) -> COLOR4D
Definition at line 2403 of file pcbnew.py.
◆ BLACK
◆ CLEAR
◆ UNSPECIFIED
| pcbnew.COLOR4D.UNSPECIFIED |
|
static |
◆ WHITE
| pcbnew.COLOR4D.a = property(_pcbnew.COLOR4D_a_get, _pcbnew.COLOR4D_a_set, doc=) |
|
static |
| pcbnew.COLOR4D.b = property(_pcbnew.COLOR4D_b_get, _pcbnew.COLOR4D_b_set, doc=) |
|
static |
| pcbnew.COLOR4D.g = property(_pcbnew.COLOR4D_g_get, _pcbnew.COLOR4D_g_set, doc=) |
|
static |
| pcbnew.COLOR4D.r = property(_pcbnew.COLOR4D_r_get, _pcbnew.COLOR4D_r_set, doc=) |
|
static |
◆ thisown
| pcbnew.COLOR4D.thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") |
|
static |
The documentation for this class was generated from the following file: