Hide Comments
Hide Comments

TSVGElement.GenerateControls(TControl,TSVGMatrix,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.

Namespace: RSSVG

expandingSyntax

Delphi

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

Parameters

Parent

Type: TControl

Parent control for the generated FMX control

aMatrix

Type: System.Void

Transformation to apply to the 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