Garry's Mod Wiki

DTextEntry:GetTextColor

DTextEntry:GetTextColor

  table DTextEntry:GetTextColor()

Description

Returns the text color of a DTextEntry.

Returns

1 table
The color of the text as a Color.

Example

local TextEntry = vgui.Create( "DTextEntry" ) TextEntry:SetTextColor( Color( 255, 0, 0, 255 )) PrintTable( TextEntry:GetTextColor() )
Output: Prints the R, G, B and A of the text color.

Special Pages


Wikis

?

Render Time: 41ms

DB GetPage 23
Generate Html 2
SaveChanges (1) 5
Render Body 0
Render Sidebar 7