http://www.yworks.com/xml/graphml
complexType Label.type

Super Types
{http://www.w3.org/2001/XMLSchema}anyType
|
+--{http://www.yworks.com/xml/graphml}Label.type (restriction)

Documentation
Complex type that describes the common attributes of node and edge labels.
Properties
This component is not nillable.

Model
<...
  alignment = alignment.type
  backgroundColor = color.type
  fontFamily = xs:string
  fontSize = xs:unsignedByte
  fontStyle = fontStyle.type
  hasBackgroundColor = xs:boolean
  hasLineColor = xs:boolean
  height = xs:double
  horizontalTextPosition = horizontalTextPosition.type
  icon = xs:anyURI
  iconData = xs:string
  iconTextGap = xs:byte
  image = xs:string
  lineColor = color.type
  rotationAngle = xs:double
  textColor = color.type
  underlinedText = xs:boolean
  verticalTextPosition = verticalTextPosition.type
  visible = xs:boolean
  width = xs:double
  x = xs:double
  y = xs:double>
string
</...>


Attribute Summary
 alignment.typealignment
           The alignment of the label.  
 color.typebackgroundColor
           The background color of the label's content rectangle.  
 xs:stringfontFamily
           The font family for the label text.  
 xs:unsignedBytefontSize
           The font size for the label text.  
 fontStyle.typefontStyle
           The font style for the label text.  
 xs:booleanhasBackgroundColor
           Whether the label background should be painted.  
 xs:booleanhasLineColor
           Whether the label border should be painted.  
 xs:doubleheight
           The height of the rectangle.  
 horizontalTextPosition.typehorizontalTextPosition
           The horizontal text position wrt to an optional icon.  
 xs:anyURIicon
           The URL of an icon for the label.  
 xs:stringiconData
           Reference to an embedded arbitrary serializable resource.  
 xs:byteiconTextGap
           The distance between the label text and an optional icon.  
 xs:stringimage
           Reference to an embedded image resource.  
 color.typelineColor
           The border color of the label's content rectangle.  
 xs:doublerotationAngle
           The rotation angle style for the label.  
 color.typetextColor
           The text color of the label.  
 xs:booleanunderlinedText
           Whether to underline the label text.  
 verticalTextPosition.typeverticalTextPosition
           The vertical text position wrt to an optional icon.  
 xs:booleanvisible
           Whether the label is visible or not.  
 xs:doublewidth
           The width of the rectangle.  
 xs:doublex
           The x coordinate of the rectangle.  
 xs:doubley
           The y coordinate of the rectangle.  

Attribute Detail

alignment

The alignment of the label.

Type:
alignment.type
Use:
optional
Form:
unqualified

backgroundColor

The background color of the label's content rectangle.

Type:
color.type
Use:
optional
Form:
unqualified

fontFamily

The font family for the label text.

Type:
xs:string
Use:
optional
Form:
unqualified

fontSize

The font size for the label text.

Type:
xs:unsignedByte
Use:
optional
Form:
unqualified

fontStyle

The font style for the label text.

Type:
fontStyle.type
Use:
optional
Form:
unqualified

hasBackgroundColor

Whether the label background should be painted.

Type:
xs:boolean
Use:
optional
Form:
unqualified

hasLineColor

Whether the label border should be painted.

Type:
xs:boolean
Use:
optional
Form:
unqualified

height

The height of the rectangle.

Type:
xs:double
Use:
optional
Form:
unqualified

horizontalTextPosition

The horizontal text position wrt to an optional icon.

Type:
horizontalTextPosition.type
Use:
optional
Form:
unqualified

icon

The URL of an icon for the label.

Type:
xs:anyURI
Use:
optional
Form:
unqualified

iconData

Reference to an embedded arbitrary serializable resource.

Type:
xs:string
Use:
optional
Form:
unqualified

iconTextGap

The distance between the label text and an optional icon.

Type:
xs:byte
Use:
optional
Form:
unqualified

image

Reference to an embedded image resource.

Type:
xs:string
Use:
optional
Form:
unqualified

lineColor

The border color of the label's content rectangle.

Type:
color.type
Use:
optional
Form:
unqualified

rotationAngle

The rotation angle style for the label.

Type:
xs:double
Use:
optional
Form:
unqualified

textColor

The text color of the label.

Type:
color.type
Use:
optional
Form:
unqualified

underlinedText

Whether to underline the label text.

Type:
xs:boolean
Use:
optional
Form:
unqualified

verticalTextPosition

The vertical text position wrt to an optional icon.

Type:
verticalTextPosition.type
Use:
optional
Form:
unqualified

visible

Whether the label is visible or not.

Type:
xs:boolean
Use:
optional
Form:
unqualified

width

The width of the rectangle.

Type:
xs:double
Use:
optional
Form:
unqualified

x

The x coordinate of the rectangle.

Type:
xs:double
Use:
optional
Form:
unqualified

y

The y coordinate of the rectangle.

Type:
xs:double
Use:
optional
Form:
unqualified

Source
<xs:complexType name="Label.type">
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attributeGroup ref="OpRectangle.group"/>
<xs:attribute name="visible" type="xs:boolean" use="optional">
</xs:attribute>
<xs:attribute name="alignment" type="alignment.type" use="optional">
</xs:attribute>
<xs:attribute name="textColor" type="color.type" use="optional">
</xs:attribute>
<xs:attribute name="lineColor" type="color.type" use="optional">
</xs:attribute>
<xs:attribute name="hasLineColor" type="xs:boolean" use="optional">
</xs:attribute>
<xs:attribute name="backgroundColor" type="color.type" use="optional">
</xs:attribute>
<xs:attribute name="hasBackgroundColor" type="xs:boolean" use="optional">
</xs:attribute>
<xs:attribute name="fontFamily" type="xs:string" use="optional">
</xs:attribute>
<xs:attribute name="fontSize" type="xs:unsignedByte" use="optional">
</xs:attribute>
<xs:attribute name="fontStyle" type="fontStyle.type" use="optional">
</xs:attribute>
<xs:attribute name="rotationAngle" type="xs:double" use="optional">
</xs:attribute>
<xs:attribute name="icon" type="xs:anyURI" use="optional">
</xs:attribute>
<xs:attribute name="image" type="xs:string" use="optional">
</xs:attribute>
<xs:attribute name="iconData" type="xs:string" use="optional">
</xs:attribute>
<xs:attribute name="underlinedText" type="xs:boolean" use="optional">
</xs:attribute>
<xs:attribute name="horizontalTextPosition" type="horizontalTextPosition.type" use="optional">
</xs:attribute>
<xs:attribute name="verticalTextPosition" type="verticalTextPosition.type" use="optional">
</xs:attribute>
<xs:attribute name="iconTextGap" type="xs:byte" use="optional">
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>


© Copyright 2000-2009, yWorks GmbH. All rights reserved.