RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Graphics.TCanvasOrientation Enumeration

TCanvasOrientation specifies the pixel coordinate system that a canvas uses.

Pascal
TCanvasOrientation = (
  coLeftToRight,
  coRightToLeft
);
C++
enum TCanvasOrientation {
  coLeftToRight,
  coRightToLeft
};

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.  

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!