Rectangle2D

Element Information

Model

Attributes

Used By

Source

<xs:element name="Rectangle2D">
  <xs:annotation>
    <xs:appinfo>
      <xs:attribute name="componentName" type="xs:NMTOKEN" fixed="Geometry2D"/>
      <xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="1"/>
    </xs:appinfo>
    <xs:documentation source="http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/geometry2D.html#Rectangle2D"/>
  </xs:annotation>
  <xs:complexType>
    <xs:complexContent>
      <xs:extension base="X3DGeometryNode">
        <xs:attribute name="size" type="SFVec2f" default="2 2">
          <xs:annotation>
            <xs:appinfo>
              <xs:minExclusive value="0"/>
            </xs:appinfo>
          </xs:annotation>
        </xs:attribute>
        <xs:attribute name="solid" type="SFBool" default="false"/>
        <xs:attribute name="containerField" type="xs:NMTOKEN" default="geometry"/>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
</xs:element>

Sample