Hide Comments
Hide Comments

ParseColorInterpolation(String,TSVGColorInterpolation,Boolean) Method

Comments (0)

Parses the input string for a color interpolation, which specifies the color space for gradient interpolations and alpha compositing. The allowable values are auto | sRGB | linearRGB | inherit.

Namespace: RSSVGUtils

expandingSyntax

Delphi

 function ParseColorInterpolation( S: String; DefValue: TSVGColorInterpolation; var Inherits: Boolean ): TSVGColorInterpolation;
 

Parameters

S

Type: String

DefValue

Type: TSVGColorInterpolation

Inherits

Type: Boolean

Return Value

Type: TSVGColorInterpolation

expandingRemarks

If the string is blank, the function returns the default value ( DefValue). If the string contains 'inherits', the function returns the default value and sets the Inherits parameter to true.



auto

Indicates that the user agent can choose either the sRGB or linearRGB spaces for color interpolation. This option indicates that the author doesn't require that color interpolation occur in a particular color space.

sRGB

Indicates that color interpolation should occur in the sRGB color space

linearRGB

Indicates that color interpolation should occur in the linearized RGB color space

expandingSee Also

Reference

Comments (0)

RiverSoftAVG SVG Component Library (RSCL) © 2013-2015, Thomas G. Grubb