Partager via


HueOffset Class

Hue Offset.When the object is serialized out as xml, its qualified name is a:hueOff.

Inheritance Hierarchy

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

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

Syntax

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

Remarks

[ISO/IEC 29500-1 1st Edition]

20.1.2.3.16 hueOff (Hue Offset)

This element specifies the input color with its hue shifted, but with its saturation and luminance unchanged.

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)

Attributes

Description

val (Value)

Specifies the actual angular value of the shift. The result of the shift shall be between 0 and 360 degrees. Shifts resulting in angular values less than 0 are treated as 0. Shifts resulting in angular values greater than 360 are treated as 360.

[Example:

The following increases the hue angular value by 10 degrees.

<a:solidFill>
<a:hslClr hue="0" sat="100%" lum="50%"/>
<a:hueOff val="600000"/>
</a:solidFill>

end example]

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

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

HueOffset Members

DocumentFormat.OpenXml.Drawing Namespace