TeCanvas.TTeeCanvas.Frame3D
 
 
 


TTeeCanvas.Frame3D
TTeeCanvas

procedure Frame3D(Var Rect: TRect; TopColor, BottomColor: TColor; Width: Integer); virtual;

Unit
TeCanvas

Description
Use Frame3D to create three-dimensional effects when drawing directly on the canvas. The Rect parameter specifies the position on the canvas where the three-dimensional rectangle should appear. The TopColor and BottomColor parameters indicate the colors that appear on the left and top or the right and bottom of the rectangle respectively. The Width parameter specifies the width of the frame.

To create a raised effect, the TopColor should be a light color and the BottomColor should be a shadow color. To create a depressed effect, the TopColor should be the shadow color and the BottomColor should be the light color. To create a beveled effect, draw a frame immediately inside another frame with the colors reversed.




Send us Help Feedback. Copyright 1995-2024 © by Steema Software. All Rights Reserved.