Navigation: Code Documentation > RSFMXSVG > FMX.RS.SVGSyncObjs > Classes
TSVGThread Class
Provides a threading class for drawing an SVG to a bitmap
Namespace: FMX.RS.SVGSyncObjs
TThread FMX.RS.SVGSyncObjs.TSVGThread FMX.RS.SVGSyncObjs.TSVGLoadThread
Delphi
type TSVGThread = class(TThread) end;
Name
Description
Create(Single,Single,Boolean)
Overloaded. Creates the SVG thread with a default minimum width and height for the bitmap
Destroy
Represents the destructor of the TSVGThread class.
Top
Bitmap
Bitmap to draw the SVG into. The FMX.RS.SVGSyncObjs.TSVGThread.DefaultWidth and FMX.RS.SVGSyncObjs.TSVGThread.DefaultHeight properties define the default minimum size of the bitmap, which will be changed based on the size of the SVG and the FMX.RS.SVGSyncObjs.TSVGThread.WrapMode and FMX.RS.SVGSyncObjs.TSVGThread.ScaleFactor properties
DefaultHeight
Default Height of Bitmap where SVG is to be drawn
DefaultWidth
Default Width of Bitmap where SVG is to be drawn
ScaleFactor
Defines how the SVG is scaled when FMX.RS.SVGSyncObjs.TSVGThread.WrapMode is iwOriginal
SVG
the SVG object to draw
WrapMode
Defines how the SVG is drawn to the bitmap
Execute
Represents method Execute.
IsValidSVG
Returns TRUE if the SVG is valid
•FMX.RS.SVGSyncObjs