Navigation: Code Documentation > RSFMXSVG > FMX.RS.SVGSyncObjs > Classes
TSVGPaintJob Class
Defines a job for painting or drawing a SVG in a thread
Server jobs are executed by the RSSVGSyncObjs|TSVGServerThread class.
Namespace: FMX.RS.SVGSyncObjs
TPersistent FMX.RS.SVGSyncObjs.TSVGServerJob FMX.RS.SVGSyncObjs.TSVGPaintJob
Delphi
type TSVGPaintJob = class(TSVGServerJob) end;
Name
Description
Create(TSVGDocument,Single,Single)
Overloaded. Initializes a new instance of the TSVGPaintJob class.
Destroy
Represents the destructor of the TSVGPaintJob class. (Overrides FMX.RS.SVGSyncObjs.TSVGServerJob.Destroy.)
Top
Bitmap
Bitmap to draw the SVG into. The FMX.RS.SVGSyncObjs.TSVGPaintJob.DefaultWidth and FMX.RS.SVGSyncObjs.TSVGPaintJob.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.TSVGPaintJob.WrapMode and FMX.RS.SVGSyncObjs.TSVGPaintJob.ScaleFactor properties
The bitmap is created when the job is executed if this property is nil
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.TSVGPaintJob.WrapMode is iwOriginal
SVG
SVG Document to process in the job (Inherited from FMX.RS.SVGSyncObjs.TSVGServerJob.)
SVGRootID
Represents property SVGRootID.
WrapMode
Defines how the SVG is drawn to the bitmap
Execute
Execute the job (Overrides FMX.RS.SVGSyncObjs.TSVGServerJob.Execute.)
•FMX.RS.SVGSyncObjs