mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
.Core: Added a bit of doc
git-svn-id: svn://ultimatepp.org/upp/trunk@4391 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
8e6859c746
commit
278b7c09fa
1 changed files with 8 additions and 0 deletions
|
|
@ -305,6 +305,14 @@ olor][@(0.0.255) `&]_[*@3 c])&]
|
|||
[s2; Converts a color [%-*@3 c][%- to grayscale].&]
|
||||
[s3; &]
|
||||
[s4;%- &]
|
||||
[s5;:IsDark`(Color`):%- [@(0.0.255) bool]_[* IsDark]([_^Color^ Color]_[*@3 c])&]
|
||||
[s2; True if [%-*@3 c] grayscale level is lower than 80.&]
|
||||
[s3; &]
|
||||
[s4;%- &]
|
||||
[s5;:IsLight`(Color`):%- [@(0.0.255) bool]_[* IsLight]([_^Color^ Color]_[*@3 c])&]
|
||||
[s2; True if [%-*@3 c] grayscale is higher than 175 (255 `- 80).&]
|
||||
[s3; &]
|
||||
[s4;%- &]
|
||||
[s5;:StraightColor`(RGBA`):%- [_^Color^ Color]_[* StraightColor]([_^RGBA^ RGBA]_[*@3 rgba])&]
|
||||
[s2; Converts a RGBA structure [%-*@3 rgba] to a [* Color].&]
|
||||
[s3; &]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue