Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSFMXSVG > FMX.RS.SVG > Classes > TSVGElement > Methods

TSVGElement.GenerateControls(TControl,TRSRect,TSVGControlElementEvent) Method

Scroll Prev Top Next More

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

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

Namespace: FMX.RS.SVG

Parameters

Parent

Type: TControl

Parent control for the generated VCL/FMX control

aRect

Type: TRSRect

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

Callback

Type: TSVGControlElementEvent

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

Return Value

Type: TControl

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb