Share via


HslColor-Klasse

HSL.When the object is serialized out as xml, its qualified name is p:hsl.

Vererbungshierarchie

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Presentation.HslColor

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

Syntax

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

Hinweise

[ISO/IEC 29500-1 1. Ausgabe]

19.5.46 hsl (HSL)

This element specifies an incremental HSL (Hue, Saturation, Lightness) value to add to a color animation.

[Example: Consider a shape with a lightening emphasis animation. The <hsl> element should be used as follows:

<p:animClr clrSpc="hsl">
  <p:cBhvr>
    <p:cTn id="8" dur="500" fill="hold"/>
    <p:tgtEl>
      <p:spTgt spid="4"/>
    </p:tgtEl>
    <p:attrNameLst>
      <p:attrName>stroke.color</p:attrName>
    </p:attrNameLst>
  </p:cBhvr>
  <p:by>
    <p:hsl h="0" s="0" l="0"/>
  </p:by>
</p:animClr>

end example]

Parent Elements

by (§19.5.20)

Attributes

Description

h (Hue)

Specifies hue as an angle. The values range from [0, 360] degrees.

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

l (Lightness)

Specifies a lightness as fixed percentage in 1000ths of a percent when no percent sign is included in the value or as percent when a percent sign is present. The values range from [-100%, 100%].

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

s (Saturation)

Specifies a saturation as a fixed percentage in 1000ths of a percent when no percent sign is included in the value or as percent when a percent sign is present. The values range from [-100%, 100%].

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

[Note: The W3C XML Schema definition of this element's content model (CT_TLByHslColorTransform) is located in §A.3. 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

HslColor-Member

DocumentFormat.OpenXml.Presentation-Namespace