共用方式為


EffectColorList Class

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

Inheritance Hierarchy

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

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

Syntax

'Declaration
Public Class EffectColorList _
    Inherits ColorsType
'Usage
Dim instance As EffectColorList
public class EffectColorList : 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.7 effectClrLst (Effect Color List)

This element defines a list of colors applied to effects within a color transform.

[Example: Consider the following example of an effectClrLst in DiagramML:

<dgm:effectClrLst meth="repeat">
<a:schemeClr val="dk2">
<a:tint val="60000"/>
</a:schemeClr>
</dgm:effectClrLst>

In this example we see a single color defined in the effectClrLst, more specifically we see a scheme color being utilized with a tint applied to the color. 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

EffectColorList Members

DocumentFormat.OpenXml.Drawing.Diagrams Namespace