Hide Comments
Hide Comments

ParseRect(String,TSVGUnitFactors) Method

Comments (0)

Parses the input string into a rectangle using a string of 4 concatenated lengths: left top width height. The lengths may be separated by commas or spaces.

Namespace: RSSVGUtils

expandingSyntax

Delphi

 function ParseRect( const Value: String; UnitFactors: TSVGUnitFactors ): TRSRect;
 

Parameters

Value

Type: String

UnitFactors

Type: TSVGUnitFactors

Return Value

Type: TRSRect

expandingRemarks

noteNote

The UnitFactors parameter specifies the unit factors for conversion of string lengths into actual values. For example, if the input string contains '1cm', the function uses the UnitFactors to know how large a centimer is. It is usually set when the DPI property of the TSVGDocument element is set.

expandingSee Also

Reference

Comments (0)

RiverSoftAVG SVG Component Library (RSCL) © 2013-2015, Thomas G. Grubb