SKColorSpaceTransferFn
Struct
Definition
Represents the coefficients for a common transfer function equation.
public struct SKColorSpaceTransferFn
 Inheritance

SKColorSpaceTransferFn
Remarks
The coefficients are specified as a transformation from a curved space to linear.
LinearVal = C*InputVal + F; (for 0.0f <= InputVal < D)
LinearVal = (A*InputVal + B)^G + E; (for D <= InputVal <= 1.0f)
Function is undefined if InputVal is not in [ 0.0f, 1.0f ].
Resulting LinearVals must be in [ 0.0f, 1.0f ].
Function must be positive and increasing.
Constructors
SKColorSpaceTransferFn(Single[]) 
Creates a new instance of SKColorSpaceTransferFn. 
SKColorSpaceTransferFn(Single, Single, Single, Single, Single, Single, Single) 
Creates a new instance of SKColorSpaceTransferFn. 
Properties
A 
Gets or sets the A coefficient. 
B 
Gets or sets the B coefficient. 
C 
Gets or sets the C coefficient. 
D 
Gets or sets the D coefficient. 
E 
Gets or sets the E coefficient. 
F 
Gets or sets the F coefficient. 
G 
Gets or sets the G coefficient. 
Values 
Gets the coefficients as an array with the form [G, A, B, C, D, E, F]. 
Methods
Invert() 
Inverts coefficients for a common transfer function equation. 
Transform(Single) 
Transform a single input by this transfer function. 