Voborník P.: Mini-Language for Effective Definition of the Color Gradients. Advanced Materials Research, vols. 1030-1032, Sep. 2014, pp. 1882-1885. ISSN 1662-8985, DOI 10.4028/www.scientific.net/AMR.1030-1032.1882.



This article presents the new mini-language for effective definition of color gradients for the languages of vector graphics. Mini-language supports two types of gradients: linear and radial. It lets define all variants of color transitions supported by modern vector systems. The code is much shorter and easier than in its alternatives such as XAML and SVG. The entire definition is written within one intuitively the assembled string. Implementation of the presented mini-language could substantially encapsulate and streamline the source code for vector graphics.



Code, color Gradients, mini-language, QML, SVG, vector graphics, XAML.


Article URL: http://www.scientific.net/AMR.1030-1032.1882

Proceedings (ISBN 978-3-03835-248-8) URL: http://www.ttp.net/978-3-03835-248-8.html