Java Reference
In-Depth Information
<xsd:element name="color" type="ColorType"/>
<xsd:element name="position" type="PointType"/>
<xsd:element name="bounds" type="BoundsType"/>
<xsd:element name="point" type="PathPointType" minOccurs="1"
maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="angle" type="xsd:double" use="required"/>
</xsd:complexType>
<!--Type for a sketch text element -->
<xsd:complexType name="TextType">
<xsd:sequence>
<xsd:element name="color" type="ColorType"/>
<xsd:element name="position" type="PointType"/>
<xsd:element name="bounds" type="BoundsType"/>
<xsd:element name="font" type="FontType"/>
<xsd:element name="string" type="xsd:string"/>
</xsd:sequence>
<xsd:attribute name="angle" type="xsd:double" use="required"/>
<xsd:attribute name="maxascent" type="xsd:integer" use="required"/>
</xsd:complexType>
<!--Type for a font element -->
<xsd:complexType name="FontType">
<xsd:attribute name="fontname" type="xsd:string" use="required"/>
<xsd:attribute name="fontstyle" use="required">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="plain"/>
<xsd:enumeration value="bold"/>
<xsd:enumeration value="italic"/>
<xsd:enumeration value="bold-italic"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
</xsd:complexType>
<!--Type for elements representing points -->
<xsd:complexType name="PointType">
<xsd:attributeGroup ref="coords"/>
</xsd:complexType>
<!--Type for elements representing points in a general path -->
<xsd:complexType name="PathPointType">
<xsd:attribute name="x" type="xsd:double" use="required"/>
<xsd:attribute name="y" type="xsd:double" use="required"/>
</xsd:complexType>
<!--Type for a color element -->
<xsd:complexType name="ColorType">
<xsd:attribute name="R" type="xsd:nonNegativeInteger" use="required"/>
<xsd:attribute name="G" type="xsd:nonNegativeInteger" use="required"/>
<xsd:attribute name="B" type="xsd:nonNegativeInteger" use="required"/>
</xsd:complexType>
<!--Attribute group for an x,y integer coordinate pair -->
Search WWH ::




Custom Search