Difference between revisions of "Colors"
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
Petr.Bures (talk | contribs)  (Created page with "Colors in XML file are either special identifier (<code>clNone</code>, <code>clDefault</code>, <code>clRed</code>, ..) or hexadecimal definition. {| class="wikitable" |+Special color identifiers !XML Identifier !Color |- |<sup>[V]</sup> <code>clNone</code> |without color |- |<sup>[V]</sup> <code>clDefault</code> |color defined from outside |- |<sup>[V]</sup> <code>clBlack</code> |<code>$0000...")  | 
				Petr.Bures (talk | contribs)   | 
				||
| Line 1: | Line 1: | ||
Colors in XML file are either special identifier (<code>clNone</code>, <code>clDefault</code>, <code>  | Colors in XML file are either special identifier (<code>clNone</code>, <code>clDefault</code>, ...) or hexadecimal definition.  | ||
====Hexadecimal definition====  | |||
Colors are defined in the form $00BBGGRR, where <code>RR</code> (red), <code>GG</code> (green) and <code>BB</code> (blue) are components in hexa notation, <code>00</code> are zeros which can be omitted.  | |||
{| class="wikitable"  | {| class="wikitable"  | ||
|+Special color identifiers  | |+Special color identifiers  | ||
| Line 9: | Line 12: | ||
|-  | |-  | ||
|<sup>[[Legend of XML elements|[V]]]</sup> <code>clDefault</code>  | |<sup>[[Legend of XML elements|[V]]]</sup> <code>clDefault</code>  | ||
|color defined   | |color defined by another method  | ||
|-  | |-  | ||
|<sup>[[Legend of XML elements|[V]]]</sup> <code>  | |<sup>[[Legend of XML elements|[V]]]</sup> <code>clLine</code>  | ||
|<code>  | |line color defined by drawing  | ||
|-  | |||
|<sup>[[Legend of XML elements|[V]]]</sup> <code>clFill</code>  | |||
|fill color defined by drawing  | |||
|-  | |||
|<sup>[[Legend of XML elements|[V]]]</sup> <code>clHatch</code>  | |||
|hatch color defined by drawing  | |||
|}  | |}  | ||
Revision as of 11:53, 22 March 2022
Colors in XML file are either special identifier (clNone, clDefault, ...) or hexadecimal definition.
Hexadecimal definition
Colors are defined in the form $00BBGGRR, where RR (red), GG (green) and BB (blue) are components in hexa notation, 00 are zeros which can be omitted.
| XML Identifier | Color | 
|---|---|
[V] clNone
 | 
without color | 
[V] clDefault
 | 
color defined by another method | 
[V] clLine
 | 
line color defined by drawing | 
[V] clFill
 | 
fill color defined by drawing | 
[V] clHatch
 | 
hatch color defined by drawing |