IColorFormat

IColorFormat 接口

表示在演示文稿中使用的颜色。

public interface IColorFormat : IFillParamSource

属性

名称描述
AsIFillParamSource { get; }返回 IFillParamSource 接口。只读 IFillParamSource
B { get; set; }返回或设置颜色的蓝色分量。所有颜色变换被忽略。读写 Byte。
Color { get; set; }返回应用所有颜色变换后的结果颜色。设置 RGB 颜色并清除所有颜色变换。读写 Color。
ColorTransform { get; }返回应用于颜色的颜色变换集合。只读 IColorOperationCollection
ColorType { get; set; }返回或设置颜色定义方法。读写 ColorType
FloatB { get; set; }返回或设置颜色的蓝色分量。所有颜色变换被忽略。读写 Single。
FloatG { get; set; }返回或设置颜色的绿色分量。所有颜色变换被忽略。读写 Single。
FloatR { get; set; }返回或设置颜色的红色分量。所有颜色变换被忽略。读写 Single。
G { get; set; }返回或设置颜色的绿色分量。所有颜色变换被忽略。读写 Byte。
Hue { get; set; }返回或设置颜色在 HSL 表示中的色调分量。所有颜色变换被忽略。读写 Single。
Luminance { get; set; }返回或设置颜色在 HSL 表示中的亮度分量。所有颜色变换被忽略。读写 Single。
PresetColor { get; set; }返回或设置颜色预设。读写 PresetColor
R { get; set; }返回或设置颜色的红色分量。所有颜色变换被忽略。读写 Byte。
Saturation { get; set; }返回或设置颜色在 HSL 表示中的饱和度分量。所有颜色变换被忽略。读写 Single。
SchemeColor { get; set; }返回或设置由颜色方案标识的颜色。读写 SchemeColor
SystemColor { get; set; }返回或设置由系统颜色表标识的颜色。读写 SystemColor

方法

名称描述
CopyFrom(IColorFormat)从 “color” 复制颜色格式。
ToString(ColorStringFormat)返回一个表示当前颜色格式的字符串。

另请参阅