Hide Comments
Hide Comments

Comments (0)

Provides a thread class for loading a SVG from a stream and drawing to a bitmap

Namespace: FMX.RS.SVGSyncObjs

expandingInheritance Hierarchy

TThread
  FMX.RS.SVGSyncObjs.TSVGThread
    FMX.RS.SVGSyncObjs.TSVGLoadThread
 

expandingSyntax

Delphi

type
  TSVGLoadThread = class(TSVGThread)
  end;
 

expandingConstructors

 

Name

Description

public constructor

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.)

public constructor

Create(String,Single,Single,Boolean)

Overloaded. Constructs the thread and opens a file stream for the given filename

public constructor

Create(TStream,Single,Single,Boolean)

Overloaded. Constructs the thread and prepares it to load the specified stream that should contain a SVG

public destructor

Destroy

Represents the destructor of the TSVGLoadThread class. (Overrides FMX.RS.SVGSyncObjs.TSVGThread.Destroy.)

Top

expandingProperties

 

Name

Description

public property

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.)

public property

DefaultHeight

Default Height of Bitmap where SVG is to be drawn (Inherited from FMX.RS.SVGSyncObjs.TSVGThread.)

public property

DefaultWidth

Default Width of Bitmap where SVG is to be drawn (Inherited from FMX.RS.SVGSyncObjs.TSVGThread.)

public property

ScaleFactor

Defines how the SVG is scaled when FMX.RS.SVGSyncObjs.TSVGThread.WrapMode is iwOriginal (Inherited from FMX.RS.SVGSyncObjs.TSVGThread.)

public property

Stream

Defines the stream for the thread to read to load the SVG

public property

SVG

the SVG object to draw (Inherited from FMX.RS.SVGSyncObjs.TSVGThread.)

public property

WrapMode

Defines how the SVG is drawn to the bitmap (Inherited from FMX.RS.SVGSyncObjs.TSVGThread.)

Top

expandingMethods

 

Name

Description

protected method

Execute

Represents method Execute. (Overrides FMX.RS.SVGSyncObjs.TSVGThread.Execute.)

public method

IsValidSVG

Returns TRUE if the thread loads a valid SVG (no errors) (Overrides FMX.RS.SVGSyncObjs.TSVGThread.IsValidSVG.)

Top

expandingRemarks

noteNote

If Bitmap is nil, the drawing operation will not occur

expandingSee Also

Reference

Comments (0)

RiverSoftAVG SVG Component Library (RSCL) © 2013-2015, Thomas G. Grubb