File: ColorComponent.xsd

package info (click to toggle)
camitk 6.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 389,496 kB
  • sloc: cpp: 103,476; sh: 2,448; python: 1,618; xml: 984; makefile: 128; perl: 84; sed: 20
file content (19 lines) | stat: -rw-r--r-- 775 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?xml version="1.0" encoding="UTF-8"?>

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
            
            <xsd:simpleType name="ColorComponent">
                <xsd:annotation>
                    <xsd:documentation>
                        A color component is a double value between 0.0 and 1.0
                        0.0 = component is not added to the global color
                        1.0 = full addition of the color
                    </xsd:documentation>
                </xsd:annotation>
                <xsd:restriction base="xsd:double">
                    <xsd:minInclusive value="0.0"/>
                    <xsd:maxInclusive value="1.0"/>
                </xsd:restriction>
            </xsd:simpleType>
                    
</xsd:schema>