Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.0.2 - Português

Change language to:
English - Français - 日本語 - Русский

Please note that the recommended version of Scilab is 2024.0.0. This page might be outdated.
See the recommended documentation of this function

Ajuda do Scilab >> Biblioteca de Gráficos > geometric_shapes > xrect

xrect

desenha um retângulo

Seqüência de Chamamento

xrect(x,y,w,h)
xrect(rect) // rect =[x,y,w,h]

Parameters

x,y,w,h

quatro valores reais definindo o retângulo

Descrição

xrect desenha um retângulo definido por [x,y,w,h] (ponto superior esquerdo, largura, altura) usando a escala e o estilo correntes.

AVISO: por favor, note que a altura é positiva indo para baixo.

Exemplos

plot2d(0,0,-1,"010"," ",[-2,-2,2,2])
xrect(-1,1,2,2)
gce().foreground = color("red");

Ver Também

  • xfrect — preenche um retângulo
  • xrects — desenha ou preenche um conjunto de retângulos
Report an issue
<< xfrect geometric_shapes xrects >>

Copyright (c) 2022-2023 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Thu Feb 14 15:00:47 CET 2019