TSVGCustomViewBox.ElementAtPos(TSVGMatrix,TSVGCanvas,TSVGPoint,TSVGRect,TSVGFindOptions) Method |
Scroll Prev Top Next More |
Returns the SVG element located at the specified position in the SVG. The method assumes the size and location of the current element is the rectangle specified by aRect. Use the ElementAtPos method to determine which SVG element is at the specified location in the current element.
If no SVG element is found at the specified location, the function returns nil
Note |
---|
The method searches the children first in reverse order and then the current element. This ensures the visually top-most element is found |
Namespace: FMX.RS.SVG
Delphi |
public |
Parameters
aMatrix
Type: System.Void
Specifies the initial transformation to apply to the element
Canvas
Type: System.Void
Pt
Type: System.Void
Point to match with an element
aRect
Type: System.Void
Size and location of current SVG element
Options
Type: TSVGFindOptions
Defines the options for searching
Type: TSVGGraphicElement
TSVGGraphicElement.ElementAtPos(TSVGMatrix,TSVGCanvas,TSVGPoint,TSVGRect,TSVGFindOptions)