[NUI] Add Horizontal/VerticalAlignment to LinearLayout
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI / src / public / Visuals / VisualConstants.cs
1 // Copyright (c) 2019 Samsung Electronics Co., Ltd.
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 using System.ComponentModel;
16
17 namespace Tizen.NUI
18 {
19     /// <summary>
20     /// Specifies the release policy types.<br />
21     /// Decides if the image should be cached in different conditions.
22     /// </summary>
23     /// <since_tizen> 5 </since_tizen>
24     public enum ReleasePolicyType
25     {
26         /// <summary>
27         /// Image is released when visual detached from scene.
28         /// </summary>
29         Detached = 0,
30         /// <summary>
31         /// Image is only released when visual is destroyed.
32         /// </summary>
33         Destroyed,
34         /// <summary>
35         /// Image is not released.
36         /// </summary>
37         Never
38     }
39
40     /// <summary>
41     /// Specifies the load policy types.<br />
42     /// Decides when the image texture should be loaded.
43     /// </summary>
44     /// <since_tizen> 5 </since_tizen>
45     public enum LoadPolicyType
46     {
47         /// <summary>
48         /// Load texture once the image source has been provided. Even if not being used yet.
49         /// </summary>
50         Immediate = 0,
51         /// <summary>
52         /// Only load texture once the visual is attached, when the image needs to be shown.
53         /// </summary>
54         Attached
55     }
56
57     /// <summary>
58     /// Enumeration for the horizontal alignment of objects such as texts and layout items.
59     /// </summary>
60     /// <since_tizen> 3 </since_tizen>
61     public enum HorizontalAlignment
62     {
63         /// <summary>
64         /// Objects are placed at the beginning of the horizontal direction.
65         /// </summary>
66         [Description("BEGIN")]
67         Begin,
68         /// <summary>
69         /// Objects are placed at the center of the horizontal direction.
70         /// </summary>
71         [Description("CENTER")]
72         Center,
73         /// <summary>
74         /// Objects are placed at the end of the horizontal direction.
75         /// </summary>
76         [Description("END")]
77         End
78     }
79
80     /// <summary>
81     /// Enumeration for the vertical alignment of objects such as texts and layout items.
82     /// </summary>
83     /// <since_tizen> 3 </since_tizen>
84     public enum VerticalAlignment
85     {
86         /// <summary>
87         /// Objects are placed at the top of the vertical direction.
88         /// </summary>
89         [Description("TOP")]
90         Top,
91         /// <summary>
92         /// Objects are placed at the center of the vertical direction.
93         /// </summary>
94         [Description("CENTER")]
95         Center,
96         /// <summary>
97         /// Objects are placed at the bottom of the vertical direction.
98         /// </summary>
99         [Description("BOTTOM")]
100         Bottom
101     }
102
103     /// <summary>
104     /// This specifies wrap mode types.<br />
105     /// WrapModeU and WrapModeV separately decide how the texture should be sampled when the u and v coordinate exceeds the range of 0.0 to 1.0.
106     /// </summary>
107     /// <since_tizen> 3 </since_tizen>
108     public enum WrapModeType
109     {
110         /// <summary>
111         /// The default value.
112         /// </summary>
113         Default = 0,
114         /// <summary>
115         /// Clamp to edge.
116         /// </summary>
117         ClampToEdge,
118         /// <summary>
119         /// Repeat.
120         /// </summary>
121         Repeat,
122         /// <summary>
123         /// Mirrored repeat.
124         /// </summary>
125         MirroredRepeat
126     }
127
128     /// <summary>
129     /// This specifies fitting mode types. Fitting options, used when resizing images to fit desired dimensions.<br />
130     /// A fitting mode controls the region of a loaded image to be mapped to the desired image rectangle.<br />
131     /// All fitting modes preserve the aspect ratio of the image contents.<br />
132     /// </summary>
133     /// <since_tizen> 3 </since_tizen>
134     public enum FittingModeType
135     {
136         /// <summary>
137         /// Full-screen image display: Limit loaded image resolution to device resolution using the ShrinkToFit mode.
138         /// </summary>
139         ShrinkToFit,
140         /// <summary>
141         /// Thumbnail gallery grid: Limit loaded image resolution to screen tile using the ScaleToFill mode.
142         /// </summary>
143         ScaleToFill,
144         /// <summary>
145         /// Image columns: Limit loaded image resolution to column width using the FitWidth mode.
146         /// </summary>
147         FitWidth,
148         /// <summary>
149         /// Image rows: Limit loaded image resolution to row height using the FitHeight mode.
150         /// </summary>
151         FitHeight,
152         /// <summary>
153         /// Image displayed in its original size (no scaling) using the Center mode.
154         /// </summary>
155         [EditorBrowsable(EditorBrowsableState.Never)]
156         Center,
157         /// <summary>
158         /// Image stretched to fill the desired area (aspect ratio could be changed) using the Fill mode.
159         /// </summary>
160         [EditorBrowsable(EditorBrowsableState.Never)]
161         Fill
162     }
163
164     /// <summary>
165     /// This specifies sampling mode types. Filtering options are used when resizing images to sample original pixels.<br />
166     /// A SamplingMode controls how pixels in an input image are sampled and combined to generate each pixel of a destination image during scaling.<br />
167     /// NoFilter and Box modes do not guarantee that the output pixel array exactly matches the rectangle specified by the desired dimensions and the FittingMode,<br />
168     /// but all other filter modes do if the desired dimensions are not more than the raw dimensions of the input image file.<br />
169     /// </summary>
170     /// <since_tizen> 3 </since_tizen>
171     public enum SamplingModeType
172     {
173         /// <summary>
174         /// Iteratively box filter to generate an image of 1/2, 1/4, 1/8, etc. width and height and approximately the desired size. <br />
175         /// This is the default.
176         /// </summary>
177         Box,
178         /// <summary>
179         /// For each output pixel, read one input pixel.
180         /// </summary>
181         Nearest,
182         /// <summary>
183         /// For each output pixel, read a quad of four input pixels and write a weighted average of them.
184         /// </summary>
185         Linear,
186         /// <summary>
187         /// Iteratively box filter to generate an image of 1/2, 1/4, 1/8, etc. width and height and approximately the desired size, <br />
188         /// then for each output pixel, read one pixel from the last level of box filtering.<br />
189         /// </summary>
190         BoxThenNearest,
191         /// <summary>
192         /// Iteratively box filter to almost the right size, then for each output pixel, read four pixels from the last level of box filtering and write their weighted average.
193         /// </summary>
194         BoxThenLinear,
195         /// <summary>
196         /// No filtering is performed. If the SCALE_TO_FILL scaling mode is enabled, the borders of the image may be trimmed to match the aspect ratio of the desired dimensions.
197         /// </summary>
198         NoFilter,
199         /// <summary>
200         /// For caching algorithms where a client strongly prefers a cache-hit to reuse a cached image.
201         /// </summary>
202         DontCare
203     }
204
205     /// <summary>
206     /// The type of coordinate system for certain attributes of the points in a gradient.
207     /// </summary>
208     /// <since_tizen> 3 </since_tizen>
209     public enum GradientVisualUnitsType
210     {
211         /// <summary>
212         /// Uses the normals for the start, end, and center points, i.e., top-left is (-0.5, -0.5) and bottom-right is (0.5, 0.5).
213         /// </summary>
214         ObjectBoundingBox,
215         /// <summary>
216         /// Uses the user coordinates for the start, end, and center points, i.e., in a 200 by 200 control, top-left is (0, 0) and bottom-right is (200, 200).
217         /// </summary>
218         UserSpace
219     }
220
221     /// <summary>
222     /// This specifies SpreadMethod types.<br />
223     /// SpreadMethod defines what happens if the gradient starts or ends inside the bounds of the target rectangle.<br />
224     /// </summary>
225     /// <since_tizen> 3 </since_tizen>
226     public enum GradientVisualSpreadMethodType
227     {
228         /// <summary>
229         /// Uses the terminal colors of the gradient to fill the remainder of the quad.
230         /// </summary>
231         Pad,
232         /// <summary>
233         /// Reflects the gradient pattern start-to-end, end-to-start, start-to-end, etc. until the quad is filled.
234         /// </summary>
235         Reflect,
236         /// <summary>
237         /// Repeats the gradient pattern start-to-end, start-to-end, start-to-end, etc. until the quad is filled.
238         /// </summary>
239         Repeat
240     }
241
242     /// <summary>
243     /// The shading mode used by the mesh visual.
244     /// </summary>
245     /// <since_tizen> 3 </since_tizen>
246     public enum MeshVisualShadingModeValue
247     {
248         /// <summary>
249         /// *Simplest*. One color that is lit by ambient and diffuse lighting.
250         /// </summary>
251         TexturelessWithDiffuseLighting,
252         /// <summary>
253         /// Uses only the visual image textures provided with specular lighting in addition to ambient and diffuse lighting.
254         /// </summary>
255         TexturedWithSpecularLighting,
256         /// <summary>
257         /// Uses all textures provided including gloss, normal, and texture map along with specular, ambient, and diffuse lighting.
258         /// </summary>
259         TexturedWithDetailedSpecularLighting
260     }
261
262     /// <summary>
263     /// The primitive shape to render as a primitive visual.
264     /// </summary>
265     /// <since_tizen> 3 </since_tizen>
266     public enum PrimitiveVisualShapeType
267     {
268         /// <summary>
269         /// A perfectly round geometrical object in the three-dimensional space.
270         /// </summary>
271         Sphere,
272         /// <summary>
273         /// The area bound between two circles, i.e., a cone with the tip removed.
274         /// </summary>
275         ConicalFrustrum,
276         /// <summary>
277         /// Equivalent to a conical frustum with the top radius of zero.
278         /// </summary>Equivalent to a conical frustum with the top radius of zero.
279         Cone,
280         /// <summary>
281         /// Equivalent to a conical frustum with the top radius of zero.
282         /// </summary>
283         Cylinder,
284         /// <summary>
285         /// Equivalent to a conical frustum with equal radii for the top and bottom circles.
286         /// </summary>
287         Cube,
288         /// <summary>
289         /// Equivalent to a bevelled cube with a bevel percentage of zero.
290         /// </summary>
291         Octahedron,
292         /// <summary>
293         /// Equivalent to a bevelled cube with a bevel percentage of one.
294         /// </summary>
295         BevelledCube
296     }
297
298     /// <summary>
299     /// The values of this enum determine how the visual should fit into the view.
300     /// </summary>
301     /// <since_tizen> 5 </since_tizen>
302     public enum VisualFittingModeType
303     {
304         /// <summary>
305         /// The visual should be scaled to fit, preserving aspect ratio.
306         /// </summary>
307         FitKeepAspectRatio,
308         /// <summary>
309         /// The visual should be stretched to fill, not preserving aspect ratio.
310         /// </summary>
311         Fill,
312         /// <summary>
313         /// The visual should be scaled to fit, preserving aspect ratio. The visual will be filled without empty area, and outside is cropped away.
314         /// </summary>
315         [EditorBrowsable(EditorBrowsableState.Never)]
316         OverFitKeepAspectRatio,
317         /// <summary>
318         /// The visual should keep original size of image. it is not scaled and not stretched.
319         /// </summary>
320         [EditorBrowsable(EditorBrowsableState.Never)]
321         Center,
322         /// <summary>
323         /// The visual should be scaled to fit, preserving aspect ratio. Height is scaled proportionately to maintain aspect ratio.
324         /// </summary>
325         [EditorBrowsable(EditorBrowsableState.Never)]
326         FitHeight,
327         /// <summary>
328         /// The visual should be scaled to fit, preserving aspect ratio. WIDTH is scaled proportionately to maintain aspect ratio.
329         /// </summary>
330         [EditorBrowsable(EditorBrowsableState.Never)]
331         FitWidth,
332     }
333
334     /// <summary>
335     /// This specifies policy types that could be used by the transform for the offset or size.
336     /// </summary>
337     /// <since_tizen> 3 </since_tizen>
338     public enum VisualTransformPolicyType
339     {
340         /// <summary>
341         /// Relative to the control (percentage [0.0f to 1.0f] of the control).
342         /// </summary>
343         Relative = 0,
344         /// <summary>
345         /// Absolute value in world units.
346         /// </summary>
347         Absolute = 1
348     }
349
350     /// <summary>
351     /// This specifies all the transform property types.
352     /// </summary>
353     /// <since_tizen> 3 </since_tizen>
354     public enum VisualTransformPropertyType
355     {
356         /// <summary>
357         /// Offset of the visual, which can be either relative (percentage [0.0f to 1.0f] of the parent) or absolute (in world units).
358         /// </summary>
359         Offset,
360         /// <summary>
361         /// Size of the visual, which can be either relative (percentage [0.0f to 1.0f] of the parent) or absolute (in world units).
362         /// </summary>
363         Size,
364         /// <summary>
365         /// The origin of the visual within its control area.
366         /// </summary>
367         Origin,
368         /// <summary>
369         /// The anchor-point of the visual.
370         /// </summary>
371         AnchorPoint,
372         /// <summary>
373         /// Whether the x or y offset values are relative (percentage [0.0f to 1.0f] of the control) or absolute (in world units).
374         /// </summary>
375         OffsetPolicy,
376         /// <summary>
377         /// Whether the width or the height size values are relative (percentage [0.0f to 1.0f] of the control) or absolute (in world units).
378         /// </summary>
379         SizePolicy,
380         /// <summary>
381         /// Extra size value that will be added to the computed visual size.
382         /// </summary>
383         [EditorBrowsable(EditorBrowsableState.Never)]
384         ExtraSize,
385     }
386
387     /// <summary>
388     /// This specifies visual types.
389     /// </summary>
390     /// <since_tizen> 3 </since_tizen>
391     public struct Visual
392     {
393         /// <summary>
394         /// The index for the visual type.
395         /// </summary>
396         /// <since_tizen> 3 </since_tizen>
397         public enum Type
398         {
399             /// <summary>
400             /// Renders a solid color as an internal border to the control's quad.
401             /// </summary>
402             Border,
403             /// <summary>
404             /// Renders a solid color to the control's quad.
405             /// </summary>
406             Color,
407             /// <summary>
408             /// Renders a smooth transition of colors to the control's quad.
409             /// </summary>
410             Gradient,
411             /// <summary>
412             /// Renders an image into the control's quad.
413             /// </summary>
414             Image,
415             /// <summary>
416             /// Renders a mesh using an "obj" file, optionally with textures provided by an "mtl" file.
417             /// </summary>
418             Mesh,
419             /// <summary>
420             /// Renders a simple 3D shape, such as a cube or a sphere.
421             /// </summary>
422             Primitive,
423             /// <summary>
424             /// Renders a simple wire-frame outlining a quad.
425             /// </summary>
426             Wireframe,
427             /// <summary>
428             /// Renders text.
429             /// </summary>
430             Text,
431             /// <summary>
432             /// Renders an NPatch image.
433             /// </summary>
434             NPatch,
435             /// <summary>
436             /// Renders an SVG image.
437             /// </summary>
438             SVG,
439             /// <summary>
440             /// Renders a animated image (animated GIF).
441             /// </summary>
442             AnimatedImage,
443             /// <summary>
444             /// Renders an arc.
445             /// </summary>
446             [EditorBrowsable(EditorBrowsableState.Never)]
447             Arc = AnimatedImage + 3,
448         }
449
450         /// <summary>
451         /// This specifies visual properties.
452         /// </summary>
453         /// <since_tizen> 3 </since_tizen>
454         [System.Diagnostics.CodeAnalysis.SuppressMessage("Naming", "CA1716: Identifiers should not match keywords")]
455         public struct Property
456         {
457             /// <summary>
458             /// Type.
459             /// </summary>
460             /// <since_tizen> 3 </since_tizen>
461             public static readonly int Type = NDalic.VisualPropertyType;
462             /// <summary>
463             /// Shader.
464             /// </summary>
465             /// <since_tizen> 3 </since_tizen>
466             public static readonly int Shader = NDalic.VisualPropertyShader;
467             /// <summary>
468             /// Transform.
469             /// </summary>
470             /// <since_tizen> 3 </since_tizen>
471             public static readonly int Transform = NDalic.VisualPropertyTransform;
472             /// <summary>
473             /// PremultipliedAlpha.
474             /// </summary>
475             /// <since_tizen> 3 </since_tizen>
476             public static readonly int PremultipliedAlpha = NDalic.VisualPropertyPremultipliedAlpha;
477             /// <summary>
478             /// MixColor.
479             /// </summary>
480             /// <since_tizen> 3 </since_tizen>
481             public static readonly int MixColor = NDalic.VisualPropertyMixColor;
482             /// <summary>
483             /// Opacity.
484             /// </summary>
485             /// <since_tizen> 3 </since_tizen>
486             public static readonly int Opacity = NDalic.VisualPropertyMixColor + 1;
487             /// <summary>
488             /// The fitting mode of the visual.
489             /// </summary>
490             /// <since_tizen> 5 </since_tizen>
491             public static readonly int VisualFittingMode = NDalic.VisualPropertyMixColor + 2;
492             /// <summary>
493             /// The corner radius of the visual.
494             /// </summary>
495             [EditorBrowsable(EditorBrowsableState.Never)]
496             public static readonly int CornerRadius = NDalic.VisualPropertyMixColor + 3;
497             /// <summary>
498             /// The corner radius policy of the visual.
499             /// Whether the corner radius value is relative (percentage [0.0f to 1.0f] of the visual size) or absolute (in world units).
500             /// </summary>
501             [EditorBrowsable(EditorBrowsableState.Never)]
502             public static readonly int CornerRadiusPolicy = NDalic.VisualPropertyMixColor + 4;
503             /// <summary>
504             /// The borderline width of the visual.
505             /// </summary>
506             [EditorBrowsable(EditorBrowsableState.Never)]
507             public static readonly int BorderlineWidth = NDalic.VisualPropertyMixColor + 5;
508             /// <summary>
509             /// The borderline color of the visual.
510             /// </summary>
511             [EditorBrowsable(EditorBrowsableState.Never)]
512             public static readonly int BorderlineColor = NDalic.VisualPropertyMixColor + 6;
513             /// <summary>
514             /// The borderline offset of the visual.
515             /// Relative position of borderline. (percentage [-1.0f to 1.0f]).
516             /// If -1.0f, borderline draw inside of visual
517             /// If 1.0f, borderline draw outside of visual
518             /// If 0.0f, half draw inside and half draw outside of visual
519             /// </summary>
520             [EditorBrowsable(EditorBrowsableState.Never)]
521             public static readonly int BorderlineOffset = NDalic.VisualPropertyMixColor + 7;
522         }
523
524         /// <summary>
525         /// This specifies shader properties.
526         /// </summary>
527         /// <since_tizen> 3 </since_tizen>
528         public struct ShaderProperty
529         {
530             /// <summary>
531             /// Vertex shader code
532             /// </summary>
533             /// <since_tizen> 3 </since_tizen>
534             public static readonly int VertexShader = NDalic.VisualShaderVertex;
535             /// <summary>
536             /// Fragment shader code
537             /// </summary>
538             /// <since_tizen> 3 </since_tizen>
539             public static readonly int FragmentShader = NDalic.VisualShaderFragment;
540             /// <summary>
541             /// How to subdivide the grid along X
542             /// </summary>
543             /// <since_tizen> 3 </since_tizen>
544             public static readonly int ShaderSubdivideGridX = NDalic.VisualShaderSubdivideGridX;
545             /// <summary>
546             /// How to subdivide the grid along Y
547             /// </summary>
548             /// <since_tizen> 3 </since_tizen>
549             public static readonly int ShaderSubdivideGridY = NDalic.VisualShaderSubdivideGridY;
550             /// <summary>
551             /// Bitmask of hints
552             /// </summary>
553             /// <since_tizen> 3 </since_tizen>
554             public static readonly int ShaderHints = NDalic.VisualShaderHints;
555         }
556
557         /// <summary>
558         /// This specifies visual align types.
559         /// </summary>
560         /// <since_tizen> 3 </since_tizen>
561         public enum AlignType
562         {
563             /// <summary>
564             /// TopBegin
565             /// </summary>
566             /// <since_tizen> 3 </since_tizen>
567             TopBegin = 0,
568             /// <summary>
569             /// TopCenter
570             /// </summary>
571             /// <since_tizen> 3 </since_tizen>
572             TopCenter,
573             /// <summary>
574             /// TopEnd
575             /// </summary>
576             /// <since_tizen> 3 </since_tizen>
577             TopEnd,
578             /// <summary>
579             /// CenterBegin
580             /// </summary>
581             /// <since_tizen> 3 </since_tizen>
582             CenterBegin,
583             /// <summary>
584             /// Center
585             /// </summary>
586             /// <since_tizen> 3 </since_tizen>
587             Center,
588             /// <summary>
589             /// CenterEnd
590             /// </summary>
591             /// <since_tizen> 3 </since_tizen>
592             CenterEnd,
593             /// <summary>
594             /// BottomBegin
595             /// </summary>
596             /// <since_tizen> 3 </since_tizen>
597             BottomBegin,
598             /// <summary>
599             /// BottomCenter
600             /// </summary>
601             /// <since_tizen> 3 </since_tizen>
602             BottomCenter,
603             /// <summary>
604             /// BottomEnd
605             /// </summary>
606             /// <since_tizen> 3 </since_tizen>
607             BottomEnd
608         }
609     }
610
611     /// <summary>
612     /// This specifies properties of the BorderVisual.
613     /// </summary>
614     /// <since_tizen> 3 </since_tizen>
615     public struct BorderVisualProperty
616     {
617         /// <summary>
618         /// The color of the border.
619         /// </summary>
620         /// <since_tizen> 3 </since_tizen>
621         public static readonly int Color = NDalic.BorderVisualColor;
622         /// <summary>
623         /// The width of the border (in pixels).
624         /// </summary>
625         /// <since_tizen> 3 </since_tizen>
626         public static readonly int Size = NDalic.BorderVisualSize;
627         /// <summary>
628         /// Whether anti-aliasing of the border is required.
629         /// </summary>
630         /// <since_tizen> 3 </since_tizen>
631         public static readonly int AntiAliasing = NDalic.BorderVisualAntiAliasing;
632     }
633
634     /// <summary>
635     /// This specifies properties of the ColorVisual.
636     /// </summary>
637     /// <since_tizen> 3 </since_tizen>
638     public struct ColorVisualProperty
639     {
640         /// <summary>
641         /// The solid color required.
642         /// </summary>
643         /// <since_tizen> 3 </since_tizen>
644         public static readonly int MixColor = NDalic.ColorVisualMixColor;
645         /// <summary>
646         /// Whether to render if the MixColor is transparent.
647         /// </summary>
648         /// <since_tizen> 5 </since_tizen>
649         public static readonly int RenderIfTransparent = NDalic.ColorVisualMixColor + 1;
650         /// <summary>
651         /// Then radius value for the area to blur.
652         /// </summary>
653         [EditorBrowsable(EditorBrowsableState.Never)]
654         public static readonly int BlurRadius = NDalic.ColorVisualMixColor + 2;
655     }
656
657     /// <summary>
658     /// This specifies properties of the GradientVisual.
659     /// </summary>
660     /// <since_tizen> 3 </since_tizen>
661     public struct GradientVisualProperty
662     {
663         /// <summary>
664         /// The start position of a linear gradient.
665         /// </summary>
666         /// <since_tizen> 3 </since_tizen>
667         public static readonly int StartPosition = NDalic.GradientVisualStartPosition;
668         /// <summary>
669         /// The end position of a linear gradient.
670         /// </summary>
671         /// <since_tizen> 3 </since_tizen>
672         public static readonly int EndPosition = NDalic.GradientVisualEndPosition;
673         /// <summary>
674         /// The center point of a radial gradient.
675         /// </summary>
676         /// <since_tizen> 3 </since_tizen>
677         public static readonly int Center = NDalic.GradientVisualCenter;
678         /// <summary>
679         /// The size of the radius of a radial gradient.
680         /// </summary>
681         /// <since_tizen> 3 </since_tizen>
682         public static readonly int Radius = NDalic.GradientVisualRadius;
683         /// <summary>
684         /// All the stop offsets.
685         /// </summary>
686         /// <since_tizen> 3 </since_tizen>
687         public static readonly int StopOffset = NDalic.GradientVisualStopOffset;
688         /// <summary>
689         /// The color at the stop offsets.
690         /// </summary>
691         /// <since_tizen> 3 </since_tizen>
692         public static readonly int StopColor = NDalic.GradientVisualStopColor;
693         /// <summary>
694         /// Defines the coordinate system for certain attributes of the points in a gradient.
695         /// </summary>
696         /// <since_tizen> 3 </since_tizen>
697         public static readonly int Units = NDalic.GradientVisualUnits;
698         /// <summary>
699         /// Indicates what happens if the gradient starts or ends inside the bounds of the target rectangle.
700         /// </summary>
701         /// <since_tizen> 3 </since_tizen>
702         public static readonly int SpreadMethod = NDalic.GradientVisualSpreadMethod;
703     }
704
705     /// <summary>
706     /// This specifies properties of the ImageVisual.
707     /// </summary>
708     /// <since_tizen> 3 </since_tizen>
709     public struct ImageVisualProperty
710     {
711         /// <summary>
712         /// The URL of the image.
713         /// </summary>
714         /// <since_tizen> 3 </since_tizen>
715         public static readonly int URL = NDalic.ImageVisualUrl;
716
717         /// <summary>
718         /// Fitting options, used when resizing images to fit desired dimensions.
719         /// </summary>
720         /// <since_tizen> 3 </since_tizen>
721         public static readonly int FittingMode = NDalic.ImageVisualFittingMode;
722
723         /// <summary>
724         /// Filtering options, used when resizing images to sample original pixels.
725         /// </summary>
726         /// <since_tizen> 3 </since_tizen>
727         public static readonly int SamplingMode = NDalic.ImageVisualSamplingMode;
728
729         /// <summary>
730         /// The desired image width.
731         /// </summary>
732         /// <since_tizen> 3 </since_tizen>
733         public static readonly int DesiredWidth = NDalic.ImageVisualDesiredWidth;
734
735         /// <summary>
736         /// The desired image height.
737         /// </summary>
738         /// <since_tizen> 3 </since_tizen>
739         public static readonly int DesiredHeight = NDalic.ImageVisualDesiredHeight;
740
741         /// <summary>
742         /// Whether to load the image synchronously.
743         /// </summary>
744         /// <since_tizen> 3 </since_tizen>
745         public static readonly int SynchronousLoading = NDalic.ImageVisualSynchronousLoading;
746
747         /// <summary>
748         /// If true, only draws the borders.
749         /// </summary>
750         /// <since_tizen> 3 </since_tizen>
751         public static readonly int BorderOnly = NDalic.ImageVisualBorderOnly;
752
753         /// <summary>
754         /// The image area to be displayed.
755         /// </summary>
756         /// <since_tizen> 3 </since_tizen>
757         public static readonly int PixelArea = NDalic.ImageVisualPixelArea;
758
759         /// <summary>
760         /// The wrap mode for u coordinate.
761         /// </summary>
762         /// <since_tizen> 3 </since_tizen>
763         public static readonly int WrapModeU = NDalic.ImageVisualWrapModeU;
764
765         /// <summary>
766         /// The wrap mode for v coordinate.
767         /// </summary>
768         /// <since_tizen> 3 </since_tizen>
769         public static readonly int WrapModeV = NDalic.ImageVisualWrapModeV;
770
771         /// <summary>
772         /// The border of the image.
773         /// </summary>
774         /// <since_tizen> 3 </since_tizen>
775         public static readonly int Border = NDalic.ImageVisualBorder;
776
777         /// <summary>
778         /// Whether to use the texture atlas.
779         /// </summary>
780         /// <since_tizen> 5 </since_tizen>
781         public static readonly int Atlasing = NDalic.ImageVisualBorder + 1;
782
783         /// <summary>
784         /// The URL of the alpha mask image.
785         /// </summary>
786         /// <since_tizen> 3 </since_tizen>
787         public static readonly int AlphaMaskURL = NDalic.ImageVisualAlphaMaskUrl;
788
789         /// <summary>
790         /// Defines the batch size for pre-loading images in the AnimatedImageVisual
791         /// </summary>
792         /// <since_tizen> 4 </since_tizen>
793         public static readonly int BatchSize = NDalic.ImageVisualBatchSize;
794
795         /// <summary>
796         /// Defines the cache size for loading images in the AnimatedImageVisual
797         /// </summary>
798         /// <since_tizen> 4 </since_tizen>
799         public static readonly int CacheSize = NDalic.ImageVisualCacheSize;
800
801         /// <summary>
802         /// The number of milliseconds between each frame in the AnimatedImageVisual
803         /// </summary>
804         /// <since_tizen> 4 </since_tizen>
805         public static readonly int FrameDelay = NDalic.ImageVisualFrameDelay;
806
807         /// <summary>
808         /// The scale factor to apply to the content image before masking.
809         /// </summary>
810         /// <since_tizen> 4 </since_tizen>
811         public static readonly int MaskContentScale = NDalic.ImageVisualMaskContentScale;
812
813         /// <summary>
814         /// Whether to crop image to mask or scale mask to fit image
815         /// </summary>
816         /// <since_tizen> 4 </since_tizen>
817         public static readonly int CropToMask = NDalic.ImageVisualCropToMask;
818
819         /// <summary>
820         /// The policy to determine when an image should be loaded.
821         /// </summary>
822         /// <since_tizen> 5 </since_tizen>
823         public static readonly int LoadPolicy = NDalic.ImageVisualLoadPolicy;
824
825         /// <summary>
826         /// The policy to determine when an image should no longer be cached.
827         /// </summary>
828         /// <since_tizen> 5 </since_tizen>
829         public static readonly int ReleasePolicy = NDalic.ImageVisualReleasePolicy;
830
831         /// <summary>
832         /// Determines if image orientation should be corrected so that the image displays as it was intended.
833         /// </summary>
834         /// <since_tizen> 5 </since_tizen>
835         public static readonly int OrientationCorrection = NDalic.ImageVisualOrientationCorrection;
836
837         /// <summary>
838         /// Overlays the auxiliary image on top of an NPatch image.
839         /// </summary>
840         /// <since_tizen> 5 </since_tizen>
841         public static readonly int AuxiliaryImageURL = NDalic.ImageVisualAuxiliaryImageUrl;
842
843         /// <summary>
844         /// Alpha value for the auxiliary image, without affecting the underlying NPatch image
845         /// </summary>
846         /// <since_tizen> 5 </since_tizen>
847         public static readonly int AuxiliaryImageAlpha = NDalic.ImageVisualAuxiliaryImageAlpha;
848
849         /// <summary>
850         /// The number of times the AnimatedImageVisual will be looped.
851         /// The default is -1. If the value is less than 0, loop unlimited. Otherwise, loop loopCount times.
852         /// </summary>
853         /// <since_tizen> 5 </since_tizen>
854         public static readonly int LoopCount = NDalic.ImageVisualLoopCount;
855
856         /// <summary>
857         /// @brief The playing range the AnimatedVectorImageVisual will use.
858         /// Animation will play between the values specified.The array can only have two values, and more will be ignored.
859         /// Both values should be between 0 and the total frame number, otherwise they will be ignored.
860         /// If the range provided is not in proper order (minimum, maximum), it will be reordered.
861         /// @details Name "playRange", Type Property::ARRAY of Property::INTEGER
862         /// @note Default 0 and the total frame number.
863         /// </summary>
864         /// <remarks>
865         /// Hidden API (Inhouse API)
866         /// </remarks>
867         [EditorBrowsable(EditorBrowsableState.Never)]
868         public static readonly int PlayRange = NDalic.ImageVisualOrientationCorrection + 4;
869
870         /// <summary>
871         /// @brief The playing state the AnimatedVectorImageVisual will use.
872         /// @details Name "playState", type PlayState (Property::INTEGER)
873         /// @note This property is read-only.
874         /// </summary>
875         /// <remarks>
876         /// Hidden API (Inhouse API)
877         /// </remarks>
878         [EditorBrowsable(EditorBrowsableState.Never)]
879         public static readonly int PlayState = NDalic.ImageVisualOrientationCorrection + 5;
880
881         /// <summary>
882         /// @brief The current frame number the AnimatedVectorImageVisual will use.
883         /// @details Name "currentFrameNumber", Type Property::INTEGER, between[0, the maximum frame number] or between the play range if specified
884         /// @note This property is read-only.
885         /// </summary>
886         /// <remarks>
887         /// Inhouse API
888         /// </remarks>
889         [EditorBrowsable(EditorBrowsableState.Never)]
890         public static readonly int CurrentFrameNumber = NDalic.ImageVisualOrientationCorrection + 6;
891
892         /// <summary>
893         /// @brief The total frame number the AnimatedVectorImageVisual will use.
894         /// @details Name "totalFrameNumber", Type Property::INTEGER.
895         /// @note This property is read-only.
896         /// </summary>
897         /// <remarks>
898         /// Inhouse API
899         /// </remarks>
900         [EditorBrowsable(EditorBrowsableState.Never)]
901         public static readonly int TotalFrameNumber = NDalic.ImageVisualOrientationCorrection + 7;
902
903         /// <summary>
904         /// @brief  The stop behavior the AnimatedVectorImageVisual will use.
905         /// @details Name "stopBehavior", Type StopBehavior::Type (Property::INTEGER)
906         /// @note Default value is StopBehavior::CURRENT_FRAME.
907         /// </summary>
908         /// <remarks>
909         /// Inhouse API
910         /// </remarks>
911         [EditorBrowsable(EditorBrowsableState.Never)]
912         public static readonly int StopBehavior = NDalic.ImageVisualOrientationCorrection + 8;
913
914         /// <summary>
915         /// @brief  The looping mode the AnimatedVectorImageVisual will use.
916         /// @details Name "loopingMode", Type LoopingMode::Type (Property::INTEGER)
917         /// @note Default value is LoopingMode::RESTART.
918         /// </summary>
919         /// <remarks>
920         /// Inhouse API
921         /// </remarks>
922         [EditorBrowsable(EditorBrowsableState.Never)]
923         public static readonly int LoopingMode = NDalic.ImageVisualOrientationCorrection + 9;
924
925         /// <summary>
926         /// @brief The content information the AnimatedVectorImageVisual will use.
927         /// @details Name "contentInfo", Type Property::MAP.
928         /// The map contains the layer name as a key and Property::Array as a value.
929         /// And the array contains 2 integer values which are the frame numbers, the start frame number and the end frame number of the layer.
930         /// @note This property is read-only.
931         /// </summary>
932         /// <remarks>
933         /// Inhouse API
934         /// </remarks>
935         [EditorBrowsable(EditorBrowsableState.Never)]
936         public static readonly int ContentInfo = NDalic.ImageVisualOrientationCorrection + 10;
937
938         /// <summary>
939         /// @brief Whether to redraw the image when the visual is scaled down.
940         /// @details Name "redrawInScalingDown", type Property::BOOLEAN.
941         /// @note It is used in the AnimatedVectorImageVisual.The default is true.
942         /// </summary>
943         /// <remarks>
944         /// Inhouse API
945         /// </remarks>
946         [EditorBrowsable(EditorBrowsableState.Never)]
947         public static readonly int RedrawInScalingDown = NDalic.ImageVisualOrientationCorrection + 11;
948     }
949
950     /// <summary>
951     /// This specifies properties of the MeshVisual.
952     /// </summary>
953     /// <since_tizen> 3 </since_tizen>
954     public struct MeshVisualProperty
955     {
956         /// <summary>
957         /// The location of the ".obj" file.
958         /// </summary>
959         /// <since_tizen> 3 </since_tizen>
960         public static readonly int ObjectURL = NDalic.MeshVisualObjectUrl;
961         /// <summary>
962         /// The location of the ".mtl" file.
963         /// </summary>
964         [EditorBrowsable(EditorBrowsableState.Never)]
965         public static readonly int MaterialURL = NDalic.MeshVisualMaterialUrl;
966         /// <summary>
967         /// The location of the ".mtl" file.
968         /// </summary>
969         /// <since_tizen> 3 </since_tizen>
970         public static readonly int MaterialtURL = NDalic.MeshVisualMaterialUrl;
971         /// <summary>
972         /// Path to the directory the textures (including gloss and normal) are stored in.
973         /// </summary>
974         /// <since_tizen> 3 </since_tizen>
975         public static readonly int TexturesPath = NDalic.MeshVisualTexturesPath;
976         /// <summary>
977         /// Sets the type of shading mode that the mesh will use.
978         /// </summary>
979         /// <since_tizen> 3 </since_tizen>
980         public static readonly int ShadingMode = NDalic.MeshVisualShadingMode;
981         /// <summary>
982         /// Whether to use mipmaps for textures or not.
983         /// </summary>
984         /// <since_tizen> 3 </since_tizen>
985         public static readonly int UseMipmapping = NDalic.MeshVisualUseMipmapping;
986         /// <summary>
987         /// Whether to average normals at each point to smooth textures or not.
988         /// </summary>
989         /// <since_tizen> 3 </since_tizen>
990         public static readonly int UseSoftNormals = NDalic.MeshVisualUseSoftNormals;
991         /// <summary>
992         /// The position, in stage space, of the point light that applies lighting to the model.
993         /// </summary>
994         /// <since_tizen> 3 </since_tizen>
995         public static readonly int LightPosition = NDalic.MeshVisualLightPosition;
996     }
997
998     /// <summary>
999     /// This specifies properties of the PrimitiveVisual.
1000     /// </summary>
1001     /// <since_tizen> 3 </since_tizen>
1002     public struct PrimitiveVisualProperty
1003     {
1004         /// <summary>
1005         /// The specific shape to render.
1006         /// </summary>
1007         /// <since_tizen> 3 </since_tizen>
1008         public static readonly int Shape = NDalic.PrimitiveVisualShape;
1009         /// <summary>
1010         /// The color of the shape.
1011         /// </summary>
1012         /// <since_tizen> 3 </since_tizen>
1013         public static readonly int MixColor = NDalic.PrimitiveVisualMixColor;
1014         /// <summary>
1015         /// The number of slices as you go around the shape.
1016         /// </summary>
1017         /// <since_tizen> 3 </since_tizen>
1018         public static readonly int Slices = NDalic.PrimitiveVisualSlices;
1019         /// <summary>
1020         /// The number of stacks as you go down the shape.
1021         /// </summary>
1022         /// <since_tizen> 3 </since_tizen>
1023         public static readonly int Stacks = NDalic.PrimitiveVisualStacks;
1024         /// <summary>
1025         /// The scale of the radius of the top circle of a conical frustum.
1026         /// </summary>
1027         /// <since_tizen> 3 </since_tizen>
1028         public static readonly int ScaleTopRadius = NDalic.PrimitiveVisualScaleTopRadius;
1029         /// <summary>
1030         /// The scale of the radius of the bottom circle of a conical frustum.
1031         /// </summary>
1032         /// <since_tizen> 3 </since_tizen>
1033         public static readonly int ScaleBottomRadius = NDalic.PrimitiveVisualScaleBottomRadius;
1034         /// <summary>
1035         /// The scale of the height of a conic.
1036         /// </summary>
1037         /// <since_tizen> 3 </since_tizen>
1038         public static readonly int ScaleHeight = NDalic.PrimitiveVisualScaleHeight;
1039         /// <summary>
1040         /// The scale of the radius of a cylinder.
1041         /// </summary>
1042         /// <since_tizen> 3 </since_tizen>
1043         public static readonly int ScaleRadius = NDalic.PrimitiveVisualScaleRadius;
1044         /// <summary>
1045         /// The dimensions of a cuboid. Scales in the same fashion as a 9-patch image.
1046         /// </summary>
1047         /// <since_tizen> 3 </since_tizen>
1048         public static readonly int ScaleDimensions = NDalic.PrimitiveVisualScaleDimensions;
1049         /// <summary>
1050         /// Determines how bevelled the cuboid should be, based off the smallest dimension.
1051         /// </summary>
1052         /// <since_tizen> 3 </since_tizen>
1053         public static readonly int BevelPercentage = NDalic.PrimitiveVisualBevelPercentage;
1054         /// <summary>
1055         /// Defines how smooth the bevelled edges should be.
1056         /// </summary>
1057         /// <since_tizen> 3 </since_tizen>
1058         public static readonly int BevelSmoothness = NDalic.PrimitiveVisualBevelSmoothness;
1059         /// <summary>
1060         /// The position, in stage space, of the point light that applies lighting to the model.
1061         /// </summary>
1062         /// <since_tizen> 3 </since_tizen>
1063         public static readonly int LightPosition = NDalic.PrimitiveVisualLightPosition;
1064     }
1065
1066     /// <summary>
1067     /// This specifies properties of the TextVisual.
1068     /// </summary>
1069     /// <since_tizen> 3 </since_tizen>
1070     public struct TextVisualProperty
1071     {
1072         /// <summary>
1073         /// The text to display in UTF-8 format.
1074         /// </summary>
1075         /// <since_tizen> 3 </since_tizen>
1076         public static readonly int Text = NDalic.TextVisualText;
1077         /// <summary>
1078         /// The requested font family to use.
1079         /// </summary>
1080         /// <since_tizen> 3 </since_tizen>
1081         public static readonly int FontFamily = NDalic.TextVisualFontFamily;
1082         /// <summary>
1083         /// The requested font style to use.
1084         /// </summary>
1085         /// <since_tizen> 3 </since_tizen>
1086         public static readonly int FontStyle = NDalic.TextVisualFontStyle;
1087         /// <summary>
1088         /// The size of font in points.
1089         /// </summary>
1090         /// <since_tizen> 3 </since_tizen>
1091         public static readonly int PointSize = NDalic.TextVisualPointSize;
1092         /// <summary>
1093         /// The single-line or multi-line layout option.
1094         /// </summary>
1095         /// <since_tizen> 3 </since_tizen>
1096         public static readonly int MultiLine = NDalic.TextVisualMultiLine;
1097         /// <summary>
1098         /// The line horizontal alignment.
1099         /// </summary>
1100         /// <since_tizen> 3 </since_tizen>
1101         public static readonly int HorizontalAlignment = NDalic.TextVisualHorizontalAlignment;
1102         /// <summary>
1103         /// The line vertical alignment.
1104         /// </summary>
1105         /// <since_tizen> 3 </since_tizen>
1106         public static readonly int VerticalAlignment = NDalic.TextVisualVerticalAlignment;
1107         /// <summary>
1108         /// The color of the text.
1109         /// </summary>
1110         /// <since_tizen> 3 </since_tizen>
1111         public static readonly int TextColor = NDalic.TextVisualTextColor;
1112         /// <summary>
1113         /// Whether the mark-up processing is enabled.
1114         /// </summary>
1115         /// <since_tizen> 3 </since_tizen>
1116         public static readonly int EnableMarkup = NDalic.TextVisualEnableMarkup;
1117         /// <summary>
1118         /// The shadow parameters.
1119         /// </summary>
1120         /// <since_tizen> 5 </since_tizen>
1121         public static readonly int Shadow = NDalic.TextVisualEnableMarkup + 1;
1122         /// <summary>
1123         /// The default underline parameters.
1124         /// </summary>
1125         /// <since_tizen> 5 </since_tizen>
1126         public static readonly int Underline = NDalic.TextVisualEnableMarkup + 2;
1127         /// <summary>
1128         /// The default outline parameters.
1129         /// </summary>
1130         /// <since_tizen> 5 </since_tizen>
1131         public static readonly int Outline = NDalic.TextVisualEnableMarkup + 3;
1132         /// <summary>
1133         /// The default text background parameters.
1134         /// </summary>
1135         /// <since_tizen> 5 </since_tizen>
1136         public static readonly int Background = NDalic.TextVisualEnableMarkup + 4;
1137     }
1138
1139     /// <summary>
1140     /// This specifies properties of the NpatchImageVisual.
1141     /// </summary>
1142     /// <since_tizen> 3 </since_tizen>
1143     public struct NpatchImageVisualProperty
1144     {
1145         /// <summary>
1146         /// The URL of the image.
1147         /// </summary>
1148         /// <since_tizen> 3 </since_tizen>
1149         public static readonly int URL = NDalic.ImageVisualUrl;
1150         /// <summary>
1151         /// Fitting options, used when resizing images to fit desired dimensions.
1152         /// </summary>
1153         /// <since_tizen> 3 </since_tizen>
1154         public static readonly int FittingMode = NDalic.ImageVisualFittingMode;
1155         /// <summary>
1156         /// Filtering options, used when resizing images to sample original pixels.
1157         /// </summary>
1158         /// <since_tizen> 3 </since_tizen>
1159         public static readonly int SamplingMode = NDalic.ImageVisualSamplingMode;
1160         /// <summary>
1161         /// The desired image width.
1162         /// </summary>
1163         /// <since_tizen> 3 </since_tizen>
1164         public static readonly int DesiredWidth = NDalic.ImageVisualDesiredWidth;
1165         /// <summary>
1166         /// The desired image height.
1167         /// </summary>
1168         /// <since_tizen> 3 </since_tizen>
1169         public static readonly int DesiredHeight = NDalic.ImageVisualDesiredHeight;
1170         /// <summary>
1171         /// Whether to load the image synchronously.
1172         /// </summary>
1173         /// <since_tizen> 3 </since_tizen>
1174         public static readonly int SynchronousLoading = NDalic.ImageVisualSynchronousLoading;
1175         /// <summary>
1176         /// If true, only draws the borders.
1177         /// </summary>
1178         /// <since_tizen> 3 </since_tizen>
1179         public static readonly int BorderOnly = NDalic.ImageVisualBorderOnly;
1180         /// <summary>
1181         /// The image area to be displayed.
1182         /// </summary>
1183         /// <since_tizen> 3 </since_tizen>
1184         public static readonly int PixelArea = NDalic.ImageVisualPixelArea;
1185         /// <summary>
1186         /// The wrap mode for u coordinate.
1187         /// </summary>
1188         /// <since_tizen> 3 </since_tizen>
1189         public static readonly int WrapModeU = NDalic.ImageVisualWrapModeU;
1190         /// <summary>
1191         /// The wrap mode for v coordinate.
1192         /// </summary>
1193         /// <since_tizen> 3 </since_tizen>
1194         public static readonly int WrapModeV = NDalic.ImageVisualWrapModeV;
1195         /// <summary>
1196         /// The border of the image.
1197         /// </summary>
1198         /// <since_tizen> 3 </since_tizen>
1199         public static readonly int Border = NDalic.ImageVisualWrapModeV + 1;
1200     }
1201
1202     /// <summary>
1203     /// This specifies properties of the ArcVisual.
1204     /// </summary>
1205     internal struct ArcVisualProperty
1206     {
1207         /// <summary>
1208         /// The thickness of the arc.
1209         /// </summary>
1210         /// <remarks>The value is float type.</remarks>
1211         /// <remarks>This is mandatory property.</remarks>
1212         internal static readonly int Thickness = NDalic.ImageVisualUrl;
1213
1214         /// <summary>
1215         /// The start angle where the arc begins in degrees.
1216         /// </summary>
1217         /// <remarks>The value is float type.</remarks>
1218         /// <remarks>The property of optional. The default value is 0.</remarks>
1219         internal static readonly int StartAngle = Thickness + 1;
1220
1221         /// <summary>
1222         /// The sweep angle of the arc in degrees.
1223         /// </summary>
1224         /// <remarks>The value is float type.</remarks>
1225         /// <remarks>The property of optional. The default value is 360.</remarks>
1226         internal static readonly int SweepAngle = Thickness + 2;
1227
1228         /// <summary>
1229         /// The cap style of the arc.
1230         /// </summary>
1231         /// <remarks>
1232         /// The value is integer type.
1233         /// The value 0 means butt, the arc does not extend beyond its two endpoints.
1234         /// The value 1 means round, the arc will be extended by a half circle with the center at the end.
1235         /// </remarks>
1236         /// <remarks>The property of optional. The default value is 0 (butt).</remarks>
1237         internal static readonly int Cap = Thickness + 3;
1238     }
1239
1240     /// <summary>
1241     /// Enumeration for Circular alignment.
1242     /// The @p horizontalAlignment and @p verticalAlignment can be used to align the text within the text area.
1243     /// </summary>
1244     [EditorBrowsable(EditorBrowsableState.Never)]
1245     public enum CircularAlignment
1246     {
1247         /// <summary>
1248         /// Texts place at the begin of Circular direction.
1249         /// </summary>
1250         [Description("BEGIN")]
1251         Begin,
1252         /// <summary>
1253         /// Texts place at the center of Circular direction.
1254         /// </summary>
1255         [Description("CENTER")]
1256         Center,
1257         /// <summary>
1258         /// Texts place at the end of Circular direction.
1259         /// </summary>
1260         [Description("END")]
1261         End
1262     }
1263
1264     /// <summary>
1265     /// Enumeration for Text Layout.
1266     /// </summary>
1267     [EditorBrowsable(EditorBrowsableState.Never)]
1268     public enum TextLayout
1269     {
1270         /// <summary>
1271         /// SingleLine.
1272         /// </summary>
1273         [Description("singleLine")]
1274         SingleLine,
1275         /// <summary>
1276         /// MultiLine.
1277         /// </summary>
1278         [Description("multiLine")]
1279         MultiLine,
1280         /// <summary>
1281         /// Circular.
1282         /// </summary>
1283         [Description("circular")]
1284         Circular
1285     }
1286
1287     /// <summary>
1288     /// Defines how a color is blended.
1289     /// </summary>
1290     /// This will be public opened after ACR done. Before ACR, need to be hidden as inhouse API.
1291     [EditorBrowsable(EditorBrowsableState.Never)]
1292     public enum ColorBlendingMode
1293     {
1294         /// <summary>
1295         ///  No blend.
1296         /// </summary>
1297         None,
1298         /// <summary>
1299         ///  The color is multiplied by another one.
1300         /// </summary>
1301         Multiply
1302     };
1303 }