Ball

(Engine-Level Function)

Deprecated. Do not use in new code.

Description: Draws a filled circle on the screen.
Returns: Nothing
Usage: Steady State only.
Function Groups: Graphics
Related to: Circle | Ellipse | GUIEllipse
Format: Ball(X, Y, Radius, Foreground, Pattern, Background)
Parameters::  
X
Required. Any numeric expression giving the X coordinate of the center of the ball on the screen.
Y
Required. Any numeric expression giving the Y coordinate of the center of the ball on the screen.
Radius
Required. Any numeric expression giving the radius of the ball specified in units of X screen coordinates.
Foreground
Required. Any numeric expression giving the foreground VTScada Color Palette of the ball.
Pattern
Required. Any numeric expression giving the hatch pattern to use to fill the ball. The valid hatch style numbers are from 1 to 25 inclusive. A Pattern of 1 is a solid ball (for other patterns, please refer to Fill Patterns).
Background
Required. Any numeric expression giving the background VTScada Color Palette for the hatch pattern used to fill the ball.
This value is only significant if the Pattern parameter is not equal to 1 (solid).

Comments:

This statement has been superseded by the GUIEllipse function and is maintained for backwards compatibility only.
As of version 11, this is now drawn in the same z-order as other graphics, making it similar to the z-graphics functions.