Navigation: Code Documentation > RSVclSVG > RSSVGSyncObjs > Classes
TSVGThread Class
Provides a threading class for drawing an SVG to a bitmap
Namespace: RSSVGSyncObjs
TThread RSSVGSyncObjs.TSVGThread RSSVGSyncObjs.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 RSSVGSyncObjs.TSVGThread.DefaultWidth and RSSVGSyncObjs.TSVGThread.DefaultHeight properties define the default minimum size of the bitmap, which will be changed based on the size of the SVG and the RSSVGSyncObjs.TSVGThread.WrapMode and RSSVGSyncObjs.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 RSSVGSyncObjs.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
•RSSVGSyncObjs