Update Paint.ToHTML wiki help
[GB.WEB.GUI] * OPT: Explain in help that Color.ToHTML() will return text only useable with CSS style assignments if alpha is used.
This commit is contained in:
parent
892d2a7ab6
commit
299f0b3232
1 changed files with 3 additions and 2 deletions
|
@ -67,9 +67,10 @@ Static Public Sub RGB((Red) As Integer, (Green) As Integer, (Blue) As Integer, O
|
|||
|
||||
End
|
||||
|
||||
'' Convert a gambas colour integer into HTML compliant code.
|
||||
'' Convert a gambas colour integer into HTML CSS compliant code.
|
||||
''
|
||||
'' The resulting string will be either a hash prefixed hex value. eg. '#00FF00' or an rgba() call with integer values if alpha (transparency) is set. eg. 'rgba(0,128,255,0.75)'
|
||||
'' The resulting string will be either a hash prefixed hex value. eg. '#00FF00' that can be used anywhere or an rgba() string with integer values if alpha (transparency) is set. eg. 'rgba(0,128,255,0.75)' that should only be used in css **style** assignments.
|
||||
''
|
||||
Static Public Sub ToHTML({Color} As Integer) As String
|
||||
|
||||
Return WebForm._GetColor({Color})
|
||||
|
|
Loading…
Reference in a new issue