Hide Comments
Hide Comments

ParseFillRule(String,TSVGFillRule,Boolean) Method

Comments (0)

Parses the input string for a fill rule value, which indicates the algorithm which is to be used to determine what parts of the canvas are included inside the shape. For a simple, non- intersecting path, it is intuitively clear what region lies " inside"; however, for a more complex path, such as a path that intersects itself or where one subpath encloses another, the interpretation of "inside" is not so obvious.

The allowable inputs are nonzero | evenodd | inherit
 

Namespace: RSSVGUtils

expandingSyntax

Delphi

 function ParseFillRule( S: String; DefValue: TSVGFillRule; var Inherits: Boolean ): TSVGFillRule;
 

Parameters

S

Type: String

DefValue

Type: TSVGFillRule

Inherits

Type: Boolean

Return Value

Type: TSVGFillRule

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.

expandingSee Also

Reference

Comments (0)

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