TLazRegionPolygon class
Represents a region defined as a series of vertices for a polygon.
Declaration
TLazRegionPolygon = class(TLazRegionPart)Inheritance
- TLazRegionPolygon
- TLazRegionPart
Description
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.
See also
Methods
Clone | public | |
IsPointInPart | public | Indicates if a point with the specified coordinates is within the vertices for the polygonal region. |
Fields
Points | public | Array of TPoint values that define the vertices for the polygonal region. |
FillMode | public | Fill mode used for the polygon. |
Inherited
From TLazRegionPart (1)
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
