EasyManua.ls Logo

Bridgetek FT801 - Page 192

Default Icon
263 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
FT800 Series Programmer Guide
Version 2.1
Document Reference No.: BRT_000030 Clearance No.: BRT#037
192
Product Page
Document Feedback Copyright © Bridgetek Limited
A vertical gradient
cmd_gradient(0, 0, 0x808080, 0, 120,
0x80ff40);
The same colors in a diagonal gradient
cmd_gradient(0, 0, 0x808080, 160, 120,
0x80ff40);
Using a scissor rectangle to draw a gradient stripe as a background for a title:
cmd(SCISSOR_XY(20, 40));
cmd(SCISSOR_SIZE(120, 32));
cmd_gradient(20, 0, 0x606060, 140, 0,
0x404080);
cmd_text(23, 40, 29, 0, "Heading 1");

Table of Contents