Carregar apresentação
A apresentação está carregando. Por favor, espere
PublicouEmanuel Pais Alterado mais de 10 anos atrás
1
rect 20 30 40 50 rect(20,30,40,50); rectrect: Desenha um retângulo 4 parâmetros Não retorna nada Efeito colateral: desenha um retângulo
2
max 40 50 max(40,50); 50 maxmax: Retorna o maior entre dois números 2 parâmetros 1 retorno Sem efeitos colaterais
3
int a = 10; int b = 20; int c = max(a,b); max 10 20 50 c
4
PFont f; f = createFont("Arial",20); textFont(f); text("Teste",20,30); createFont Arial 20 A, B, C... f
5
PFont f; f = createFont("Arial",20); textFont(f); text("Teste",20,30); textFont f textFont: Seleciona uma fonte 1 parâmetro Sem retorno Efeito colateral: escolhe a fonte
6
PFont f; f = createFont("Arial",20); textFont(f); text("Teste",20,30); text text: Exibe um texto 2 parâmetros Sem retorno Efeito colateral: desenha o texto Arial 30
Apresentações semelhantes
© 2024 SlidePlayer.com.br Inc.
All rights reserved.