Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSFMXSVG > FMX.RS.SVGUtils > Routines

ParseFontWeight(String,TSVGFontWeight,Boolean) Method

Scroll Prev Top Next More

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

Parameters

S

Type: String

Input string to parse

DefValue

Type: TSVGFontWeight

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: TSVGFontWeight

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb