projects
/
platform
/
core
/
uifw
/
dali-toolkit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add ArcVisual
[platform/core/uifw/dali-toolkit.git]
/
dali-toolkit
/
devel-api
/
visuals
/
visual-properties-devel.h
diff --git
a/dali-toolkit/devel-api/visuals/visual-properties-devel.h
b/dali-toolkit/devel-api/visuals/visual-properties-devel.h
index
7839982
..
3d304a1
100644
(file)
--- a/
dali-toolkit/devel-api/visuals/visual-properties-devel.h
+++ b/
dali-toolkit/devel-api/visuals/visual-properties-devel.h
@@
-2,7
+2,7
@@
#define DALI_TOOLKIT_DEVEL_API_VISUALS_VISUAL_PROPERTIES_DEVEL_H
/*
#define DALI_TOOLKIT_DEVEL_API_VISUALS_VISUAL_PROPERTIES_DEVEL_H
/*
- * Copyright (c) 20
18
Samsung Electronics Co., Ltd.
+ * Copyright (c) 20
20
Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@
-47,7
+47,9
@@
enum Type
SVG = Dali::Toolkit::Visual::SVG,
ANIMATED_IMAGE = Dali::Toolkit::Visual::ANIMATED_IMAGE,
SVG = Dali::Toolkit::Visual::SVG,
ANIMATED_IMAGE = Dali::Toolkit::Visual::ANIMATED_IMAGE,
- ANIMATED_GRADIENT = ANIMATED_IMAGE + 1, //< Renders an animated gradient.
+ ANIMATED_GRADIENT = ANIMATED_IMAGE + 1, ///< Renders an animated gradient.
+ ANIMATED_VECTOR_IMAGE = ANIMATED_IMAGE + 2, ///< Renders an animated vector image.
+ ARC = ANIMATED_IMAGE + 3, ///< Renders an arc.
};
/**
};
/**
@@
-70,7
+72,14
@@
enum Type
* @see DevelVisual::FittingMode
* @note The default is defined by the type of visual (if it's suitable to be stretched or not).
*/
* @see DevelVisual::FittingMode
* @note The default is defined by the type of visual (if it's suitable to be stretched or not).
*/
- FITTING_MODE = OPACITY + 1,
+ VISUAL_FITTING_MODE = OPACITY + 1,
+
+ /**
+ * @brief The radius for the rounded corners of the visual
+ * @details Name "cornerRadius", type Property::FLOAT.
+ * @note Optional.
+ */
+ CORNER_RADIUS = OPACITY + 2,
};
} // namespace Property
};
} // namespace Property