LibreOffice
LibreOffice 6.2 SDK API Reference
Gradient.idl
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
11  * Licensed to the Apache Software Foundation (ASF) under one or more
12  * contributor license agreements. See the NOTICE file distributed
13  * with this work for additional information regarding copyright
14  * ownership. The ASF licenses this file to you under the Apache
15  * License, Version 2.0 (the "License"); you may not use this file
16  * except in compliance with the License. You may obtain a copy of
17  * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18  */
19 #ifndef __com_sun_star_awt_Gradient_idl__
20 #define __com_sun_star_awt_Gradient_idl__
21 
23 
25 
26 
27 
28  module com { module sun { module star { module awt {
29 
30 
35 published struct Gradient
36 {
37 
41 
42 
46 
47 
51 
52 
55  short Angle;
56 
57 
60  short Border;
61 
62 
67  short XOffset;
68 
69 
73  short YOffset;
74 
75 
79 
80 
83  short EndIntensity;
84 
85 
89  short StepCount;
90 
91 };
92 
93 
94 }; }; }; };
95 
96 #endif
97 
98 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
short StepCount
Specifies the number of steps of change color.
Definition: Gradient.idl:89
short YOffset
Specifies the Y-coordinate, where the gradient begins.
Definition: Gradient.idl:73
short Angle
angle of the gradient in 1/10 degree.
Definition: Gradient.idl:55
com::sun::star::awt::GradientStyle Style
specifies the style of the gradient.
Definition: Gradient.idl:40
Definition: Ambiguous.idl:22
com::sun::star::util::Color EndColor
specifies the color at the end point of the gradient.
Definition: Gradient.idl:50
GradientStyle
specify the style of color dispersion.
Definition: GradientStyle.idl:29
short StartIntensity
Specifies the intensity at the start point of the gradient.
Definition: Gradient.idl:78
short EndIntensity
specifies the intensity at the end point of the gradient.
Definition: Gradient.idl:83
Describes a gradient between two colors.
Definition: Gradient.idl:35
long Color
describes an RGB color value with an optional alpha channel.
Definition: Color.idl:36
short XOffset
Specifies the X-coordinate, where the gradient begins, whatever that means.
Definition: Gradient.idl:67
short Border
per cent of the total width where just the start color is used.
Definition: Gradient.idl:60
com::sun::star::util::Color StartColor
specifies the color at the start point of the gradient.
Definition: Gradient.idl:45