[NUI] Fast track uploading image
[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 animated gradient.
445             /// </summary>
446             [EditorBrowsable(EditorBrowsableState.Never)]
447             AnimatedGradient = Visual.Type.AnimatedImage + 1,
448             /// <summary>
449             /// Renders an animated vector image.
450             /// </summary>
451             [EditorBrowsable(EditorBrowsableState.Never)]
452             AnimatedVectorImage = Visual.Type.AnimatedImage + 2,
453             /// <summary>
454             /// Renders an arc.
455             /// </summary>
456             [EditorBrowsable(EditorBrowsableState.Never)]
457             Arc = AnimatedImage + 3,
458
459             /// <summary>
460             /// Keyword for invalid visual type. (NUI only)
461             /// </summary>
462             [EditorBrowsable(EditorBrowsableState.Never)]
463             Invalid = Border - 1,
464         }
465
466         /// <summary>
467         /// This specifies visual properties.
468         /// </summary>
469         /// <since_tizen> 3 </since_tizen>
470         [System.Diagnostics.CodeAnalysis.SuppressMessage("Naming", "CA1716: Identifiers should not match keywords")]
471         public struct Property
472         {
473             /// <summary>
474             /// Type.
475             /// </summary>
476             /// <since_tizen> 3 </since_tizen>
477             public static readonly int Type = NDalic.VisualPropertyType;
478             /// <summary>
479             /// Shader.
480             /// </summary>
481             /// <since_tizen> 3 </since_tizen>
482             public static readonly int Shader = NDalic.VisualPropertyShader;
483             /// <summary>
484             /// Transform.
485             /// </summary>
486             /// <since_tizen> 3 </since_tizen>
487             public static readonly int Transform = NDalic.VisualPropertyTransform;
488             /// <summary>
489             /// PremultipliedAlpha.
490             /// </summary>
491             /// <since_tizen> 3 </since_tizen>
492             public static readonly int PremultipliedAlpha = NDalic.VisualPropertyPremultipliedAlpha;
493             /// <summary>
494             /// MixColor.
495             /// </summary>
496             /// <since_tizen> 3 </since_tizen>
497             public static readonly int MixColor = NDalic.VisualPropertyMixColor;
498             /// <summary>
499             /// Opacity.
500             /// </summary>
501             /// <since_tizen> 3 </since_tizen>
502             public static readonly int Opacity = NDalic.VisualPropertyMixColor + 1;
503             /// <summary>
504             /// The fitting mode of the visual.
505             /// </summary>
506             /// <since_tizen> 5 </since_tizen>
507             public static readonly int VisualFittingMode = NDalic.VisualPropertyMixColor + 2;
508             /// <summary>
509             /// The corner radius of the visual.
510             /// </summary>
511             [EditorBrowsable(EditorBrowsableState.Never)]
512             public static readonly int CornerRadius = NDalic.VisualPropertyMixColor + 3;
513             /// <summary>
514             /// The corner radius policy of the visual.
515             /// Whether the corner radius value is relative (percentage [0.0f to 1.0f] of the visual size) or absolute (in world units).
516             /// </summary>
517             [EditorBrowsable(EditorBrowsableState.Never)]
518             public static readonly int CornerRadiusPolicy = NDalic.VisualPropertyMixColor + 4;
519             /// <summary>
520             /// The borderline width of the visual.
521             /// </summary>
522             [EditorBrowsable(EditorBrowsableState.Never)]
523             public static readonly int BorderlineWidth = NDalic.VisualPropertyMixColor + 5;
524             /// <summary>
525             /// The borderline color of the visual.
526             /// </summary>
527             [EditorBrowsable(EditorBrowsableState.Never)]
528             public static readonly int BorderlineColor = NDalic.VisualPropertyMixColor + 6;
529             /// <summary>
530             /// The borderline offset of the visual.
531             /// Relative position of borderline. (percentage [-1.0f to 1.0f]).
532             /// If -1.0f, borderline draw inside of visual
533             /// If 1.0f, borderline draw outside of visual
534             /// If 0.0f, half draw inside and half draw outside of visual
535             /// </summary>
536             [EditorBrowsable(EditorBrowsableState.Never)]
537             public static readonly int BorderlineOffset = NDalic.VisualPropertyMixColor + 7;
538         }
539
540         /// <summary>
541         /// This specifies shader properties.
542         /// </summary>
543         /// <since_tizen> 3 </since_tizen>
544         public struct ShaderProperty
545         {
546             /// <summary>
547             /// Vertex shader code
548             /// </summary>
549             /// <since_tizen> 3 </since_tizen>
550             public static readonly int VertexShader = NDalic.VisualShaderVertex;
551             /// <summary>
552             /// Fragment shader code
553             /// </summary>
554             /// <since_tizen> 3 </since_tizen>
555             public static readonly int FragmentShader = NDalic.VisualShaderFragment;
556             /// <summary>
557             /// How to subdivide the grid along X
558             /// </summary>
559             /// <since_tizen> 3 </since_tizen>
560             public static readonly int ShaderSubdivideGridX = NDalic.VisualShaderSubdivideGridX;
561             /// <summary>
562             /// How to subdivide the grid along Y
563             /// </summary>
564             /// <since_tizen> 3 </since_tizen>
565             public static readonly int ShaderSubdivideGridY = NDalic.VisualShaderSubdivideGridY;
566             /// <summary>
567             /// Bitmask of hints
568             /// </summary>
569             /// <since_tizen> 3 </since_tizen>
570             public static readonly int ShaderHints = NDalic.VisualShaderHints;
571         }
572
573         /// <summary>
574         /// This specifies visual align types.
575         /// </summary>
576         /// <since_tizen> 3 </since_tizen>
577         public enum AlignType
578         {
579             /// <summary>
580             /// TopBegin
581             /// </summary>
582             /// <since_tizen> 3 </since_tizen>
583             TopBegin = 0,
584             /// <summary>
585             /// TopCenter
586             /// </summary>
587             /// <since_tizen> 3 </since_tizen>
588             TopCenter,
589             /// <summary>
590             /// TopEnd
591             /// </summary>
592             /// <since_tizen> 3 </since_tizen>
593             TopEnd,
594             /// <summary>
595             /// CenterBegin
596             /// </summary>
597             /// <since_tizen> 3 </since_tizen>
598             CenterBegin,
599             /// <summary>
600             /// Center
601             /// </summary>
602             /// <since_tizen> 3 </since_tizen>
603             Center,
604             /// <summary>
605             /// CenterEnd
606             /// </summary>
607             /// <since_tizen> 3 </since_tizen>
608             CenterEnd,
609             /// <summary>
610             /// BottomBegin
611             /// </summary>
612             /// <since_tizen> 3 </since_tizen>
613             BottomBegin,
614             /// <summary>
615             /// BottomCenter
616             /// </summary>
617             /// <since_tizen> 3 </since_tizen>
618             BottomCenter,
619             /// <summary>
620             /// BottomEnd
621             /// </summary>
622             /// <since_tizen> 3 </since_tizen>
623             BottomEnd
624         }
625     }
626
627     /// <summary>
628     /// This specifies properties of the BorderVisual.
629     /// </summary>
630     /// <since_tizen> 3 </since_tizen>
631     public struct BorderVisualProperty
632     {
633         /// <summary>
634         /// The color of the border.
635         /// </summary>
636         /// <since_tizen> 3 </since_tizen>
637         public static readonly int Color = NDalic.BorderVisualColor;
638         /// <summary>
639         /// The width of the border (in pixels).
640         /// </summary>
641         /// <since_tizen> 3 </since_tizen>
642         public static readonly int Size = NDalic.BorderVisualSize;
643         /// <summary>
644         /// Whether anti-aliasing of the border is required.
645         /// </summary>
646         /// <since_tizen> 3 </since_tizen>
647         public static readonly int AntiAliasing = NDalic.BorderVisualAntiAliasing;
648     }
649
650     /// <summary>
651     /// This specifies properties of the ColorVisual.
652     /// </summary>
653     /// <since_tizen> 3 </since_tizen>
654     public struct ColorVisualProperty
655     {
656         /// <summary>
657         /// The solid color required.
658         /// </summary>
659         /// <since_tizen> 3 </since_tizen>
660         public static readonly int MixColor = NDalic.ColorVisualMixColor;
661         /// <summary>
662         /// Whether to render if the MixColor is transparent.
663         /// </summary>
664         /// <since_tizen> 5 </since_tizen>
665         public static readonly int RenderIfTransparent = NDalic.ColorVisualMixColor + 1;
666         /// <summary>
667         /// Then radius value for the area to blur.
668         /// </summary>
669         [EditorBrowsable(EditorBrowsableState.Never)]
670         public static readonly int BlurRadius = NDalic.ColorVisualMixColor + 2;
671     }
672
673     /// <summary>
674     /// This specifies properties of the GradientVisual.
675     /// </summary>
676     /// <since_tizen> 3 </since_tizen>
677     public struct GradientVisualProperty
678     {
679         /// <summary>
680         /// The start position of a linear gradient.
681         /// </summary>
682         /// <since_tizen> 3 </since_tizen>
683         public static readonly int StartPosition = NDalic.GradientVisualStartPosition;
684         /// <summary>
685         /// The end position of a linear gradient.
686         /// </summary>
687         /// <since_tizen> 3 </since_tizen>
688         public static readonly int EndPosition = NDalic.GradientVisualEndPosition;
689         /// <summary>
690         /// The center point of a radial gradient.
691         /// </summary>
692         /// <since_tizen> 3 </since_tizen>
693         public static readonly int Center = NDalic.GradientVisualCenter;
694         /// <summary>
695         /// The size of the radius of a radial gradient.
696         /// </summary>
697         /// <since_tizen> 3 </since_tizen>
698         public static readonly int Radius = NDalic.GradientVisualRadius;
699         /// <summary>
700         /// All the stop offsets.
701         /// </summary>
702         /// <since_tizen> 3 </since_tizen>
703         public static readonly int StopOffset = NDalic.GradientVisualStopOffset;
704         /// <summary>
705         /// The color at the stop offsets.
706         /// </summary>
707         /// <since_tizen> 3 </since_tizen>
708         public static readonly int StopColor = NDalic.GradientVisualStopColor;
709         /// <summary>
710         /// Defines the coordinate system for certain attributes of the points in a gradient.
711         /// </summary>
712         /// <since_tizen> 3 </since_tizen>
713         public static readonly int Units = NDalic.GradientVisualUnits;
714         /// <summary>
715         /// Indicates what happens if the gradient starts or ends inside the bounds of the target rectangle.
716         /// </summary>
717         /// <since_tizen> 3 </since_tizen>
718         public static readonly int SpreadMethod = NDalic.GradientVisualSpreadMethod;
719     }
720
721     /// <summary>
722     /// This specifies properties of the ImageVisual.
723     /// </summary>
724     /// <since_tizen> 3 </since_tizen>
725     public struct ImageVisualProperty
726     {
727         /// <summary>
728         /// The URL of the image.
729         /// </summary>
730         /// <since_tizen> 3 </since_tizen>
731         public static readonly int URL = NDalic.ImageVisualUrl;
732
733         /// <summary>
734         /// Fitting options, used when resizing images to fit desired dimensions.
735         /// </summary>
736         /// <since_tizen> 3 </since_tizen>
737         public static readonly int FittingMode = NDalic.ImageVisualFittingMode;
738
739         /// <summary>
740         /// Filtering options, used when resizing images to sample original pixels.
741         /// </summary>
742         /// <since_tizen> 3 </since_tizen>
743         public static readonly int SamplingMode = NDalic.ImageVisualSamplingMode;
744
745         /// <summary>
746         /// The desired image width.
747         /// </summary>
748         /// <since_tizen> 3 </since_tizen>
749         public static readonly int DesiredWidth = NDalic.ImageVisualDesiredWidth;
750
751         /// <summary>
752         /// The desired image height.
753         /// </summary>
754         /// <since_tizen> 3 </since_tizen>
755         public static readonly int DesiredHeight = NDalic.ImageVisualDesiredHeight;
756
757         /// <summary>
758         /// Whether to load the image synchronously.
759         /// </summary>
760         /// <since_tizen> 3 </since_tizen>
761         public static readonly int SynchronousLoading = NDalic.ImageVisualSynchronousLoading;
762
763         /// <summary>
764         /// If true, only draws the borders.
765         /// </summary>
766         /// <since_tizen> 3 </since_tizen>
767         public static readonly int BorderOnly = NDalic.ImageVisualBorderOnly;
768
769         /// <summary>
770         /// The image area to be displayed.
771         /// </summary>
772         /// <since_tizen> 3 </since_tizen>
773         public static readonly int PixelArea = NDalic.ImageVisualPixelArea;
774
775         /// <summary>
776         /// The wrap mode for u coordinate.
777         /// </summary>
778         /// <since_tizen> 3 </since_tizen>
779         public static readonly int WrapModeU = NDalic.ImageVisualWrapModeU;
780
781         /// <summary>
782         /// The wrap mode for v coordinate.
783         /// </summary>
784         /// <since_tizen> 3 </since_tizen>
785         public static readonly int WrapModeV = NDalic.ImageVisualWrapModeV;
786
787         /// <summary>
788         /// The border of the image.
789         /// </summary>
790         /// <since_tizen> 3 </since_tizen>
791         public static readonly int Border = NDalic.ImageVisualBorder;
792
793         /// <summary>
794         /// Whether to use the texture atlas.
795         /// </summary>
796         /// <since_tizen> 5 </since_tizen>
797         public static readonly int Atlasing = NDalic.ImageVisualBorder + 1;
798
799         /// <summary>
800         /// The URL of the alpha mask image.
801         /// </summary>
802         /// <since_tizen> 3 </since_tizen>
803         public static readonly int AlphaMaskURL = NDalic.ImageVisualAlphaMaskUrl;
804
805         /// <summary>
806         /// Defines the batch size for pre-loading images in the AnimatedImageVisual
807         /// </summary>
808         /// <since_tizen> 4 </since_tizen>
809         public static readonly int BatchSize = NDalic.ImageVisualBatchSize;
810
811         /// <summary>
812         /// Defines the cache size for loading images in the AnimatedImageVisual
813         /// </summary>
814         /// <since_tizen> 4 </since_tizen>
815         public static readonly int CacheSize = NDalic.ImageVisualCacheSize;
816
817         /// <summary>
818         /// The number of milliseconds between each frame in the AnimatedImageVisual
819         /// </summary>
820         /// <since_tizen> 4 </since_tizen>
821         public static readonly int FrameDelay = NDalic.ImageVisualFrameDelay;
822
823         /// <summary>
824         /// The scale factor to apply to the content image before masking.
825         /// </summary>
826         /// <since_tizen> 4 </since_tizen>
827         public static readonly int MaskContentScale = NDalic.ImageVisualMaskContentScale;
828
829         /// <summary>
830         /// Whether to crop image to mask or scale mask to fit image
831         /// </summary>
832         /// <since_tizen> 4 </since_tizen>
833         public static readonly int CropToMask = NDalic.ImageVisualCropToMask;
834
835         /// <summary>
836         /// The policy to determine when an image should be loaded.
837         /// </summary>
838         /// <since_tizen> 5 </since_tizen>
839         public static readonly int LoadPolicy = NDalic.ImageVisualLoadPolicy;
840
841         /// <summary>
842         /// The policy to determine when an image should no longer be cached.
843         /// </summary>
844         /// <since_tizen> 5 </since_tizen>
845         public static readonly int ReleasePolicy = NDalic.ImageVisualReleasePolicy;
846
847         /// <summary>
848         /// Determines if image orientation should be corrected so that the image displays as it was intended.
849         /// </summary>
850         /// <since_tizen> 5 </since_tizen>
851         public static readonly int OrientationCorrection = NDalic.ImageVisualOrientationCorrection;
852
853         /// <summary>
854         /// Overlays the auxiliary image on top of an NPatch image.
855         /// </summary>
856         /// <since_tizen> 5 </since_tizen>
857         public static readonly int AuxiliaryImageURL = NDalic.ImageVisualAuxiliaryImageUrl;
858
859         /// <summary>
860         /// Alpha value for the auxiliary image, without affecting the underlying NPatch image
861         /// </summary>
862         /// <since_tizen> 5 </since_tizen>
863         public static readonly int AuxiliaryImageAlpha = NDalic.ImageVisualAuxiliaryImageAlpha;
864
865         /// <summary>
866         /// The number of times the AnimatedImageVisual will be looped.
867         /// The default is -1. If the value is less than 0, loop unlimited. Otherwise, loop loopCount times.
868         /// </summary>
869         /// <since_tizen> 5 </since_tizen>
870         public static readonly int LoopCount = NDalic.ImageVisualLoopCount;
871
872         /// <summary>
873         /// @brief The playing range the AnimatedVectorImageVisual will use.
874         /// Animation will play between the values specified.The array can only have two values, and more will be ignored.
875         /// Both values should be between 0 and the total frame number, otherwise they will be ignored.
876         /// If the range provided is not in proper order (minimum, maximum), it will be reordered.
877         /// @details Name "playRange", Type Property::ARRAY of Property::INTEGER
878         /// @note Default 0 and the total frame number.
879         /// </summary>
880         /// <remarks>
881         /// Hidden API (Inhouse API)
882         /// </remarks>
883         [EditorBrowsable(EditorBrowsableState.Never)]
884         public static readonly int PlayRange = NDalic.ImageVisualOrientationCorrection + 4;
885
886         /// <summary>
887         /// @brief The playing state the AnimatedVectorImageVisual will use.
888         /// @details Name "playState", type PlayState (Property::INTEGER)
889         /// @note This property is read-only.
890         /// </summary>
891         /// <remarks>
892         /// Hidden API (Inhouse API)
893         /// </remarks>
894         [EditorBrowsable(EditorBrowsableState.Never)]
895         public static readonly int PlayState = NDalic.ImageVisualOrientationCorrection + 5;
896
897         /// <summary>
898         /// @brief The current frame number the AnimatedVectorImageVisual will use.
899         /// @details Name "currentFrameNumber", Type Property::INTEGER, between[0, the maximum frame number] or between the play range if specified
900         /// @note This property is read-only.
901         /// </summary>
902         /// <remarks>
903         /// Inhouse API
904         /// </remarks>
905         [EditorBrowsable(EditorBrowsableState.Never)]
906         public static readonly int CurrentFrameNumber = NDalic.ImageVisualOrientationCorrection + 6;
907
908         /// <summary>
909         /// @brief The total frame number the AnimatedVectorImageVisual will use.
910         /// @details Name "totalFrameNumber", Type Property::INTEGER.
911         /// @note This property is read-only.
912         /// </summary>
913         /// <remarks>
914         /// Inhouse API
915         /// </remarks>
916         [EditorBrowsable(EditorBrowsableState.Never)]
917         public static readonly int TotalFrameNumber = NDalic.ImageVisualOrientationCorrection + 7;
918
919         /// <summary>
920         /// @brief  The stop behavior the AnimatedVectorImageVisual will use.
921         /// @details Name "stopBehavior", Type StopBehavior::Type (Property::INTEGER)
922         /// @note Default value is StopBehavior::CURRENT_FRAME.
923         /// </summary>
924         /// <remarks>
925         /// Inhouse API
926         /// </remarks>
927         [EditorBrowsable(EditorBrowsableState.Never)]
928         public static readonly int StopBehavior = NDalic.ImageVisualOrientationCorrection + 8;
929
930         /// <summary>
931         /// @brief  The looping mode the AnimatedVectorImageVisual will use.
932         /// @details Name "loopingMode", Type LoopingMode::Type (Property::INTEGER)
933         /// @note Default value is LoopingMode::RESTART.
934         /// </summary>
935         /// <remarks>
936         /// Inhouse API
937         /// </remarks>
938         [EditorBrowsable(EditorBrowsableState.Never)]
939         public static readonly int LoopingMode = NDalic.ImageVisualOrientationCorrection + 9;
940
941         /// <summary>
942         /// @brief The content information the AnimatedVectorImageVisual will use.
943         /// @details Name "contentInfo", Type Property::MAP.
944         /// The map contains the layer name as a key and Property::Array as a value.
945         /// And the array contains 2 integer values which are the frame numbers, the start frame number and the end frame number of the layer.
946         /// @note This property is read-only.
947         /// </summary>
948         /// <remarks>
949         /// Inhouse API
950         /// </remarks>
951         [EditorBrowsable(EditorBrowsableState.Never)]
952         public static readonly int ContentInfo = NDalic.ImageVisualOrientationCorrection + 10;
953
954         /// <summary>
955         /// @brief Whether to redraw the image when the visual is scaled down.
956         /// @details Name "redrawInScalingDown", type Property::BOOLEAN.
957         /// @note It is used in the AnimatedVectorImageVisual.The default is true.
958         /// </summary>
959         /// <remarks>
960         /// Inhouse API
961         /// </remarks>
962         [EditorBrowsable(EditorBrowsableState.Never)]
963         public static readonly int RedrawInScalingDown = NDalic.ImageVisualOrientationCorrection + 11;
964
965         /// <summary>
966         /// @brief Whether to apply mask on the GPU or not.
967         /// @details Name "MaskingMode", type MaskingModeType (Property::INTEGER).
968         /// @note It is used in the ImageVisual, and AnimatedImageVisual.The default is MaskingOnLoading.
969         /// </summary>
970         [EditorBrowsable(EditorBrowsableState.Never)]
971         public static readonly int MaskingMode = NDalic.ImageVisualOrientationCorrection + 12;
972
973         /// <summary>
974         /// @brief Whether to uploading texture before ResourceReady signal emit or after texture load completed time.
975         /// @details Name "fastTrackUploading", type Property::BOOLEAN.
976         /// @note It is used in the ImageVisual. The default is false.
977         /// </summary>
978         [EditorBrowsable(EditorBrowsableState.Never)]
979         public static readonly int FastTrackUploading = NDalic.ImageVisualOrientationCorrection + 13;
980     }
981
982     /// <summary>
983     /// This specifies properties of the MeshVisual.
984     /// </summary>
985     /// <since_tizen> 3 </since_tizen>
986     public struct MeshVisualProperty
987     {
988         /// <summary>
989         /// The location of the ".obj" file.
990         /// </summary>
991         /// <since_tizen> 3 </since_tizen>
992         public static readonly int ObjectURL = NDalic.MeshVisualObjectUrl;
993         /// <summary>
994         /// The location of the ".mtl" file.
995         /// </summary>
996         [EditorBrowsable(EditorBrowsableState.Never)]
997         public static readonly int MaterialURL = NDalic.MeshVisualMaterialUrl;
998         /// <summary>
999         /// The location of the ".mtl" file.
1000         /// </summary>
1001         /// <since_tizen> 3 </since_tizen>
1002         public static readonly int MaterialtURL = NDalic.MeshVisualMaterialUrl;
1003         /// <summary>
1004         /// Path to the directory the textures (including gloss and normal) are stored in.
1005         /// </summary>
1006         /// <since_tizen> 3 </since_tizen>
1007         public static readonly int TexturesPath = NDalic.MeshVisualTexturesPath;
1008         /// <summary>
1009         /// Sets the type of shading mode that the mesh will use.
1010         /// </summary>
1011         /// <since_tizen> 3 </since_tizen>
1012         public static readonly int ShadingMode = NDalic.MeshVisualShadingMode;
1013         /// <summary>
1014         /// Whether to use mipmaps for textures or not.
1015         /// </summary>
1016         /// <since_tizen> 3 </since_tizen>
1017         public static readonly int UseMipmapping = NDalic.MeshVisualUseMipmapping;
1018         /// <summary>
1019         /// Whether to average normals at each point to smooth textures or not.
1020         /// </summary>
1021         /// <since_tizen> 3 </since_tizen>
1022         public static readonly int UseSoftNormals = NDalic.MeshVisualUseSoftNormals;
1023         /// <summary>
1024         /// The position, in stage space, of the point light that applies lighting to the model.
1025         /// </summary>
1026         /// <since_tizen> 3 </since_tizen>
1027         public static readonly int LightPosition = NDalic.MeshVisualLightPosition;
1028     }
1029
1030     /// <summary>
1031     /// This specifies properties of the PrimitiveVisual.
1032     /// </summary>
1033     /// <since_tizen> 3 </since_tizen>
1034     public struct PrimitiveVisualProperty
1035     {
1036         /// <summary>
1037         /// The specific shape to render.
1038         /// </summary>
1039         /// <since_tizen> 3 </since_tizen>
1040         public static readonly int Shape = NDalic.PrimitiveVisualShape;
1041         /// <summary>
1042         /// The color of the shape.
1043         /// </summary>
1044         /// <since_tizen> 3 </since_tizen>
1045         public static readonly int MixColor = NDalic.PrimitiveVisualMixColor;
1046         /// <summary>
1047         /// The number of slices as you go around the shape.
1048         /// </summary>
1049         /// <since_tizen> 3 </since_tizen>
1050         public static readonly int Slices = NDalic.PrimitiveVisualSlices;
1051         /// <summary>
1052         /// The number of stacks as you go down the shape.
1053         /// </summary>
1054         /// <since_tizen> 3 </since_tizen>
1055         public static readonly int Stacks = NDalic.PrimitiveVisualStacks;
1056         /// <summary>
1057         /// The scale of the radius of the top circle of a conical frustum.
1058         /// </summary>
1059         /// <since_tizen> 3 </since_tizen>
1060         public static readonly int ScaleTopRadius = NDalic.PrimitiveVisualScaleTopRadius;
1061         /// <summary>
1062         /// The scale of the radius of the bottom circle of a conical frustum.
1063         /// </summary>
1064         /// <since_tizen> 3 </since_tizen>
1065         public static readonly int ScaleBottomRadius = NDalic.PrimitiveVisualScaleBottomRadius;
1066         /// <summary>
1067         /// The scale of the height of a conic.
1068         /// </summary>
1069         /// <since_tizen> 3 </since_tizen>
1070         public static readonly int ScaleHeight = NDalic.PrimitiveVisualScaleHeight;
1071         /// <summary>
1072         /// The scale of the radius of a cylinder.
1073         /// </summary>
1074         /// <since_tizen> 3 </since_tizen>
1075         public static readonly int ScaleRadius = NDalic.PrimitiveVisualScaleRadius;
1076         /// <summary>
1077         /// The dimensions of a cuboid. Scales in the same fashion as a 9-patch image.
1078         /// </summary>
1079         /// <since_tizen> 3 </since_tizen>
1080         public static readonly int ScaleDimensions = NDalic.PrimitiveVisualScaleDimensions;
1081         /// <summary>
1082         /// Determines how bevelled the cuboid should be, based off the smallest dimension.
1083         /// </summary>
1084         /// <since_tizen> 3 </since_tizen>
1085         public static readonly int BevelPercentage = NDalic.PrimitiveVisualBevelPercentage;
1086         /// <summary>
1087         /// Defines how smooth the bevelled edges should be.
1088         /// </summary>
1089         /// <since_tizen> 3 </since_tizen>
1090         public static readonly int BevelSmoothness = NDalic.PrimitiveVisualBevelSmoothness;
1091         /// <summary>
1092         /// The position, in stage space, of the point light that applies lighting to the model.
1093         /// </summary>
1094         /// <since_tizen> 3 </since_tizen>
1095         public static readonly int LightPosition = NDalic.PrimitiveVisualLightPosition;
1096     }
1097
1098     /// <summary>
1099     /// This specifies properties of the TextVisual.
1100     /// </summary>
1101     /// <since_tizen> 3 </since_tizen>
1102     public struct TextVisualProperty
1103     {
1104         /// <summary>
1105         /// The text to display in UTF-8 format.
1106         /// </summary>
1107         /// <since_tizen> 3 </since_tizen>
1108         public static readonly int Text = NDalic.TextVisualText;
1109         /// <summary>
1110         /// The requested font family to use.
1111         /// </summary>
1112         /// <since_tizen> 3 </since_tizen>
1113         public static readonly int FontFamily = NDalic.TextVisualFontFamily;
1114         /// <summary>
1115         /// The requested font style to use.
1116         /// </summary>
1117         /// <since_tizen> 3 </since_tizen>
1118         public static readonly int FontStyle = NDalic.TextVisualFontStyle;
1119         /// <summary>
1120         /// The size of font in points.
1121         /// </summary>
1122         /// <since_tizen> 3 </since_tizen>
1123         public static readonly int PointSize = NDalic.TextVisualPointSize;
1124         /// <summary>
1125         /// The single-line or multi-line layout option.
1126         /// </summary>
1127         /// <since_tizen> 3 </since_tizen>
1128         public static readonly int MultiLine = NDalic.TextVisualMultiLine;
1129         /// <summary>
1130         /// The line horizontal alignment.
1131         /// </summary>
1132         /// <since_tizen> 3 </since_tizen>
1133         public static readonly int HorizontalAlignment = NDalic.TextVisualHorizontalAlignment;
1134         /// <summary>
1135         /// The line vertical alignment.
1136         /// </summary>
1137         /// <since_tizen> 3 </since_tizen>
1138         public static readonly int VerticalAlignment = NDalic.TextVisualVerticalAlignment;
1139         /// <summary>
1140         /// The color of the text.
1141         /// </summary>
1142         /// <since_tizen> 3 </since_tizen>
1143         public static readonly int TextColor = NDalic.TextVisualTextColor;
1144         /// <summary>
1145         /// Whether the mark-up processing is enabled.
1146         /// </summary>
1147         /// <since_tizen> 3 </since_tizen>
1148         public static readonly int EnableMarkup = NDalic.TextVisualEnableMarkup;
1149         /// <summary>
1150         /// The shadow parameters.
1151         /// </summary>
1152         /// <since_tizen> 5 </since_tizen>
1153         public static readonly int Shadow = NDalic.TextVisualEnableMarkup + 1;
1154         /// <summary>
1155         /// The default underline parameters.
1156         /// </summary>
1157         /// <since_tizen> 5 </since_tizen>
1158         public static readonly int Underline = NDalic.TextVisualEnableMarkup + 2;
1159         /// <summary>
1160         /// The default outline parameters.
1161         /// </summary>
1162         /// <since_tizen> 5 </since_tizen>
1163         public static readonly int Outline = NDalic.TextVisualEnableMarkup + 3;
1164         /// <summary>
1165         /// The default text background parameters.
1166         /// </summary>
1167         /// <since_tizen> 5 </since_tizen>
1168         public static readonly int Background = NDalic.TextVisualEnableMarkup + 4;
1169     }
1170
1171     /// <summary>
1172     /// This specifies properties of the NpatchImageVisual.
1173     /// </summary>
1174     /// <since_tizen> 3 </since_tizen>
1175     public struct NpatchImageVisualProperty
1176     {
1177         /// <summary>
1178         /// The URL of the image.
1179         /// </summary>
1180         /// <since_tizen> 3 </since_tizen>
1181         public static readonly int URL = NDalic.ImageVisualUrl;
1182         /// <summary>
1183         /// Fitting options, used when resizing images to fit desired dimensions.
1184         /// </summary>
1185         /// <since_tizen> 3 </since_tizen>
1186         public static readonly int FittingMode = NDalic.ImageVisualFittingMode;
1187         /// <summary>
1188         /// Filtering options, used when resizing images to sample original pixels.
1189         /// </summary>
1190         /// <since_tizen> 3 </since_tizen>
1191         public static readonly int SamplingMode = NDalic.ImageVisualSamplingMode;
1192         /// <summary>
1193         /// The desired image width.
1194         /// </summary>
1195         /// <since_tizen> 3 </since_tizen>
1196         public static readonly int DesiredWidth = NDalic.ImageVisualDesiredWidth;
1197         /// <summary>
1198         /// The desired image height.
1199         /// </summary>
1200         /// <since_tizen> 3 </since_tizen>
1201         public static readonly int DesiredHeight = NDalic.ImageVisualDesiredHeight;
1202         /// <summary>
1203         /// Whether to load the image synchronously.
1204         /// </summary>
1205         /// <since_tizen> 3 </since_tizen>
1206         public static readonly int SynchronousLoading = NDalic.ImageVisualSynchronousLoading;
1207         /// <summary>
1208         /// If true, only draws the borders.
1209         /// </summary>
1210         /// <since_tizen> 3 </since_tizen>
1211         public static readonly int BorderOnly = NDalic.ImageVisualBorderOnly;
1212         /// <summary>
1213         /// The image area to be displayed.
1214         /// </summary>
1215         /// <since_tizen> 3 </since_tizen>
1216         public static readonly int PixelArea = NDalic.ImageVisualPixelArea;
1217         /// <summary>
1218         /// The wrap mode for u coordinate.
1219         /// </summary>
1220         /// <since_tizen> 3 </since_tizen>
1221         public static readonly int WrapModeU = NDalic.ImageVisualWrapModeU;
1222         /// <summary>
1223         /// The wrap mode for v coordinate.
1224         /// </summary>
1225         /// <since_tizen> 3 </since_tizen>
1226         public static readonly int WrapModeV = NDalic.ImageVisualWrapModeV;
1227         /// <summary>
1228         /// The border of the image.
1229         /// </summary>
1230         /// <since_tizen> 3 </since_tizen>
1231         public static readonly int Border = NDalic.ImageVisualWrapModeV + 1;
1232     }
1233
1234     /// <summary>
1235     /// This specifies properties of the ArcVisual.
1236     /// </summary>
1237     internal struct ArcVisualProperty
1238     {
1239         /// <summary>
1240         /// The thickness of the arc.
1241         /// </summary>
1242         /// <remarks>The value is float type.</remarks>
1243         /// <remarks>This is mandatory property.</remarks>
1244         internal static readonly int Thickness = NDalic.ImageVisualUrl;
1245
1246         /// <summary>
1247         /// The start angle where the arc begins in degrees.
1248         /// </summary>
1249         /// <remarks>The value is float type.</remarks>
1250         /// <remarks>The property of optional. The default value is 0.</remarks>
1251         internal static readonly int StartAngle = Thickness + 1;
1252
1253         /// <summary>
1254         /// The sweep angle of the arc in degrees.
1255         /// </summary>
1256         /// <remarks>The value is float type.</remarks>
1257         /// <remarks>The property of optional. The default value is 360.</remarks>
1258         internal static readonly int SweepAngle = Thickness + 2;
1259
1260         /// <summary>
1261         /// The cap style of the arc.
1262         /// </summary>
1263         /// <remarks>
1264         /// The value is integer type.
1265         /// The value 0 means butt, the arc does not extend beyond its two endpoints.
1266         /// The value 1 means round, the arc will be extended by a half circle with the center at the end.
1267         /// </remarks>
1268         /// <remarks>The property of optional. The default value is 0 (butt).</remarks>
1269         internal static readonly int Cap = Thickness + 3;
1270     }
1271
1272     /// <summary>
1273     /// Enumeration for Circular alignment.
1274     /// The @p horizontalAlignment and @p verticalAlignment can be used to align the text within the text area.
1275     /// </summary>
1276     [EditorBrowsable(EditorBrowsableState.Never)]
1277     public enum CircularAlignment
1278     {
1279         /// <summary>
1280         /// Texts place at the begin of Circular direction.
1281         /// </summary>
1282         [Description("BEGIN")]
1283         Begin,
1284         /// <summary>
1285         /// Texts place at the center of Circular direction.
1286         /// </summary>
1287         [Description("CENTER")]
1288         Center,
1289         /// <summary>
1290         /// Texts place at the end of Circular direction.
1291         /// </summary>
1292         [Description("END")]
1293         End
1294     }
1295
1296     /// <summary>
1297     /// Enumeration for Text Layout.
1298     /// </summary>
1299     [EditorBrowsable(EditorBrowsableState.Never)]
1300     public enum TextLayout
1301     {
1302         /// <summary>
1303         /// SingleLine.
1304         /// </summary>
1305         [Description("singleLine")]
1306         SingleLine,
1307         /// <summary>
1308         /// MultiLine.
1309         /// </summary>
1310         [Description("multiLine")]
1311         MultiLine,
1312         /// <summary>
1313         /// Circular.
1314         /// </summary>
1315         [Description("circular")]
1316         Circular
1317     }
1318
1319     /// <summary>
1320     /// Defines how a color is blended.
1321     /// </summary>
1322     /// This will be public opened after ACR done. Before ACR, need to be hidden as inhouse API.
1323     [EditorBrowsable(EditorBrowsableState.Never)]
1324     public enum ColorBlendingMode
1325     {
1326         /// <summary>
1327         ///  No blend.
1328         /// </summary>
1329         None,
1330         /// <summary>
1331         ///  The color is multiplied by another one.
1332         /// </summary>
1333         Multiply
1334     };
1335 }