Herunterladen Inhalt Inhalt Diese Seite drucken

Beispiel 2: Textstyles - ELECTRONIC ASSEMBLY EA uniTFT Serie Bedienungsanleitung

Inhaltsverzeichnis

Werbung

#CLD
6
#CCR
2, 0,$FFFFFF,100, 40,$7F7F7F,100, 50,$404040,100, 60,$7F7F7F,100,
100,$FFFFFF,100
/**white->gray->white ramp
#CAC
2, 3,
100
pong
/**Draw Style 7, conical filling (brush), no outline (pen)
#CFK
7, 3, 5000,5,
focus to anchor 5, ramp clock wise
#CLD
7
#CCR
3, 0,$FF0000,100, 33,$00FF00,100,
ramp for circular behaviour
/**Draw Style 58, linear filling (brush), no outline (pen)
#CFL
8,
4
#CLD
8
#CCR
4, 0,$00006F,100, 50,$0000FF,100, 60,$0000FF,100, 60,$FF0000,100,
100,$FF0000,100
/**color ramp with hard edges
/**Draw 4x2 Matrix of simple rectangles
#GRR
1, 1,
50,430,1 135,150
#GRR
2, 2,
235,430,1 135,150
#GRR
3, 3,
420,430,1 135,150
#GRR
4, 4,
610,430,1 135,150
#GRR
5, 5,
50,200,1 135,150
#GRR
6, 6,
235,200,1 135,150
#GRR
7, 7,
420,200,1 135,150
#GRR
8, 8,
610,200,1 135,150

Beispiel 2: TextStyles

Nutzung von unterschiedlichen TextStyles
Macro: TextStyles
/**Show 4 different TextStyles using internal fonts
/**Style 1: Heading, build in font with outline
Technische Änderungen vorbehalten. Wir übernehmen keine Haftung für Druckfehler und
Applikationsbeispiele
EA uniTFT050-A
1
/**Use draw Style 1
/**Use draw Style 2
/**Use draw Style 3
/**Use draw Style 4
/**Use draw Style 5
/**Use draw Style 6
/**Use draw Style 7
/**Use draw Style 8
/**No line
/**Animate color ramp 3 ping-
/**use color ramp 3, set
/**No line
66,$0000FF,100 100,$FF0000,100
/**use color ramp 4
/**No line
/**r->g->b->r
153 / 172

Werbung

Inhaltsverzeichnis
loading

Inhaltsverzeichnis