Parses the input string for a dash array value and sets the Pen properties
Namespace: FMX.RS.SVGUtils
Delphi |
procedure ParseDashArray(ArrayStr, OffsetStr: String; const Pen: TSVGPen; |
Parameters
ArrayStr
Type: String
OffsetStr
Type: String
Pen
Type: TSVGPen
Inherits
Type: TSVGStylePropertiesSet
UnitFactors
Type: TSVGUnitFactors
The dash array controls the pattern of dashes and gaps used to stroke paths. The dash array contains a list of comma and/or white space separated lengths and percentages that specify the lengths of alternating dashes and gaps. If an odd number of values is provided, then the list of values is repeated to yield an even number of values. Thus, stroke-dasharray: 5,3,2 is equivalent to stroke-dasharray: 5,3,2,5,3,2
|
Reference |