HP Prime Graphing Wireless Calculator Manual do Utilizador Página 645

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
Vista de página 644
PIXOFF_P, PIXOFF
Syntax: PIXOFF([G], x, y)
Syntax: PIXOFF_P([G], x, y)
Sets the color of the pixel G with coordinates x,y to white. G can be any of the graphics variables and is
optional. The default is G0, the current graphic.
PIXON_P, PIXON
Syntax: PIXON([G], x, y [ ,color])
Syntax: PIXON_P([G], x, y [ ,color])
Sets the color of the pixel in graphic variable G with coordinates (x,y) to the entered color. G can be any of the
graphics variables and is optional. The default is G0, the current graphic.
The optional color can be any hexadecimal integer entered in the form aaRRGGBB. This is an RGB color with
the alpha channel in the high order byte. The alpha channel numbers can be any integer between 0 (opaque)
and 255 (transparent). If no color is specied, the default black is used.
RECT_P, RECT
Syntax: RECT([G, x1, y1, x2, y2, edgecolor, fillcolor])
Syntax: RECT_P([G, x1, y1, x2, y2, edgecolor, fillcolor])
Draws a rectangle on G between points x1,y1 and x2,y2 using edgecolor for the perimeter and llcolor for the
inside.
G can be any of the graphics variables and is optional. The default is G0, the current graphic.
x1, y1 are optional. The default values represent the top left of the graphic.
x2, y2 are optional. The default values represent the bottom right of the graphic.
edgecolor and llcolor can be any color specied as #RRGGBB. Both are optional, and llcolor defaults to
edgecolor if not specied.
To erase a GROB, execute RECT(G). To clear the screen execute RECT().
When optional arguments are provided in a command with multiple optional parameters (like RECT), the
arguments provided correspond to the leftmost parameters
rst. For example, in the program below, the
arguments 40 and 90 in the RECT_P command correspond to x1 and y1. The argument #000000
corresponds to edgecolor, since there is only the one additional argument. If there had been two additional
arguments, they would have referred to x2 and y2 rather than edgecolor and llcolor. The program produces
a rectangle with a black edge and black ll.
EXPORT BOX()
BEGIN
RECT();
RECT_P(40,90,#0 00000);
WAIT;
END;
Program commands 597
Vista de página 644
1 2 ... 640 641 642 643 644 645 646 647 648 649 650 ... 700 701

Comentários a estes Manuais

Sem comentários