Interface IHue
Namespace: IronPPT.Interfaces
Assembly: IronPPT.dll
Syntax
public interface IHue : IBaseColorField
IHue shifts the hue component of a color in a presentation. The contract represents the hue adjustment applied to a color field, the rotation around the color wheel that changes a color's tint while leaving its brightness and intensity alone. A developer works with it while fine-tuning theme colors or matching a shape's fill to a brand palette without picking a new color outright.
A hue adjustment is reached through the color it modifies rather than created on its own, so an IHue reference is usually obtained from a color and then set. Its own member is Angle, an IRotation giving the degrees of hue rotation. Because the contract extends IBaseColorField, it also carries the inherited Modulation and Offset percentages that scale and shift the adjustment. The concrete implementor in IronPPT is the Hue class, alongside its sibling adjustments Luminance and Saturation, so most code sets the hue angle through Hue directly.
hue.Angle = rotation;The add shape example styles a shape fill, and the paragraph style example covers related color work.
Properties
Angle
Declaration
IRotation Angle { get; set; }
Property Value
| Type | Description |
|---|---|
| IRotation |