JVCL Help:TJvCustomSegmentedLEDDigit.GetHitInfo@Integer@Integer@Integer
JVCL Help: TJvCustomSegmentedLEDDigit.GetHitInfo Method (Integer, Integer, Integer)
Search in JVCL Help
Search in all projectsSummary
Retrieve information about a specified point in the digit.
Pascal
functionGetHitInfo(X: Integer; Y: Integer): TSLDHitInfo; overload;
functionGetHitInfo(X: Integer; Y: Integer; outSegmentIndex: Integer): TSLDHitInfo; overload;
Parameters
Parameters | Description |
X: Integer | X-coordinate of the point to retrieve information from. |
Y: Integer | Y-coordinate of the point to retrieve information from. |
out SegmentIndex: Integer | Receives the segment index involved (if applicable; i.e. when the result indicates a segment is at the specified position). |
Description
GetHitInfo retrieves information about a specified point in the digit. Besides reporting the area type, it will also report which segment is involved if applicable. GetHitInfo will determine if the position lies within the digit in which case it will iterate over the segments until it finds a hit or no more segments are present. There are two overloaded versions of GetHitInfo: one that will only return the area type and one that will additionally return the segment involved.
See Also
TJvCustomSegmentedLEDDisplay.GetHitInfo
About
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page