Returns an SVG compatible string for the length in the specified unit. If the number is a percentage, the function uses the Min and Max parameters to scale the number within the range
Namespace: FMX.RS.SVGUtils
Delphi |
function SVGLengthToString( N: Single; IsPercent: Boolean; |
Parameters
N
Type: Single
Number to convert to string
IsPercent
Type: Boolean
Is the number a percentage or not
aUnit
Type: TSVGUnit
Measurement unit the number is in
FormatStr
Type: String
Format string for the number
Min
Type: Single
Minimum range when number is a percentage
Max
Type: Single
Maximum range when number is a percentage
Type: String
Reference•SVGLengthsToSttring |