Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / offapi / com / sun / star / animations / XAnimateColor.idl
blobd02b65f1b80b29374344a43ae16364926106efdd
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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/.
9 * This file incorporates work covered by the following license notice:
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 .
19 #ifndef __com_sun_star_animations_XAnimateColor_idl__
20 #define __com_sun_star_animations_XAnimateColor_idl__
22 #include <com/sun/star/animations/XAnimate.idl>
25 module com { module sun { module star { module animations {
28 /** Interface for animation by defining color changes over time.
29 <br>
30 Only color value will be legal values for the following members
31 <ul>
32 <li>XAnimate::Values</li>
33 <li>XAnimate::From</li>
34 <li>XAnimate::To</li>
35 <li>XAnimate::By</li>
36 </ul>
37 @see http://www.w3.org/TR/smil20/animation.html#edef-animateColor
39 interface XAnimateColor : XAnimate
41 /** defines the color space which is used to perform the interpolation.
42 <br>
43 @see AnimationColorSpace
45 [attribute] short ColorInterpolation;
47 /** defines the direction which is used to perform the interpolation
48 inside the color space defined with #ColorInterpolation.
49 <br>
50 Values could be `TRUE` for clockwise and `FALSE` for counterclockwise.
52 This attribute will be ignored for color spaces where this does
53 not make any sense.
55 [attribute] boolean Direction;
59 }; }; }; };
61 #endif
63 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */