<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/wiki/CustomLabel:isSchematicalColor?action=history&amp;feed=atom</id>
	<title>CustomLabel:isSchematicalColor - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/wiki/CustomLabel:isSchematicalColor?action=history&amp;feed=atom"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=CustomLabel:isSchematicalColor&amp;action=history"/>
	<updated>2026-04-03T19:10:42Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=CustomLabel:isSchematicalColor&amp;diff=58062&amp;oldid=prev</id>
		<title>AriosJentu: Created page with &quot;__NOTOC__ {{Client function}} This function gets - is Label has property of color of color scheme. More at CustomLabel:setSchematicalColor.  == Syntax == &lt;syntaxhighlight...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=CustomLabel:isSchematicalColor&amp;diff=58062&amp;oldid=prev"/>
		<updated>2018-08-14T09:05:49Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;__NOTOC__ {{Client function}} This function gets - is Label has property of color of color scheme. More at &lt;a href=&quot;/wiki/CustomLabel:setSchematicalColor&quot; title=&quot;CustomLabel:setSchematicalColor&quot;&gt;CustomLabel:setSchematicalColor&lt;/a&gt;.  == Syntax == &amp;lt;syntaxhighlight...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client function}}&lt;br /&gt;
This function gets - is Label has property of color of color scheme. More at [[CustomLabel:setSchematicalColor]].&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool CustomLabel:isSchematicalColor()&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Returns === &lt;br /&gt;
Returns boolean value - is color depends with color scheme.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
[[Image:LabelExampleDark.png|thumb|right|Code Example for Dark Theme]]&lt;br /&gt;
[[Image:LabelExampleLight.png|thumb|right|Code Example for Light Theme]]&lt;br /&gt;
This example creates three labels with different styles - Default (Dark/Light by Color Scheme), Hoverable (When mouse entering, color sets to Schematic), and Colored (Using auto changeable color of current Scheme):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local Window = CustomWindow.create(50, 50, 150, 115, &amp;quot;Example&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
local Label = CustomLabel.create(5, 25, 140, 25, &amp;quot;Default Label&amp;quot;, false, Window)&lt;br /&gt;
local LabelHoverable = CustomLabel.create(5, 55, 140, 25, &amp;quot;Hoverable Label&amp;quot;, false, Window)&lt;br /&gt;
local LabelColored = CustomLabel.create(5, 85, 140, 25, &amp;quot;Colored Label&amp;quot;, false, Window)&lt;br /&gt;
&lt;br /&gt;
LabelHoverable:setHoverable(true)&lt;br /&gt;
LabelColored:setSchematicalColor(true)&lt;br /&gt;
&lt;br /&gt;
Window:setColorScheme(Themes.Dark.Red)&lt;br /&gt;
Window:setCloseEnabled(true)&lt;br /&gt;
&lt;br /&gt;
LabelHoverable:addEvent(&amp;quot;onClientGUIClick&amp;quot;, function()&lt;br /&gt;
	Window:setColorScheme(Themes.Light.Red)&lt;br /&gt;
end)&lt;br /&gt;
&lt;br /&gt;
LabelColored:addEvent(&amp;quot;onClientGUIClick&amp;quot;, function()&lt;br /&gt;
	Window:setColorScheme(Themes.Dark.Red)&lt;br /&gt;
end)&lt;br /&gt;
&lt;br /&gt;
outputChatBox(LabelHoverable:isSchematicalColor())&lt;br /&gt;
outputChatBox(LabelColored:isSchematicalColor())&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
{{CWSFUNCS}}&lt;/div&gt;</summary>
		<author><name>AriosJentu</name></author>
	</entry>
</feed>