<< Click here to display Table of Contents >> Navigation: Code Documentation > RSFMXSVG > FMX.RS.SVGSyncObjs > Classes:
Comments (0)
Provides a thread class for loading a SVG from a stream and drawing to a bitmap
Namespace: FMX.RS.SVGSyncObjs
TThread FMX.RS.SVGSyncObjs.TSVGThread FMX.RS.SVGSyncObjs.TSVGLoadThread
Delphi
type TSVGLoadThread = class(TSVGThread) end;
Name
Description
Create(Single,Single,Boolean)
Overloaded. Creates the SVG thread with a default minimum width and height for the bitmap (Inherited from FMX.RS.SVGSyncObjs.TSVGThread.)
Create(String,Single,Single,Boolean)
Overloaded. Constructs the thread and opens a file stream for the given filename
Create(TStream,Single,Single,Boolean)
Overloaded. Constructs the thread and prepares it to load the specified stream that should contain a SVG
Destroy
Represents the destructor of the TSVGLoadThread class. (Overrides FMX.RS.SVGSyncObjs.TSVGThread.Destroy.)
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 (Inherited from FMX.RS.SVGSyncObjs.TSVGThread.)
DefaultHeight
Default Height of Bitmap where SVG is to be drawn (Inherited from FMX.RS.SVGSyncObjs.TSVGThread.)
DefaultWidth
Default Width of Bitmap where SVG is to be drawn (Inherited from FMX.RS.SVGSyncObjs.TSVGThread.)
ScaleFactor
Defines how the SVG is scaled when FMX.RS.SVGSyncObjs.TSVGThread.WrapMode is iwOriginal (Inherited from FMX.RS.SVGSyncObjs.TSVGThread.)
Stream
Defines the stream for the thread to read to load the SVG
SVG
the SVG object to draw (Inherited from FMX.RS.SVGSyncObjs.TSVGThread.)
WrapMode
Defines how the SVG is drawn to the bitmap (Inherited from FMX.RS.SVGSyncObjs.TSVGThread.)
Execute
Represents method Execute. (Overrides FMX.RS.SVGSyncObjs.TSVGThread.Execute.)
IsValidSVG
Returns TRUE if the thread loads a valid SVG (no errors) (Overrides FMX.RS.SVGSyncObjs.TSVGThread.IsValidSVG.)
Note
If Bitmap is nil, the drawing operation will not occur
•FMX.RS.SVGSyncObjs