JVCL Help:TJvCustomSegmentedLEDDigit.PtInSegment

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Determines if a coordinate belongs to a segment.


Pascal

 functionPtInSegment(SegmentIndex: Integer; Pt: TPoint): Boolean; virtual;


Parameters

Parameters Description
SegmentIndex: Integer 0-based index of the segment to check.
Pt: TPoint Coordinate to check.


Description

PtInSegment determines if the specified coordinate belongs to the specified segment. If it does the function will return True, otherwise False will be returned. Although the index parameter may refer to any segment the digit may support, segments that are not rendered are not considered and the function will return False for these segments.


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