Vcl.Graphics.TCanvasOrientation
Delphi
TCanvasOrientation = (coLeftToRight, coRightToLeft);
C++
enum DECLSPEC_DENUM TCanvasOrientation : unsigned char { coLeftToRight, coRightToLeft };
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
enum | public | Vcl.Graphics.pas Vcl.Graphics.hpp |
Vcl.Graphics | Vcl.Graphics |
Description
TCanvasOrientation specifies the pixel coordinate system that a canvas uses.
TCanvasOrientation determines where the (0,0) point falls on a canvas, and whether pixel coordinates are interpreted in a right-to-left or left-to-right manner.
The following table describes the possible values:
Value | Meaning |
---|---|
coLeftToRight |
The origin (0,0) appears in the top-left corner. Pixel coordinates get larger as you move left or down. |
coRightToLeft |
The origin (0,0) appears in the top-right corner. Pixel coordinates get larger as you move right or down. |