Navigation: Code Documentation > RSFMXSVG > FMX.RS.SVG > Classes > TSVGElement > Methods
TSVGElement.FitToRect(TSVGRect) Method
Returns a transformation matrix that will properly scale and translate the SVG element's BoundsRect so that it fits within the input rectangle
Namespace: FMX.RS.SVG
Delphi
public function FitToRect( aRect: TSVGRect ): TSVGMatrix; overload;
Parameters
aRect
Type: System.Void
Type: TSVGMatrix
•FMX.RS.SVG.TSVGElement.FitToRect(TSVGRect,TSVGRect)
•TSVGElement
•FMX.RS.SVG