TCanvas3D.PyramidTrunc
 
 
 

All Units  All Classes  Properties, Methods and Events  

TCanvas3D.PyramidTrunc
TCanvas3D

procedure PyramidTrunc(Const R: TRectF; Const StartZ, EndZ, TruncX, TruncZ: Double; TopCover, BottomCover: Boolean); virtual;

Unit
TeCanvas

Description
Draws a truncated pyramid.

Example

Chart1.Canvas.PyramidTrunc(Rect(30,30,150,150),0,30,0,0);

would plot a pointed Pyramid

Chart1.Canvas.PyramidTrunc(Rect(30,30,150,150),0,30,10,10);

..truncates the Pyramid by 10 pixels in the X direction and by 10 pixels in the Z direction.



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