Parses the input string into a overflow value, which specifies whether the content of a block-level element is clipped when it overflows the element's box (which is acting as a containing block for the content).
The allowable values are visible | hidden | scroll | auto | inherit
Namespace: FMX.RS.SVGUtils
Delphi |
function ParseOverflow( S: String; DefValue: Boolean; var Inherits: Boolean ): Boolean; |
Parameters
S
Type: String
Input string to parse
DefValue
Type: Boolean
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
Type: Boolean
The ‘overflow’ property applies to elements that establish new viewports (e.g., ‘svg’ elements), ‘pattern’ elements and ‘ marker’ elements. For all other elements, the property has no effect (i.e., a clipping rectangle is not created). 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 |