Vcl.Themes.TElementEdgeFlag
Delphi
TElementEdgeFlag = (
efLeft,
efTop,
efRight,
efBottom,
efTopLeft,
efTopRight,
efBottomLeft,
efBottomRight,
efRect,
efDiagonal,
efDiagonalEndTopLeft,
efDiagonalEndTopRight,
efDiagonalEndBottomLeft,
efDiagonalEndBottomRight,
efMiddle,
efSoft,
efAdjust,
efFlat,
efMono
);
C++
enum DECLSPEC_DENUM TElementEdgeFlag : unsigned char { efLeft, efTop, efRight, efBottom, efTopLeft, efTopRight, efBottomLeft, efBottomRight, efRect, efDiagonal, efDiagonalEndTopLeft, efDiagonalEndTopRight, efDiagonalEndBottomLeft, efDiagonalEndBottomRight, efMiddle, efSoft, efAdjust, efFlat, efMono };
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
enum | public | Vcl.Themes.pas Vcl.Themes.hpp |
Vcl.Themes | Vcl.Themes |
Description
TElementEdgeFlag describes the types of borders for an element.
TElementEdgeFlag specifies which border of a rectangle to draw.
Value | Meaning |
efLeft
|
The left border. |
efTop
|
The top border. |
efRight
|
The right border. |
efBottom
|
The bottom border. |
efTopLeft
|
The top and left borders. |
efTopRight
|
The top and right borders. |
efBottomLeft
|
The bottom and left borders. |
efBottomRight
|
The bottom and right borders. |
efRect
|
All the borders of the rectangle (top, left, right, bottom). |
efDiagonal
|
The diagonal border. |
efDiagonalEndTopLeft
|
The diagonal border that begins in the bottom-right corner and ends in the top-left corner. |
efDiagonalEndTopRight
|
The diagonal border that begins in the bottom-left corner and ends in the top-right corner. |
efDiagonalEndBottomLeft
|
The diagonal border that begins in the top-right corner and ends in the bottom-left corner. |
efDiagonalEndBottomRight
|
The diagonal border that begins in the top-left corner and ends in the bottom-right corner. |
efMiddle
|
The whole interior of the rectangle. |
efSoft
|
Soft buttons instead of tiles. |
efAdjust
|
The rectangle is shrunk to exclude the edges. |
efFlat
|
The border is flat. |
efMono
|
The border is one-dimensional. |