< prev | next >

textStyle < Tags < Home

<textStyle>

The <textStyle> tag specifies the appearance of text in a visual element. The <textStyle> tag is currently used within a <contour> or <observation> tag. Color, font, size, and style may be specified with a <textStyle>.

Attributes

attribute

default

description

color

Defined by the parent of the <textStyle> tag.

The color of the text.

font

"standard"

The font type.

size

"8" for Windows, "9" for Macintosh

The font size, in points.

style

"plain"

The style of the text, (bold, italic, underline).

Children

None.

Examples

<contour>
  <data src="latest.mdf" param="TAIR"/>
  <lineStyle color="#FF0000"/>
  <textStyle color="#FF0000" font="serif"/>
</contour>
         
<observation>
  <data src="latest.mdf" param="TDEW"/>
  <textStyle color="#00FF00" font="sansSerif" size="16"
    style="bold+italic"/>
</observation>
         
<contour>
  <data src="latest.mdf" param="RELH"/>
  <lineStyle color="#0000FF"/>
  <textStyle/>
</contour>

Confidential. Copyright © 2002, Oklahoma Climatological Survey. All Rights Reserved.
Send questions or comments concerning this web page to
wolfie@ou.edu.