Parses the input string for a shape rendering, which provides a hint to the SVG library about what tradeoffs to make as it renders vector graphics elements such as path elements and basic shapes such as circles and rectangles. The allowable values are auto | optimizeSpeed | crispEdges | geometricPrecision | inherit
Namespace: FMX.RS.SVGUtils
Delphi |
function ParseShapeRendering( S: String; DefValue: TSVGShapeRendering; var Inherits: Boolean ): TSVGShapeRendering; |
Parameters
S
Type: String
DefValue
Type: TSVGShapeRendering
Inherits
Type: Boolean
Type: TSVGShapeRendering
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. |
Reference |