Returns the bounding rectangle for element made up of the X, Y, Width, and Height properties (at the FMX.RS.SVG.TSVGGraphicElement level) with no transformations applied. The values are the virtual "pixel" values using the nearest viewbox. For example, if the nearest viewbox (say the TSVGDocument specify a viewbox of 0, 0, 100, 100, a value of 50, 50 is exactly in the middle of the viewbox, regardless of the amount of pixels the TSVGDocument is being drawn to.
TSVGElement.GetBoundsRect returns an empty rectangle
Namespace: FMX.RS.SVG
Delphi |
protected |
Return Value
Type: TSVGRect
Reference•FMX.RS.SVG.TSVGElement.GetBoundsRect(TSVGMatrix) •FMX.RS.SVG.TSVGElement.SetBoundsRect(TSVGRect) •X •Y •Width •Height |