Class ExcelColorTransformCollection¶
Namespace: OfficeOpenXml.Drawing.Style.Coloring
Assembly: EPPlus.dll
Color transformation
Inheritance¶
object ← ExcelColorTransformCollection
Implements¶
IEnumerable
IEnumerable<IColorTransformItem>
Inherited Members¶
object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object?, object?)
object.ToString()
Properties¶
Count¶
Number of items in the collection
Property Value¶
this[int]¶
Indexer for the colletion
Property Value¶
Methods¶
AddAlpha(double)¶
The opacity as expressed by a percentage value Alpha equals 100-Transparancy
Parameters¶
value double
The alpha value in percentage 0-100
AddAlphaModulation(double)¶
Specifies a more or less opaque version of its input color Alpha equals 100-Transparancy
Parameters¶
value double
The alpha modulation in a positive percentage
AddAlphaOffset(double)¶
Adds an alpha offset value.
Parameters¶
value double
The tint percentage. From 0-100
AddBlue(double)¶
Specifies the input color with the specific blue component
Parameters¶
value double
The blue value
AddBlueModulation(double)¶
Specifies the blue component as expressed by a percentage relative to the input color component
Parameters¶
value double
The blue modulation value
AddBlueOffset(double)¶
Specifies the blue component as expressed by a percentage offset increase or decrease to the input color component
Parameters¶
value double
The blue offset value.
AddComplement()¶
Specifies that the color rendered should be the complement of its input color with the complement being defined as such. Two colors are called complementary if, when mixed they produce a shade of grey.For instance, the complement of red which is RGB (255, 0, 0) is cyan which is RGB(0, 255, 255)
AddGamma()¶
Specifies that the output color rendered by the generating application should be the sRGB gamma shift of the input color.
AddGray()¶
Specifies a grayscale of its input color, taking into relative intensities of the red, green, and blue primaries.
AddGreen(double)¶
Specifies the input color with the specific green component
Parameters¶
value double
The green value
AddGreenModulation(double)¶
Specifies the green component as expressed by a percentage relative to the input color component
Parameters¶
value double
The green modulation value
AddGreenOffset(double)¶
Specifies the green component as expressed by a percentage offset increase or decrease to the input color component
Parameters¶
value double
The green offset value.
AddHue(double)¶
Specifies the input color with the specified hue, but with its saturation and luminance unchanged
Parameters¶
value double
The hue angle from 0-360
AddHueModulation(double)¶
Specifies the hue as expressed by a percentage relative to the input color
Parameters¶
value double
The hue modulation in a positive percentage
AddHueOffset(double)¶
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.
Parameters¶
value double
The hue offset value.
AddInverse()¶
Specifies the inverse of its input color
AddInverseGamma()¶
Specifies that the output color rendered by the generating application should be the inverse sRGB gamma shift of the input color
AddLuminance(double)¶
Specifies the input color with the specified luminance, but with its hue and saturation unchanged
Parameters¶
value double
The luminance percentage from 0-100
AddLuminanceModulation(double)¶
Specifies the luminance as expressed by a percentage relative to the input color
Parameters¶
value double
The luminance modulation in a positive percentage
AddLuminanceOffset(double)¶
Specifies the luminance as expressed by a percentage offset increase or decrease to the input color. Increases never increase the luminance beyond 100%, decreases never decrease the saturation below 0%.
Parameters¶
value double
The luminance offset value
AddRed(double)¶
Specifies the input color with the specific red component
Parameters¶
value double
The red value
AddRedModulation(double)¶
Specifies the red component as expressed by a percentage relative to the input color component
Parameters¶
value double
The red modulation value
AddRedOffset(double)¶
Specifies the red component as expressed by a percentage offset increase or decrease to the input color component
Parameters¶
value double
The red offset value.
AddSaturation(double)¶
Specifies the input color with the specified saturation, but with its hue and luminance unchanged
Parameters¶
value double
The saturation percentage from 0-100
AddSaturationModulation(double)¶
Specifies the saturation as expressed by a percentage relative to the input color
Parameters¶
value double
The saturation modulation in a positive percentage
AddSaturationOffset(double)¶
Specifies the saturation as expressed by a percentage offset increase or decrease to the input color. Increases never increase the saturation beyond 100%, decreases never decrease the saturation below 0%.
Parameters¶
value double
The saturation offset value
AddShade(double)¶
Specifies a lighter version of its input color
Parameters¶
value double
The tint value in percentage 0-100
AddTint(double)¶
Specifies a lighter version of its input color
Parameters¶
value double
The tint value in percentage 0-100
Clear()¶
Clear all items
GetEnumerator()¶
Gets the enumerator for the collection
Returns¶
IEnumerator<IColorTransformItem>
The enumerator
Remove(IColorTransformItem)¶
Removes the specific item
Parameters¶
item IColorTransformItem
The item to remove
RemoveAt(int)¶
Remote item at a specific position
Parameters¶
index int
The postion in the list
RemoveOfType(eColorTransformType)¶
Remove all items of a specific type
Parameters¶
type eColorTransformType
The transformation type