Show/Hide Toolbars

RiverSoftAVG Products Help

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

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

noteNote

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

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

Return Value

Type: TSVGGraphicElement

Overrides

TSVGGraphicElement.ElementAtPos(TSVGMatrix,TSVGCanvas,TSVGPoint,TSVGRect,TSVGFindOptions)
 

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb