LibreOffice
LibreOffice 24.8 SDK API Reference
 
Loading...
Searching...
No Matches
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
20
21
22 module com { module sun { module star { module awt {
23
24
29published struct Gradient
30{
31
35
36
40
41
45
46
49 short Angle;
50
51
54 short Border;
55
56
61 short XOffset;
62
63
67 short YOffset;
68
69
73
74
78
79
83 short StepCount;
84
85};
86
87
88}; }; }; };
89
90/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
GradientStyle
specify the style of color dispersion.
Definition GradientStyle.idl:28
long Color
describes an RGB color value with an optional alpha channel.
Definition Color.idl:34
Definition Ambiguous.idl:20
Describes a gradient between two colors.
Definition Gradient.idl:30
short StepCount
Specifies the number of steps of change color.
Definition Gradient.idl:83
com::sun::star::util::Color StartColor
specifies the color at the start point of the gradient.
Definition Gradient.idl:39
short StartIntensity
Specifies the intensity at the start point of the gradient.
Definition Gradient.idl:72
short Border
per cent of the total width where just the start color is used.
Definition Gradient.idl:54
short Angle
angle of the gradient in 1/10 degree.
Definition Gradient.idl:49
com::sun::star::util::Color EndColor
specifies the color at the end point of the gradient.
Definition Gradient.idl:44
short XOffset
Specifies the X-coordinate, where the gradient begins.
Definition Gradient.idl:61
com::sun::star::awt::GradientStyle Style
specifies the style of the gradient.
Definition Gradient.idl:34
short EndIntensity
specifies the intensity at the end point of the gradient.
Definition Gradient.idl:77
short YOffset
Specifies the Y-coordinate, where the gradient begins.
Definition Gradient.idl:67