GridInflection

Beschreibung

Ein GridInflection-Element definiert einen Stil für einen Grid-Flexionspunkt. Ein Grid-Flexionspunkt gibt an, dass eine Zelle mit dem bestimmten Wert mit der angegebenen Farbe gerendert werden sollte.

Context

Tabelle 1 listet die Elemente auf, die ein GridInflection-Element enthalten oder in diesem enthalten sein können.

Tabelle 1. Context
Enthalten in Element Enthält

GridInflectionList

GridInflection

(leer)

Attribute

Tabelle 2 listet die Attribute eines GridInflection-Elements auf.

Tabelle 2. Attribute
Attribut Beschreibung

value

Ein Gleitpunktwert, der den Wert des Grid-Flexionspunkt angibt.

Anmerkung: Dieses Attribut ist erforderlich.

color

Ein Zeichenfolgenwert, der die Farbe des Grid-Flexionspunkt angibt.

Der Wert kann jede gültige CSS-Farbe sein. (Siehe http://www.w3.org/TR/REC-CSS1#color-units.)

Anmerkung: Dieses Attribut ist erforderlich.

Beispiel

Dieses Beispiel zeigt einen Grid-Bildstil, der eine Sammlung von drei Grid-Flexionspunkten enthält.



<?xml version="1.0" encoding="UTF-8"?>
<NamedStyle
    version="MXP_WorkSpace_1_5"
    xmlns="http://www.mapinfo.com/mxp">
    <GridStyle
        id="migridstyle"
        name="migridstyle"
        contrast="0.5"
        brightness="0.5"
        opacity="1"
        grayscale="false"
        show-hillshade="false"
        null-color="black"
        null-transparent="true"/>
        <GridInflectionList>
            <GridInflection
                value="0.4"
                color="yellow"/>
            <GridInflection
                value="0.5"
                color="green"/>
            <GridInflection
                value="0.6"
                color="blue"/>
        </GridInflectionList>
    </GridStyle>
</NamedStyle>