Share via


FillColorList Class

Fill Color List.When the object is serialized out as xml, its qualified name is dgm:fillClrLst.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Drawing.Diagrams.ColorsType
        DocumentFormat.OpenXml.Drawing.Diagrams.FillColorList

Namespace:  DocumentFormat.OpenXml.Drawing.Diagrams
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public Class FillColorList _
    Inherits ColorsType
'Usage
Dim instance As FillColorList
public class FillColorList : ColorsType

Remarks

The following table lists the possible child types:

  • DocumentFormat.OpenXml.Drawing.RgbColorModelPercentage <a:scrgbClr>

  • DocumentFormat.OpenXml.Drawing.RgbColorModelHex <a:srgbClr>

  • DocumentFormat.OpenXml.Drawing.HslColor <a:hslClr>

  • DocumentFormat.OpenXml.Drawing.SystemColor <a:sysClr>

  • DocumentFormat.OpenXml.Drawing.SchemeColor <a:schemeClr>

  • DocumentFormat.OpenXml.Drawing.PresetColor <a:prstClr>

[ISO/IEC 29500-1 1st Edition]

21.4.4.8 fillClrLst (Fill Color List)

This element defines a list of colors which are used as fill colors in the color transform. The fill colors define the color of the nodes in a diagram.

[Example: Consider the following example of a fillClrLst in DiagramML:

<dgm:fillClrLst meth="repeat">
     <a:schemeClr val="dk2"/>
</dgm:fillClrLst>

In this example the fillClrList contains a single scheme color and is utilizing the repeat method for color application. end example]

Parent Elements

styleLbl (§21.4.4.10)

Child Elements

Subclause

hslClr (Hue, Saturation, Luminance Color Model)

§20.1.2.3.13

prstClr (Preset Color)

§20.1.2.3.22

schemeClr (Scheme Color)

§20.1.2.3.29

scrgbClr (RGB Color Model - Percentage Variant)

§20.1.2.3.30

srgbClr (RGB Color Model - Hex Variant)

§20.1.2.3.32

sysClr (System Color)

§20.1.2.3.33

Attributes

Description

hueDir (Hue Direction)

The direction around the color wheel the hue shift (if defined) occurs.

[Example: Consider the following example of a hueDir in use:

<dgm:lnClrLst hueDir="cw" meth="repeat">
<a:schemeClr val="dk2">
<a:tint val="60000"/>
</a:schemeClr>
</dgm:lnClrLst>

In this example an lnClrLst is defined with a hue direction defined as clockwise. end example]

The possible values for this attribute are defined by the ST_HueDir simple type (§21.4.7.38).

meth (Color Application Method Type)

The method used to apply the color transform.

[Example: Consider the following example of a meth in use:

<dgm:lnClrLst hueDir="cw" meth="repeat">
<a:schemeClr val="dk2">
<a:tint val="60000"/>
</a:schemeClr>
</dgm:lnClrLst>

In this example and lnClrLst is defined using the repeat color application method. end example]

The possible values for this attribute are defined by the ST_ClrAppMethod simple type (§21.4.7.16).

[Note: The W3C XML Schema definition of this element’s content model (CT_Colors) is located in §A.5.3. end note]

© ISO/IEC29500: 2008.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

FillColorList Members

DocumentFormat.OpenXml.Drawing.Diagrams Namespace