Chapter Contents

Previous

Next
BAR

BAR



Draws a rectangle

Operating States: SGOP
Return Codes: 0, 4, 76, 79, 80, 86


Syntax
Description
Argument Definitions
See Also


Syntax

return-code-variable=GDRAW('BAR', x1, y1, x2, y2);


Description

The GDRAW('BAR', . . . ) function draws a rectangular bar whose sides are parallel to the sides of the display area. The fill attributes and bundles affect the appearance of this graphics element. See DATA Step Graphics Interface Routines for a list of these attributes. Points that Draw a Bar illustrates the arguments used with GDRAW('BAR', . . . ).

Points that Draw a Bar

[IMAGE]


Argument Definitions

x1 numeric constant or numeric variable name; refers to the x coordinate of one corner of the bar.
y1 numeric constant or numeric variable name; refers to the y coordinate of one corner of the bar.
x2 numeric constant or numeric variable name; refers to the x coordinate of the corner of the bar that is diagonally opposite to the corner of (x1,y1).
y2 numeric constant or numeric variable name; refers to the y coordinate of the corner of the bar that is diagonally opposite to the corner of (x1,y1).

See Also

GDRAW('FILL', . . . ) function
GSET('FILCOLOR', . . . ) function
GSET('FILINDEX', . . . ) function
GSET('FILREP', . . . ) function
GSET('FILTYPE', . . . ) function
GSET('FILSTYLE', . . . ) function
GSET('HTML', . . . ) function


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.