English
Functions and Help

function: rgb

 
long = rgb ( r, g, b [, a ] )

supply whom Farbwert for colour ruddy,green,blue and optional alpha.

rgb
rgb.getrvalue
rgb.getgvalue
rgb.getbvalue
rgb.getavalue

Info: a=alpha=Durchsichtigkeit: 0=unsichtbar, 255=sichtbar

example:
cls rgb(0,0,0)// deletes actually screen Black
cls rgb(0,0,0,128)// deletes actually screen Black semi transparent
cls rgb(255,255,255,128)// deletes actually screen white transparent

Keywords: rgb,getavalue,getbvalue,getgvalue,getrvalue

 
11/29/14  
 



function umbenannt of rgba To rgb. of course can immernoch whom 4. Param Alpha/Transluzenz indicate but the a behind rgb is imho affig and the Funktionsbezeichung rgb kennen we Yes any.
 
12/02/14  
 



Änderung in the Prdgma for Alpha: a=alpha=Durchsichtigkeit: 0=undurchsichtig,255=vollständig transparent
 
12/26/14  
 



The function resolve too The functions getrvalue, getgvalue, getbvalue and getavalue ex:

function RGB benefit around the R, G, B or A-worth of/ one colour To detect:

The function rgb can't only uses to be a RGB[A]-worth To Generate separate too around the R,G,B or A-worth of/ one colour To detect.

For this, are The Parameter r,g,b with the worth zero (not 0!) To fill, außgenommen the Parameter, for one whom share zurückerhalten would like.

want one in example whom Rotanteil of/ one colour receive:

print rgb(col,zero,zero) //rgb(col) goes too

Grünanteil:

print rgb(zero,col,zero) //rgb(zero,col) goes too

Blauanteil:

print rgb(zero,zero,col)

Alphaanteil:

print rgb(zero,zero,zero,col)

accordingly are The 4 functions getrvalue, getgvalue, getbvalue and getavalue unnecessary become and get removes.
 
01/06/15  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

6.460 Views

Untitledvor 0 min.
isar109/18/16
maroro08/16/16
Nico Madysa03/28/16
Micha1233402/14/16
More...

Themeninformationen

this Topic has 1 subscriber:

iF (4x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie