Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSVclSVG > RSSVGUtils > Routines

ParseFillRule(String,TSVGFillRule,Boolean) Method

Scroll Prev Top Next More

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

Parameters

S

Type: String

Input string to parse

DefValue

Type: TSVGFillRule

Default Value. If the string is empty, the default value is returned

Inherits

Type: Boolean

Set to True when the input string contains 'inherit' keyword

Return Value

Type: TSVGFillRule

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb