[Overview][Types][Classes][Procedures and functions][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Represents a region defined as a series of vertices for a polygon.
Source position: lazregions.pas line 39
type TLazRegionPolygon = class(TLazRegionPart) |
||
public |
||
Points: ; |
|
Array of TPoint values that define the vertices for the polygonal region. |
|
Fill mode used for the polygon. |
|
function IsPointInPart(); override; |
|
Indicates if a point with the specified coordinates is within the vertices for the polygonal region. |
end; |
|
Represents a region defined as a series of vertices for a polygon. |
|
| | ||
|
Base class used for rectangular areas in a region. |
|
| | ||
TObject |
TLazRegionPolygon is a TLazRegionPart descendant which implements a region as a polygonal area defined by a series of vertices.
The Points member contains the TPoint values that define the vertices for the polygon. FillMode defines how the interior of the polygon is filled, and uses values like those defined for the Windows GDI API. An overridden IsPointInPart is provided to determine if a point is within the bounds for the polygonal area.
Instances of TLazRegionPolygon are created when the AddPolygon method in TLazRegion is called.
|
Adds a polygonal area with the specified vertices to the region. |
|
|
List with the Rectangles, Polygons, and Ellipses that define the display area for the region. |
|
|
Base class used for rectangular areas in a region. |
Version 3.2 | Generated 2024-02-25 | Home |