Hide Comments
Hide Comments

TSVGElement.GenerateControls(TControl,TRSRect,TSVGControlElementEvent) Method

Comments (0)

Generates FMX controls to represent this SVG element and its children. The Parent parameter specifies the parent control for the generated FMX control.

The FMX control is transformed by a matrix returned from the GetViewMatrix function

Namespace: FMX.RS.SVG

expandingSyntax

Delphi

public
  function GenerateControls( Parent: TControl;
  aRect: TRSRect; const Callback: TSVGControlElementEvent = nil ): TControl; overload;
 

Parameters

Parent

Type: TControl

Parent control for the generated FMX control

aRect

Type: TRSRect

Where the FMX control should be placed (modified by aMatrix possibly)

Callback

Type: TSVGControlElementEvent

Optional function called after the FMX control is created and initialized but before the child controls are created

Return Value

Type: TControl

expandingRemarks

alert_noteTip

Use the Callback parameter to specify a function to modify the FMX control after it has been created and initialized

expandingSee Also

Reference

Comments (0)

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