Returns a TFourPoints structure (array of four TPoint records)
public Point[] FourPointsFromRect(Rectangle r,
Int32 z)

Remarks


Returns a TFourPoints structure (array of four TPoint records), containing the 2D xy position of each corner of the "R" rectangle parameter, after calculating each corner position located at the depth "Z" parameter, using current Rotation and Elevation properties.

This function performs the equivalent of calling Calculate3DPosition method for each corner of the R rectangle (LeftTop, LeftBottom, RightTop and RightBottom).

See Also

Graphics3D Class | Graphics3D Members | Steema.TeeChart.Drawing Namespace