Freigeben über


Complement-Klasse

Complement.When the object is serialized out as xml, its qualified name is a:comp.

Vererbungshierarchie

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Drawing.Complement

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

Syntax

'Declaration
Public Class Complement _
    Inherits OpenXmlLeafElement
'Usage
Dim instance As Complement
public class Complement : OpenXmlLeafElement

Hinweise

[ISO/IEC 29500-1 1. Ausgabe]

20.1.2.3.7 comp (Complement)

This element specifies that the color rendered should be the complement of its input color with the complement being defined as such. Two colors are called complementary if, when mixed they produce a shade of grey. For instance, the complement of red which is RGB (255, 0, 0) is cyan which is RGB (0, 255, 255).

Primary colors and secondary colors are typically paired in this way:

  • red and cyan (where cyan is the mixture of green and blue)

  • green and magenta (where magenta is the mixture of red and blue)

  • blue and yellow (where yellow is the mixture of red and green)

[Example:

The following represents the complement of red:

<a:solidFill>
<a:srgbClr val="FF0000">
<a:comp/>
</a:srgbClr>
</a:solidFill>

end example]

Parent Elements

hslClr (§20.1.2.3.13); prstClr (§20.1.2.3.22); schemeClr (§20.1.2.3.29); scrgbClr (§20.1.2.3.30); srgbClr (§20.1.2.3.32); sysClr (§20.1.2.3.33)

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

© ISO/IEC29500: 2008. Die oben aufgeführten Textauszüge wurden von Microsoft (und/oder den Microsoft-Vendoren) von Englisch nach Deutsch übersetzt, und im Rahmen von ISO wird keinerlei Verantwortung für diese Übersetzungen übernommen.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Siehe auch

Referenz

Complement-Member

DocumentFormat.OpenXml.Drawing-Namespace