Article Preview
Buy Now
COLUMN
Holy Gradients, Batman!
Exploring Xojo's new gradient graphics
Issue: 19.1 (January/February 2021)
Author: Marc Zeedar
Author Bio: Marc taught himself programming in high school when he bought his first computer but had no money for software. He's had fun learning ever since.
Article Description: No description available.
Article Length (in bytes): 27,706
Starting Page Number: 93
Article Number: 19107
Resource File(s):
project19107.zip Updated: 2021-01-04 09:44:21
Related Web Link(s):
http://docs.xojo.com/UserGuide
Excerpt of article text...
Amongst all of the exciting new features of a
packed Xojo 2020r2 upgrade, there exists some fantastic new graphics features. Specifically, Xojo now lets you create your own gradients (color fills that gradually change from one color to another).This isn't limited to just two colors, either: Xojo went all out and lets you add color stops in various places just like a high-end graphic design program like Adobe InDesign so your gradients can be as visually stimulating as anything you can create elsewhere. Linear and radial gradients at various angles with as many color changes as you like—awesome!
I immediately dove in, playing with the example code in the documentation and the example project included with Xojo. And I came away uninspired, as the examples are fairly ho-hum. I wanted to be able to really explore
all the power of gradients and I immediately had a vision for an ambitious tool.It was so ambitious, in fact, that I didn't think I'd be able to complete it in time for this column. But you know what? It turned out to be not so difficult. I'm amazed. It really shows the power of Xojo to create stuff quickly and easily.
Introducing Gradient Maker
Coming from a background in graphic design, what I wanted was a visual designer for gradients similar to what I get in InDesign where I can drag color stops and
see the resulting gradient (see Figure 1).
...End of Excerpt. Please purchase the magazine to read the full article.