LibreOffice
LibreOffice 4.3 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 
33 published struct Gradient
34 {
35 
39 
40 
44 
45 
49 
50 
53  short Angle;
54 
55 
58  short Border;
59 
60 
63  short XOffset;
64 
65 
68  short YOffset;
69 
70 
74 
75 
78  short EndIntensity;
79 
80 
83  short StepCount;
84 
85 };
86 
87 
88 }; }; }; };
89 
90 #endif
91 
92 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
short StepCount
specifies the number of steps of change color.
Definition: Gradient.idl:83
short YOffset
specifies the Y-coordinate, where the gradient begins.
Definition: Gradient.idl:68
short Angle
angle of the gradient in 1/10 degree.
Definition: Gradient.idl:53
com::sun::star::awt::GradientStyle Style
specifies the style of the gradient.
Definition: Gradient.idl:38
– idl definition –
Definition: Ambiguous.idl:22
com::sun::star::util::Color EndColor
specifies the color at the end point of the gradient.
Definition: Gradient.idl:48
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:73
short EndIntensity
specifies the intensity at the end point of the gradient.
Definition: Gradient.idl:78
describes a color dispersion within an area.
Definition: Gradient.idl:33
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.
Definition: Gradient.idl:63
short Border
per cent of the total width where just the start color is used.
Definition: Gradient.idl:58
com::sun::star::util::Color StartColor
specifies the color at the start point of the gradient.
Definition: Gradient.idl:43