HslColor Class
HSL.When the object is serialized out as xml, its qualified name is p:hsl.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.Presentation.HslColor
Namespace: DocumentFormat.OpenXml.Presentation
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Декларация
Public Class HslColor _
Inherits OpenXmlLeafElement
'Применение
Dim instance As HslColor
public class HslColor : OpenXmlLeafElement
Remarks
[ISO/IEC 29500-1 редакция 1]
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. Приведенный выше текст переведен с английского языка на русский корпорацией Майкрософт (или ее подрядчиками) и ISO не несет ответственности за эти переводы.
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.