Sign in Join
FPDoc Onlineexperiment

TLazRegionEllipse class

In unit LazRegions

Implements a region defined as an Ellipse.

Declaration

pascal
TLazRegionEllipse = class(TLazRegionPart)

Inheritance

  1. TLazRegionEllipse
  2. TLazRegionPart

Description

TLazRegionEllipse is a TLazRegionPart descendant which implements a region defined as an elliptical area with the specified vertex and co-vertex. The X1, X2, Y1, and Y2 members are provided to represent the horizontal and vertical coordinates for the vertex and co-vertex points.

Instances of TLazRegionEllipse are created when the AddEllipse method in TLazRegion is called.

See also

Methods

Clonepublic
IsPointInPartpublicIndicates if the specified point is located inside the elliptical area for the region.

Fields

X1publicHorizontal coordinate for the vertex.
Y1publicVertical coordinate for the vertex.
X2publicHorizontal coordinate for the co-vertex.
Y2publicVertical coordinate for the co-vertex.

Inherited

From TLazRegionPart (1)

GetBoundingRect

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.