User Tools

Site Tools


prpl:settextcolor

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

prpl:settextcolor [2016/12/02 18:33] – created - external edit 127.0.0.1prpl:settextcolor [2023/08/07 13:01] (current) – [SetTextColor ] Added the arguments, result, notation, description and another example SpeedCZ
Line 1: Line 1:
 <- [[.:prplreference| PRPL reference]] <- [[.:prplreference#everything_else_2|Everything Else 2]] <- [[.:prplreference| PRPL reference]] <- [[.:prplreference#everything_else_2|Everything Else 2]]
  
-=====  SETTEXTCOLOR  =====+=====  SetTextColor =====
  
 ^Arguments^Result^Notation^ ^Arguments^Result^Notation^
-| | | [ - ] |+Red Green Blue Alpha | | [ Int Int Int Int- ] |
  
  
 === Description === === Description ===
 +Sets the text color and alpha (transparency)
 === Examples === === Examples ===
 +<code>"I am red" SetText
 +255 0 0 255 SetTextColor #makes the text red
 +</code>
 +
 <code> i4 = GetIntFromStack();  // alpha  <code> i4 = GetIntFromStack();  // alpha 
  i3 = GetIntFromStack();  // blue   i3 = GetIntFromStack();  // blue 
prpl/settextcolor.txt · Last modified: 2023/08/07 13:01 by SpeedCZ