Slide 1

Slide 1 text

Dibujando en Compose - Parte 1 Armando Picón - @devpicon

Slide 2

Slide 2 text

What is a canvas?

Slide 3

Slide 3 text

How to start - Choosing a canvas - Canvas() - Create a canvas - drawBehind{} - drawWithContent{} - drawWithCache{}

Slide 4

Slide 4 text

Coordinate system x y (0,0) (width,height)

Slide 5

Slide 5 text

Coordinate system - Offset x y (0,0) (width,height) Offset (x, y) (desplazamiento) (15,40 )

Slide 6

Slide 6 text

Functions drawText() drawImage() Basic shapes - drawRect() - drawCircle() - drawLine() - drawRoundedRect() - drawOval() - drawArc() - drawPoints

Slide 7

Slide 7 text

Show me the code…

Slide 8

Slide 8 text

Nos vemos en la próxima!