Hide Comments
Hide Comments

ParseFontWeight(String,TFontStyles,TFontStyles,Boolean) Method

Comments (0)

Parses the input string for a font weight value, e.g., the boldness or lightness of the glyphs used to render the text, relative to other fonts in the same font family.

The allowable values are normal | bold | bolder | lighter | 100 | 200 | 300
| 400 | 500 | 600 | 700 | 800 | 900 | inherit

Namespace: FMX.RS.SVGUtils

expandingSyntax

Delphi

 function ParseFontWeight( S: String; DefValue, ParentSize: TFontStyles; var Inherits: Boolean ): TFontStyles; 
 

Parameters

S

Type: String

DefValue

Type: TFontStyles

ParentSize

Type: TFontStyles

Inherits

Type: Boolean

Return Value

Type: TFontStyles

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