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