Parses the input string for a font style value, which specifies whether the text is to be rendered using a normal, italic or oblique face.
The allowable inputs are normal | italic | oblique | inherit
Namespace: RSSVGUtils
Delphi |
function ParseFontStyle( S: String; DefValue: TFontStyles; var Inherits: Boolean ): TFontStyles; |
Parameters
S
Type: String
DefValue
Type: TFontStyles
Inherits
Type: Boolean
Type: TFontStyles
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 |