|
<< Click to display table of contents >> TRVSVGPathCollectionItem |
This class represents a named Scalable Vector Graphics (SVG) path. This is a class of item in TRVSVGPathCollection collection.
Class of item in the collection
Unit [VCL/FMX] RVSVGPath / fmxRVSVGPath;
Syntax
TRVSVGPathCollectionItem = class (TCollectionItem)
(introduced in version 25)
TObject TPersistent TCollectionItem |
This class has properties:
▪Path: String – SVG path. This is a set of drawing commands used within the <path> element in SVG to define the outline of a shape.
▪ViewBox: TRVIntegerRect defines the dimension of the SVG image. All coordinates in Path must be inside ViewBox.
▪Name: TRVUnicodeString – name of this item. It should be unique in the collection.
This is an example representing "A" letter:
▪Path = 'M6.42436 0H9.57565L14.995 16H11.8276L10.8115 13H5.18855L4.17242 16H1.005L6.42436 0ZM6.20468 10H9.79533L8 4.69952L6.20468 10Z'
▪ViewBox = (Left: 0, Top: 0, Right: 16, Bottom: 6)
▪Name = 'Letter A'