Hide Comments
Hide Comments

ParseColorRendering(String,TSVGColorRendering,Boolean) Method

Comments (0)

Parses the input string for a color rendering, which provides a hint to the SVG library about how to optimize its color interpolation and compositing operations. The allowable values are auto | optimizeSpeed | optimizeQuality | inherit

Namespace: FMX.RS.SVGUtils

expandingSyntax

Delphi

 function ParseColorRendering( S: String; DefValue: TSVGColorRendering; var Inherits: Boolean ): TSVGColorRendering;
 

Parameters

S

Type: String

DefValue

Type: TSVGColorRendering

Inherits

Type: Boolean

Return Value

Type: TSVGColorRendering

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 RSCL shall make appropriate tradeoffs to balance speed and quality, but quality shall be given more importance than speed.

optimizeSpeed

Indicates that the RSCL shall emphasize rendering speed over quality. For RGB display devices, this option will sometimes cause the user agent to perform color interpolation and compositing in the device RGB color space

optimizeQuality

Indicates that the RSCL shall emphasize quality over rendering speed.

expandingSee Also

Reference

Comments (0)

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