English Review: NUI public files (#434)
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI / src / public / NUIConstants.cs
1 // Copyright (c) 2018 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;
16 using System.ComponentModel;
17
18 namespace Tizen.NUI
19 {
20     /// <summary>
21     /// This specifies all the scroll mode type.
22     /// </summary>
23     /// <since_tizen> 3 </since_tizen>
24     public enum ScrollModeType
25     {
26         /// <summary>
27         /// Whether the content can be scrolled along the X axis or not.
28         /// </summary>
29         /// <since_tizen> 3 </since_tizen>
30         XAxisScrollEnabled,
31         /// <summary>
32         /// When set, causes scroll view to snap to multiples of the
33         /// value of the interval while flicking along the X axis.
34         /// </summary>
35         /// <since_tizen> 3 </since_tizen>
36         XAxisSnapToInterval,
37         /// <summary>
38         /// When set, the scroll view is unable to scroll beyond the
39         /// value of the boundary along the X axis.
40         /// </summary>
41         /// <since_tizen> 3 </since_tizen>
42         XAxisScrollBoundary,
43         /// <summary>
44         /// Whether the content can be scrolled along the Y axis or not.
45         /// </summary>
46         /// <since_tizen> 3 </since_tizen>
47         YAxisScrollEnabled,
48         /// <summary>
49         /// When set, causes scroll view to snap to multiples of the
50         /// value of the interval while flicking along the Y axis.
51         /// </summary>
52         /// <since_tizen> 3 </since_tizen>
53         YAxisSnapToInterval,
54         /// <summary>
55         /// When set, the scroll view is unable to scroll beyond the
56         /// value of the boundary along the Y axis.
57         /// </summary>
58         /// <since_tizen> 3 </since_tizen>
59         YAxisScrollBoundary
60     }
61
62     /// <summary>
63     /// This specifies whether the actor uses its own color or inherits.
64     /// </summary>
65     /// <since_tizen> 3 </since_tizen>
66     public enum ColorMode
67     {
68         /// <summary>
69         /// Actor will use its own color.
70         /// </summary>
71         UseOwnColor,
72          /// <summary>
73         /// Actor will use its parent color.
74         /// </summary>
75         UseParentColor,
76         /// <summary>
77         /// Actor will blend its color with its parents color.
78         /// </summary>
79         UseOwnMultiplyParentColor,
80         /// <summary>
81         /// Actor will blend its alpha with its parents alpha. This means when the parent fades in or out, the child does as well. This is the default.
82         /// </summary>
83         UseOwnMultiplyParentAlpha
84     }
85
86     /// <summary>
87     /// This specifies the dimension of the width or the height for size negotiation.
88     /// </summary>
89     /// <since_tizen> 3 </since_tizen>
90     public enum DimensionType
91     {
92         /// <summary>
93         /// Width dimension.
94         /// </summary>
95         Width = 0x1,
96         /// <summary>
97         /// Height dimension.
98         /// </summary>
99         Height = 0x2,
100         /// <summary>
101         /// Mask to cover all flags.
102         /// </summary>
103         AllDimensions = 0x3
104     }
105
106     /// <summary>
107     /// Enumeration for the instance of how the actor and it's children will be drawn.
108     /// </summary>
109     /// <since_tizen> 3 </since_tizen>
110     public enum DrawModeType
111     {
112         /// <summary>
113         /// The default draw-mode.
114         /// </summary>
115         Normal = 0,
116         /// <summary>
117         /// Draw the actor and its children as an overlay.
118         /// </summary>
119         Overlay2D = 1,
120         /// <summary>
121         /// Will be replaced by separate ClippingMode enum. Draw the actor and its children into the stencil buffer.
122         /// </summary>
123         Stencil = 3
124     }
125
126     /// <summary>
127     /// Enumeration for size negotiation resize policies.
128     /// </summary>
129     /// <since_tizen> 3 </since_tizen>
130     public enum ResizePolicyType
131     {
132         /// <summary>
133         /// Size is fixed as set by SetSize.
134         /// </summary>
135         Fixed,
136         /// <summary>
137         /// Size is to use the actor's natural size.
138         /// </summary>
139         /// <see cref="ViewImpl.GetNaturalSize"/>
140         UseNaturalSize,
141         /// <summary>
142         /// Size is to fill up to the actor's parent's bounds. Aspect ratio is not maintained.
143         /// </summary>
144         FillToParent,
145         /// <summary>
146         /// The actors size will be ( ParentSize * SizeRelativeToParentFactor ).
147         /// </summary>
148         SizeRelativeToParent,
149         /// <summary>
150         /// The actors size will be ( ParentSize + SizeRelativeToParentFactor ).
151         /// </summary>
152         SizeFixedOffsetFromParent,
153         /// <summary>
154         /// The size will adjust to wrap around all children.
155         /// </summary>
156         FitToChildren,
157         /// <summary>
158         /// One dimension is dependent on the other.
159         /// </summary>
160         DimensionDependency,
161         /// <summary>
162         /// The size will be assigned to the actor.
163         /// </summary>
164         UseAssignedSize
165     }
166
167     /// <summary>
168     /// Enumeration for policies to determine how an actor should resize itself when having its size set in size negotiation.
169     /// </summary>
170     /// <since_tizen> 3 </since_tizen>
171     public enum SizeScalePolicyType
172     {
173         /// <summary>
174         /// Use the size that was set.
175         /// </summary>
176         UseSizeSet,
177         /// <summary>
178         /// Fit within the size set maintaining natural size aspect ratio.
179         /// </summary>
180         FitWithAspectRatio,
181         /// <summary>
182         /// Fit within the size set maintaining natural size aspect ratio.
183         /// </summary>
184         FillWithAspectRatio
185     }
186
187     /// <summary>
188     /// Enumeration for the ClippingMode describing how this actor's children will be clipped against it.
189     /// </summary>
190     /// <since_tizen> 3 </since_tizen>
191     public enum ClippingModeType
192     {
193         /// <summary>
194         /// This actor will not clip its children.
195         /// </summary>
196         Disabled,
197         /// <summary>
198         /// This actor will clip all children to within its boundaries (the actor will also be visible itself).
199         /// </summary>
200         ClipChildren,
201         /// <summary>
202         /// This Actor will clip all children within a screen-aligned rectangle encompassing its boundaries (the actor will also be visible itself).
203         /// </summary>
204         /// <since_tizen> 4 </since_tizen>
205         ClipToBoundingBox
206     }
207
208     /// <summary>
209     /// Enumeration for type determination of how the camera operates.
210     /// </summary>
211     /// <since_tizen> 3 </since_tizen>
212     public enum CameraType
213     {
214         /// <summary>
215         /// Camera orientation is taken from the CameraActor.
216         /// </summary>
217         FreeLook,
218         /// <summary>
219         /// Camera is oriented to always look at a target.
220         /// </summary>
221         LookAtTarget
222     }
223
224     /// <summary>
225     /// Enumeration for the projection modes.
226     /// </summary>
227     /// <since_tizen> 3 </since_tizen>
228     public enum ProjectionMode
229     {
230         /// <summary>
231         /// Distance causes foreshortening; objects further from the camera appear smaller.
232         /// </summary>
233         PerspectiveProjection,
234         /// <summary>
235         /// Relative distance from the camera does not affect the size of objects.
236         /// </summary>
237         OrthographicProjection
238     }
239
240     /// <summary>
241     /// This specifies customView behavior types.
242     /// </summary>
243     /// <since_tizen> 3 </since_tizen>
244     public enum CustomViewBehaviour
245     {
246         /// <summary>
247         /// Use to provide default behavior (size negotiation is on, event callbacks are not called).
248         /// </summary>
249         ViewBehaviourDefault = 0,
250         /// <summary>
251         /// True if the control does not need size negotiation, i.e., it can be skipped in the algorithm.
252         /// </summary>
253         DisableSizeNegotiation = 1 << 0,
254         /// <summary>
255         /// Use to provide key navigation support.
256         /// </summary>
257         RequiresKeyboardNavigationSupport = 1 << 5,
258         /// <summary>
259         /// Use to make style change event disabled.
260         /// </summary>
261         DisableStyleChangeSignals = 1 << 6,
262         /// <summary>
263         /// Please do not use! This will be deprecated!
264         /// </summary>
265         /// <since_tizen> 3 </since_tizen>
266         [Obsolete("Please do not use! This will be deprecated!")]
267         [EditorBrowsable(EditorBrowsableState.Never)]
268         LastViewBehaviourFlag
269     }
270
271     /// <summary>
272     /// An enum of Device Class types.
273     /// </summary>
274     /// <since_tizen> 3 </since_tizen>
275     public enum DeviceClassType
276     {
277         /// <summary>
278         /// Not a device.
279         /// </summary>
280         /// <since_tizen> 3 </since_tizen>
281         None,
282         /// <summary>
283         /// The user/seat (the user themselves).
284         /// </summary>
285         /// <since_tizen> 3 </since_tizen>
286         Seat,
287         /// <summary>
288         /// A regular keyboard, numberpad or attached buttons.
289         /// </summary>
290         /// <since_tizen> 3 </since_tizen>
291         Keyboard,
292         /// <summary>
293         /// A mouse, trackball or touchpad relative motion device.
294         /// </summary>
295         /// <since_tizen> 3 </since_tizen>
296         Mouse,
297         /// <summary>
298         /// A touchscreen with fingers or stylus.
299         /// </summary>
300         /// <since_tizen> 3 </since_tizen>
301         Touch,
302         /// <summary>
303         /// A special pen device.
304         /// </summary>
305         /// <since_tizen> 3 </since_tizen>
306         Pen,
307         /// <summary>
308         ///  A pointing device based on laser, infrared or similar technology.
309         /// </summary>
310         /// <since_tizen> 3 </since_tizen>
311         Pointer,
312         /// <summary>
313         /// A gamepad controller or joystick.
314         /// </summary>
315         /// <since_tizen> 3 </since_tizen>
316         Gamepad
317     }
318
319     /// <summary>
320     /// An enum of Device Subclass types.
321     /// </summary>
322     /// <since_tizen> 4 </since_tizen>
323     public enum DeviceSubClassType
324     {
325         /// <summary>
326         /// Not a device
327         /// </summary>
328         /// <since_tizen> 4 </since_tizen>
329         None,
330         /// <summary>
331         /// The normal flat of your finger
332         /// </summary>
333         /// <since_tizen> 4 </since_tizen>
334         Finger,
335         /// <summary>
336         /// A fingernail
337         /// </summary>
338         /// <since_tizen> 4 </since_tizen>
339         Fingernail,
340         /// <summary>
341         /// A Knuckle
342         /// </summary>
343         /// <since_tizen> 4 </since_tizen>
344         Knuckle,
345         /// <summary>
346         /// The palm of a users hand
347         /// </summary>
348         /// <since_tizen> 4 </since_tizen>
349         Palm,
350         /// <summary>
351         /// The side of your hand
352         /// </summary>
353         /// <since_tizen> 4 </since_tizen>
354         HandSide,
355         /// <summary>
356         /// The flat of your hand
357         /// </summary>
358         /// <since_tizen> 4 </since_tizen>
359         HandFlat,
360         /// <summary>
361         /// The tip of a pen
362         /// </summary>
363         /// <since_tizen> 4 </since_tizen>
364         PenTip,
365         /// <summary>
366         /// A trackpad style mouse
367         /// </summary>
368         /// <since_tizen> 4 </since_tizen>
369         Trackpad,
370         /// <summary>
371         /// A trackpoint style mouse
372         /// </summary>
373         /// <since_tizen> 4 </since_tizen>
374         Trackpoint,
375         /// <summary>
376         /// A trackball style mouse
377         /// </summary>
378         /// <since_tizen> 4 </since_tizen>
379         Trackball,
380         /// <summary>
381         /// A remote controller
382         /// </summary>
383         /// <since_tizen> 4 </since_tizen>
384         Remocon,
385         /// <summary>
386         /// A virtual keyboard
387         /// </summary>
388         /// <since_tizen> 4 </since_tizen>
389         VirtualKeyboard
390     }
391
392     /// <summary>
393     /// This specifies all the property types.<br />
394     /// Enumeration for the property types supported.
395     /// </summary>
396     /// <since_tizen> 3 </since_tizen>
397     public enum PropertyType
398     {
399         /// <summary>
400         /// No type.
401         /// </summary>
402         None,
403         /// <summary>
404         /// A boolean type.
405         /// </summary>
406         Boolean,
407         /// <summary>
408         /// A float type.
409         /// </summary>
410         Float,
411         /// <summary>
412         /// An integer type.
413         /// </summary>
414         Integer,
415         /// <summary>
416         /// A vector array of size=2 with float precision.
417         /// </summary>
418         Vector2,
419         /// <summary>
420         /// A vector array of size=3 with float precision.
421         /// </summary>
422         Vector3,
423         /// <summary>
424         /// A vector array of size=4 with float precision.
425         /// </summary>
426         Vector4,
427         /// <summary>
428         /// A 3x3 matrix.
429         /// </summary>
430         Matrix3,
431         /// <summary>
432         /// A 4x4 matrix.
433         /// </summary>
434         Matrix,
435         /// <summary>
436         /// An integer array of size=4.
437         /// </summary>
438         Rectangle,
439         /// <summary>
440         /// Either a quaternion or an axis angle rotation.
441         /// </summary>
442         Rotation,
443         /// <summary>
444         /// A string type.
445         /// </summary>
446         String,
447         /// <summary>
448         /// An array of PropertyValue.
449         /// </summary>
450         Array,
451         /// <summary>
452         /// A string key to PropertyValue mapping.
453         /// </summary>
454         Map,
455         /// <summary>
456         /// An extents type.
457         /// </summary>
458         /// <since_tizen> 4 </since_tizen>
459         Extents
460     }
461
462     /// <summary>
463     /// This specifies the property access mode types.<br />
464     /// Enumeration for the access mode for custom properties.
465     /// </summary>
466     /// <since_tizen> 3 </since_tizen>
467     public enum PropertyAccessMode
468     {
469         /// <summary>
470         /// If the property is read-only.
471         /// </summary>
472         ReadOnly,
473         /// <summary>
474         /// If the property is read or writeable.
475         /// </summary>
476         ReadWrite,
477         /// <summary>
478         /// If the property can be animated or constrained.
479         /// </summary>
480         Animatable,
481         /// <summary>
482         /// The number of access modes.
483         /// </summary>
484         AccessModeCount
485     }
486
487     /// <summary>
488     /// Types of style change. Enumeration for the StyleChange type.
489     /// </summary>
490     /// <since_tizen> 3 </since_tizen>
491     public enum StyleChangeType
492     {
493         /// <summary>
494         /// Denotes that the default font has changed.
495         /// </summary>
496         DefaultFontChange,
497         /// <summary>
498         /// Denotes that the default font size has changed.
499         /// </summary>
500         DefaultFontSizeChange,
501         /// <summary>
502         /// Denotes that the theme has changed.
503         /// </summary>
504         ThemeChange
505     }
506
507     /// <summary>
508     /// Enumeration for horizontal alignment types.
509     /// </summary>
510     /// <since_tizen> 3 </since_tizen>
511     public enum HorizontalAlignmentType
512     {
513         /// <summary>
514         /// Align horizontally left.
515         /// </summary>
516         Left,
517         /// <summary>
518         /// Align horizontally center.
519         /// </summary>
520         Center,
521         /// <summary>
522         /// Align horizontally right.
523         /// </summary>
524         Right
525     }
526
527     /// <summary>
528     /// Enumeration for vertical alignment types.
529     /// </summary>
530     /// <since_tizen> 3 </since_tizen>
531     public enum VerticalAlignmentType
532     {
533         /// <summary>
534         /// Align vertically top.
535         /// </summary>
536         Top,
537         /// <summary>
538         /// Align vertically center.
539         /// </summary>
540         Center,
541         /// <summary>
542         /// Align vertically bottom.
543         /// </summary>
544         Bottom
545     }
546
547     /// <summary>
548     /// Enumeration for point state type.
549     /// </summary>
550     /// <since_tizen> 3 </since_tizen>
551     public enum PointStateType
552     {
553         /// <summary>
554         /// Touch or hover started.
555         /// </summary>
556         Started,
557         /// <summary>
558         /// Touch or hover finished.
559         /// </summary>
560         Finished,
561         /// <summary>
562         /// Screen touched.
563         /// </summary>
564         Down = Started,
565         /// <summary>
566         /// Touch stopped.
567         /// </summary>
568         Up = Finished,
569         /// <summary>
570         /// Finger dragged or hovered.
571         /// </summary>
572         Motion,
573         /// <summary>
574         /// Leave the boundary of an actor.
575         /// </summary>
576         Leave,
577         /// <summary>
578         /// No change from last event. <br />
579         /// Useful when a multi-point event occurs where all points are sent, but indicates that this particular point has not changed since the last time.
580         /// </summary>
581         Stationary,
582         /// <summary>
583         /// A system event has occurred which has interrupted the touch or hover event sequence.
584         /// </summary>
585         Interrupted
586     }
587
588     /// <summary>
589     /// Enumeration for the text horizontal aligning.
590     /// </summary>
591     /// <since_tizen> 3 </since_tizen>
592     public enum HorizontalAlignment
593     {
594         /// <summary>
595         /// Texts place at the begin of horizontal direction.
596         /// </summary>
597         Begin,
598         /// <summary>
599         /// Texts place at the center of horizontal direction.
600         /// </summary>
601         Center,
602         /// <summary>
603         /// Texts place at the end of horizontal direction.
604         /// </summary>
605         End
606     }
607
608     /// <summary>
609     /// Enumeration for the text horizontal aligning.
610     /// </summary>
611     /// <since_tizen> 3 </since_tizen>
612     public enum VerticalAlignment
613     {
614         /// <summary>
615         /// Texts place at the top of vertical direction.
616         /// </summary>
617         Top,
618         /// <summary>
619         /// Texts place at the center of vertical direction.
620         /// </summary>
621         Center,
622         /// <summary>
623         /// Texts place at the bottom of vertical direction.
624         /// </summary>
625         Bottom
626     }
627
628     /// <summary>
629     /// This specifies wrap mode types.<br />
630     /// 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.
631     /// </summary>
632     /// <since_tizen> 3 </since_tizen>
633     public enum WrapModeType
634     {
635         /// <summary>
636         /// The default value.
637         /// </summary>
638         Default = 0,
639         /// <summary>
640         /// Clamp to edge.
641         /// </summary>
642         ClampToEdge,
643         /// <summary>
644         /// Repeat.
645         /// </summary>
646         Repeat,
647         /// <summary>
648         /// Mirrored repeat.
649         /// </summary>
650         MirroredRepeat
651     }
652
653     /// <summary>
654     /// Specifies the release policy types.<br />
655     /// Decides if the image should be cached in different conditions.
656     /// </summary>
657     /// <since_tizen> 5 </since_tizen>
658     public enum ReleasePolicyType
659     {
660       /// <summary>
661       /// Image is released when visual detached from scene.
662       /// </summary>
663       Detached = 0,
664       /// <summary>
665       /// Image is only released when visual is destroyed.
666       /// </summary>
667       Destroyed,
668       /// <summary>
669       /// Image is not released.
670       /// </summary>
671       Never
672     }
673
674     /// <summary>
675     /// Specifies the load policy types.<br />
676     /// Decides when the image texture should be loaded.
677     /// </summary>
678     /// <since_tizen> 5 </since_tizen>
679     public enum LoadPolicyType
680     {
681        /// <summary>
682        /// Load texture once the image source has been provided. Even if not being used yet.
683        /// </summary>
684        Immediate = 0,
685        /// <summary>
686        /// Only load texture once the visual is attached, when the image needs to be shown.
687        /// </summary>
688        Attached
689     }
690
691
692     /// <summary>
693     /// The type of coordinate system for certain attributes of the points in a gradient.
694     /// </summary>
695     /// <since_tizen> 3 </since_tizen>
696     public enum GradientVisualUnitsType
697     {
698         /// <summary>
699         /// 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).
700         /// </summary>
701         ObjectBoundingBox,
702         /// <summary>
703         /// 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).
704         /// </summary>
705         UserSpace
706     }
707
708     /// <summary>
709     /// This specifies SpreadMethod types.<br />
710     /// SpreadMethod defines what happens if the gradient starts or ends inside the bounds of the target rectangle.<br />
711     /// </summary>
712     /// <since_tizen> 3 </since_tizen>
713     public enum GradientVisualSpreadMethodType
714     {
715         /// <summary>
716         /// Uses the terminal colors of the gradient to fill the remainder of the quad.
717         /// </summary>
718         Pad,
719         /// <summary>
720         /// Reflects the gradient pattern start-to-end, end-to-start, start-to-end, etc. until the quad is filled.
721         /// </summary>
722         Reflect,
723         /// <summary>
724         /// Repeats the gradient pattern start-to-end, start-to-end, start-to-end, etc. until the quad is filled.
725         /// </summary>
726         Repeat
727     }
728
729     /// <summary>
730     /// The shading mode used by the mesh visual.
731     /// </summary>
732     /// <since_tizen> 3 </since_tizen>
733     public enum MeshVisualShadingModeValue
734     {
735         /// <summary>
736         /// *Simplest*. One color that is lit by ambient and diffuse lighting.
737         /// </summary>
738         TexturelessWithDiffuseLighting,
739         /// <summary>
740         /// Uses only the visual image textures provided with specular lighting in addition to ambient and diffuse lighting.
741         /// </summary>
742         TexturedWithSpecularLighting,
743         /// <summary>
744         /// Uses all textures provided including gloss, normal, and texture map along with specular, ambient, and diffuse lighting.
745         /// </summary>
746         TexturedWithDetailedSpecularLighting
747     }
748
749     /// <summary>
750     /// The primitive shape to render as a primitive visual.
751     /// </summary>
752     /// <since_tizen> 3 </since_tizen>
753     public enum PrimitiveVisualShapeType
754     {
755         /// <summary>
756         /// A perfectly round geometrical object in the three-dimensional space.
757         /// </summary>
758         Sphere,
759         /// <summary>
760         /// The area bound between two circles, i.e., a cone with the tip removed.
761         /// </summary>
762         ConicalFrustrum,
763         /// <summary>
764         /// Equivalent to a conical frustrum with the top radius of zero.
765         /// </summary>Equivalent to a conical frustrum with the top radius of zero.
766         Cone,
767         /// <summary>
768         /// Equivalent to a conical frustrum with the top radius of zero.
769         /// </summary>
770         Cylinder,
771         /// <summary>
772         /// Equivalent to a conical frustrum with equal radii for the top and bottom circles.
773         /// </summary>
774         Cube,
775         /// <summary>
776         /// Equivalent to a bevelled cube with a bevel percentage of zero.
777         /// </summary>
778         Octahedron,
779         /// <summary>
780         /// Equivalent to a bevelled cube with a bevel percentage of one.
781         /// </summary>
782         BevelledCube
783     }
784
785     /// <summary>
786     /// This specifies fitting mode types. Fitting options, used when resizing images to fit desired dimensions.<br />
787     /// A fitting mode controls the region of a loaded image to be mapped to the desired image rectangle.<br />
788     /// All fitting modes preserve the aspect ratio of the image contents.<br />
789     /// </summary>
790     /// <since_tizen> 3 </since_tizen>
791     public enum FittingModeType
792     {
793         /// <summary>
794         /// Full-screen image display: Limit loaded image resolution to device resolution using the ShrinkToFit mode.
795         /// </summary>
796         ShrinkToFit,
797         /// <summary>
798         /// Thumbnail gallery grid: Limit loaded image resolution to screen tile using the ScaleToFill mode.
799         /// </summary>
800         ScaleToFill,
801         /// <summary>
802         /// Image columns: Limit loaded image resolution to column width using the FitWidth mode.
803         /// </summary>
804         FitWidth,
805         /// <summary>
806         /// Image rows: Limit loaded image resolution to row height using the FitHeight mode.
807         /// </summary>
808         FitHeight
809     }
810
811     /// <summary>
812     /// The values of this enum determines how the visual should fit into the view.
813     /// </summary>
814     /// <since_tizen> 5 </since_tizen>
815     /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
816     [EditorBrowsable(EditorBrowsableState.Never)]
817     public enum VisualFittingModeType
818     {
819         /// <summary>
820         /// The visual should be scaled to fit, preserving aspect ratio.
821         /// </summary>
822         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
823         [EditorBrowsable(EditorBrowsableState.Never)]
824         FitKeepAspectRatio,
825         /// <summary>
826         /// The visual should be stretched to fill, not preserving aspect ratio.
827         /// </summary>
828         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
829         [EditorBrowsable(EditorBrowsableState.Never)]
830         Fill
831     }
832
833     /// <summary>
834     /// This specifies sampling mode types. Filtering options are used when resizing images to sample original pixels.<br />
835     /// A SamplingMode controls how pixels in an input image are sampled and combined to generate each pixel of a destination image during scaling.<br />
836     /// 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 />
837     /// but all other filter modes do if the desired dimensions are not more than the raw dimensions of the input image file.<br />
838     /// </summary>
839     /// <since_tizen> 3 </since_tizen>
840     public enum SamplingModeType
841     {
842         /// <summary>
843         /// Iteratively box filter to generate an image of 1/2, 1/4, 1/8, etc. width and height and approximately the desired size. <br />
844         /// This is the default.
845         /// </summary>
846         Box,
847         /// <summary>
848         /// For each output pixel, read one input pixel.
849         /// </summary>
850         Nearest,
851         /// <summary>
852         /// For each output pixel, read a quad of four input pixels and write a weighted average of them.
853         /// </summary>
854         Linear,
855         /// <summary>
856         /// Iteratively box filter to generate an image of 1/2, 1/4, 1/8, etc. width and height and approximately the desired size, <br />
857         /// then for each output pixel, read one pixel from the last level of box filtering.<br />
858         /// </summary>
859         BoxThenNearest,
860         /// <summary>
861         /// 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.
862         /// </summary>
863         BoxThenLinear,
864         /// <summary>
865         /// 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.
866         /// </summary>
867         NoFilter,
868         /// <summary>
869         /// For caching algorithms where a client strongly prefers a cache-hit to reuse a cached image.
870         /// </summary>
871         DontCare
872     }
873
874     /// <summary>
875     /// This specifies policy types that could be used by the transform for the offset or size.
876     /// </summary>
877     /// <since_tizen> 3 </since_tizen>
878     public enum VisualTransformPolicyType
879     {
880         /// <summary>
881         /// Relative to the control (percentage [0.0f to 1.0f] of the control).
882         /// </summary>
883         Relative = 0,
884         /// <summary>
885         /// Absolute value in world units.
886         /// </summary>
887         Absolute = 1
888     }
889
890     /// <summary>
891     /// This specifies all the transform property types.
892     /// </summary>
893     /// <since_tizen> 3 </since_tizen>
894     public enum VisualTransformPropertyType
895     {
896         /// <summary>
897         /// Offset of the visual, which can be either relative (percentage [0.0f to 1.0f] of the parent) or absolute (in world units).
898         /// </summary>
899         Offset,
900         /// <summary>
901         /// Size of the visual, which can be either relative (percentage [0.0f to 1.0f] of the parent) or absolute (in world units).
902         /// </summary>
903         Size,
904         /// <summary>
905         /// The origin of the visual within its control area.
906         /// </summary>
907         Origin,
908         /// <summary>
909         /// The anchor-point of the visual.
910         /// </summary>
911         AnchorPoint,
912         /// <summary>
913         /// Whether the x or y offset values are relative (percentage [0.0f to 1.0f] of the control) or absolute (in world units).
914         /// </summary>
915         OffsetPolicy,
916         /// <summary>
917         /// Whether the width or the height size values are relative (percentage [0.0f to 1.0f] of the control) or absolute (in world units).
918         /// </summary>
919         SizePolicy
920     }
921
922     /// <summary>
923     /// This specifies visual types.
924     /// </summary>
925     /// <since_tizen> 3 </since_tizen>
926     public struct Visual
927     {
928         /// <summary>
929         /// The index for the visual type.
930         /// </summary>
931         /// <since_tizen> 3 </since_tizen>
932         public enum Type
933         {
934             /// <summary>
935             /// Renders a solid color as an internal border to the control's quad.
936             /// </summary>
937             Border,
938             /// <summary>
939             /// Renders a solid color to the control's quad.
940             /// </summary>
941             Color,
942             /// <summary>
943             /// Renders a smooth transition of colors to the control's quad.
944             /// </summary>
945             Gradient,
946             /// <summary>
947             /// Renders an image into the control's quad.
948             /// </summary>
949             Image,
950             /// <summary>
951             /// Renders a mesh using an "obj" file, optionally with textures provided by an "mtl" file.
952             /// </summary>
953             Mesh,
954             /// <summary>
955             /// Renders a simple 3D shape, such as a cube or a sphere.
956             /// </summary>
957             Primitive,
958             /// <summary>
959             /// Renders a simple wire-frame outlining a quad.
960             /// </summary>
961             Wireframe,
962             /// <summary>
963             /// Renders text.
964             /// </summary>
965             Text,
966             /// <summary>
967             /// Renders an NPatch image.
968             /// </summary>
969             NPatch,
970             /// <summary>
971             /// Renders an SVG image.
972             /// </summary>
973             SVG,
974             /// <summary>
975             /// Renders a animated image (animated GIF).
976             /// </summary>
977             AnimatedImage
978         }
979
980         /// <summary>
981         /// This specifies visual properties.
982         /// </summary>
983         /// <since_tizen> 3 </since_tizen>
984         public struct Property
985         {
986             /// <summary>
987             /// Type.
988             /// </summary>
989             /// <since_tizen> 3 </since_tizen>
990             public static readonly int Type = NDalic.VISUAL_PROPERTY_TYPE;
991             /// <summary>
992             /// Shader.
993             /// </summary>
994             /// <since_tizen> 3 </since_tizen>
995             public static readonly int Shader = NDalic.VISUAL_PROPERTY_SHADER;
996             /// <summary>
997             /// Transform.
998             /// </summary>
999             /// <since_tizen> 3 </since_tizen>
1000             public static readonly int Transform = NDalic.VISUAL_PROPERTY_TRANSFORM;
1001             /// <summary>
1002             /// PremultipliedAlpha.
1003             /// </summary>
1004             /// <since_tizen> 3 </since_tizen>
1005             public static readonly int PremultipliedAlpha = NDalic.VISUAL_PROPERTY_PREMULTIPLIED_ALPHA;
1006             /// <summary>
1007             /// MixColor.
1008             /// </summary>
1009             /// <since_tizen> 3 </since_tizen>
1010             public static readonly int MixColor = NDalic.VISUAL_PROPERTY_MIX_COLOR;
1011             /// <summary>
1012             /// Opacity.
1013             /// </summary>
1014             /// <since_tizen> 3 </since_tizen>
1015             public static readonly int Opacity = NDalic.VISUAL_PROPERTY_MIX_COLOR + 1;
1016             /// <summary>
1017             /// The fitting mode of the visual.
1018             /// </summary>
1019             /// <since_tizen> 5 </since_tizen>
1020             /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1021             [EditorBrowsable(EditorBrowsableState.Never)]
1022             public static readonly int VisualFittingMode = NDalic.VISUAL_PROPERTY_MIX_COLOR + 2;
1023         }
1024
1025         /// <summary>
1026         /// This specifies shader properties.
1027         /// </summary>
1028         /// <since_tizen> 3 </since_tizen>
1029         public struct ShaderProperty
1030         {
1031             /// <summary>
1032             /// Vertex shader code
1033             /// </summary>
1034             /// <since_tizen> 3 </since_tizen>
1035             public static readonly int VertexShader = NDalic.VISUAL_SHADER_VERTEX;
1036             /// <summary>
1037             /// Fragment shader code
1038             /// </summary>
1039             /// <since_tizen> 3 </since_tizen>
1040             public static readonly int FragmentShader = NDalic.VISUAL_SHADER_FRAGMENT;
1041             /// <summary>
1042             /// How to subdivide the grid along X
1043             /// </summary>
1044             /// <since_tizen> 3 </since_tizen>
1045             public static readonly int ShaderSubdivideGridX = NDalic.VISUAL_SHADER_SUBDIVIDE_GRID_X;
1046             /// <summary>
1047             /// How to subdivide the grid along Y
1048             /// </summary>
1049             /// <since_tizen> 3 </since_tizen>
1050             public static readonly int ShaderSubdivideGridY = NDalic.VISUAL_SHADER_SUBDIVIDE_GRID_Y;
1051             /// <summary>
1052             /// Bitmask of hints
1053             /// </summary>
1054             /// <since_tizen> 3 </since_tizen>
1055             public static readonly int ShaderHints = NDalic.VISUAL_SHADER_HINTS;
1056         }
1057
1058         /// <summary>
1059         /// This specifies visaul align types.
1060         /// </summary>
1061         /// <since_tizen> 3 </since_tizen>
1062         public enum AlignType
1063         {
1064             /// <summary>
1065             /// TopBegin
1066             /// </summary>
1067             /// <since_tizen> 3 </since_tizen>
1068             TopBegin = 0,
1069             /// <summary>
1070             /// TopCenter
1071             /// </summary>
1072             /// <since_tizen> 3 </since_tizen>
1073             TopCenter,
1074             /// <summary>
1075             /// TopEnd
1076             /// </summary>
1077             /// <since_tizen> 3 </since_tizen>
1078             TopEnd,
1079             /// <summary>
1080             /// CenterBegin
1081             /// </summary>
1082             /// <since_tizen> 3 </since_tizen>
1083             CenterBegin,
1084             /// <summary>
1085             /// Center
1086             /// </summary>
1087             /// <since_tizen> 3 </since_tizen>
1088             Center,
1089             /// <summary>
1090             /// CenterEnd
1091             /// </summary>
1092             /// <since_tizen> 3 </since_tizen>
1093             CenterEnd,
1094             /// <summary>
1095             /// BottomBegin
1096             /// </summary>
1097             /// <since_tizen> 3 </since_tizen>
1098             BottomBegin,
1099             /// <summary>
1100             /// BottomCenter
1101             /// </summary>
1102             /// <since_tizen> 3 </since_tizen>
1103             BottomCenter,
1104             /// <summary>
1105             /// BottomEnd
1106             /// </summary>
1107             /// <since_tizen> 3 </since_tizen>
1108             BottomEnd
1109         }
1110     }
1111
1112     /// <summary>
1113     /// This specifies properties of the BorderVisual.
1114     /// </summary>
1115     /// <since_tizen> 3 </since_tizen>
1116     public struct BorderVisualProperty
1117     {
1118         /// <summary>
1119         /// The color of the border.
1120         /// </summary>
1121         /// <since_tizen> 3 </since_tizen>
1122         public static readonly int Color = NDalic.BORDER_VISUAL_COLOR;
1123         /// <summary>
1124         /// The width of the border (in pixels).
1125         /// </summary>
1126         /// <since_tizen> 3 </since_tizen>
1127         public static readonly int Size = NDalic.BORDER_VISUAL_SIZE;
1128         /// <summary>
1129         /// Whether anti-aliasing of the border is required.
1130         /// </summary>
1131         /// <since_tizen> 3 </since_tizen>
1132         public static readonly int AntiAliasing = NDalic.BORDER_VISUAL_ANTI_ALIASING;
1133     }
1134
1135     /// <summary>
1136     /// This specifies properties of the ColorVisual.
1137     /// </summary>
1138     /// <since_tizen> 3 </since_tizen>
1139     public struct ColorVisualProperty
1140     {
1141         /// <summary>
1142         /// The solid color required.
1143         /// </summary>
1144         /// <since_tizen> 3 </since_tizen>
1145         public static readonly int MixColor = NDalic.COLOR_VISUAL_MIX_COLOR;
1146         /// <summary>
1147         /// Whether to render if the MixColor is transparent.
1148         /// </summary>
1149         /// <since_tizen> 5 </since_tizen>
1150         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1151         [EditorBrowsable(EditorBrowsableState.Never)]
1152         public static readonly int RenderIfTransparent = NDalic.COLOR_VISUAL_MIX_COLOR + 1;
1153     }
1154
1155     /// <summary>
1156     /// This specifies properties of the GradientVisual.
1157     /// </summary>
1158     /// <since_tizen> 3 </since_tizen>
1159     public struct GradientVisualProperty
1160     {
1161         /// <summary>
1162         /// The start position of a linear gradient.
1163         /// </summary>
1164         /// <since_tizen> 3 </since_tizen>
1165         public static readonly int StartPosition = NDalic.GRADIENT_VISUAL_START_POSITION;
1166         /// <summary>
1167         /// The end position of a linear gradient.
1168         /// </summary>
1169         /// <since_tizen> 3 </since_tizen>
1170         public static readonly int EndPosition = NDalic.GRADIENT_VISUAL_END_POSITION;
1171         /// <summary>
1172         /// The center point of a radial gradient.
1173         /// </summary>
1174         /// <since_tizen> 3 </since_tizen>
1175         public static readonly int Center = NDalic.GRADIENT_VISUAL_CENTER;
1176         /// <summary>
1177         /// The size of the radius of a radial gradient.
1178         /// </summary>
1179         /// <since_tizen> 3 </since_tizen>
1180         public static readonly int Radius = NDalic.GRADIENT_VISUAL_RADIUS;
1181         /// <summary>
1182         /// All the stop offsets.
1183         /// </summary>
1184         /// <since_tizen> 3 </since_tizen>
1185         public static readonly int StopOffset = NDalic.GRADIENT_VISUAL_STOP_OFFSET;
1186         /// <summary>
1187         /// The color at the stop offsets.
1188         /// </summary>
1189         /// <since_tizen> 3 </since_tizen>
1190         public static readonly int StopColor = NDalic.GRADIENT_VISUAL_STOP_COLOR;
1191         /// <summary>
1192         /// Defines the coordinate system for certain attributes of the points in a gradient.
1193         /// </summary>
1194         /// <since_tizen> 3 </since_tizen>
1195         public static readonly int Units = NDalic.GRADIENT_VISUAL_UNITS;
1196         /// <summary>
1197         /// Indicates what happens if the gradient starts or ends inside the bounds of the target rectangle.
1198         /// </summary>
1199         /// <since_tizen> 3 </since_tizen>
1200         public static readonly int SpreadMethod = NDalic.GRADIENT_VISUAL_SPREAD_METHOD;
1201     }
1202
1203     /// <summary>
1204     /// This specifies properties of the ImageVisual.
1205     /// </summary>
1206     /// <since_tizen> 3 </since_tizen>
1207     public struct ImageVisualProperty
1208     {
1209         /// <summary>
1210         /// The URL of the image.
1211         /// </summary>
1212         /// <since_tizen> 3 </since_tizen>
1213         public static readonly int URL = NDalic.IMAGE_VISUAL_URL;
1214         /// <summary>
1215         /// The URL of the alpha mask image.
1216         /// </summary>
1217         /// <since_tizen> 3 </since_tizen>
1218         public static readonly int AlphaMaskURL = NDalic.IMAGE_VISUAL_ALPHA_MASK_URL;
1219         /// <summary>
1220         /// Fitting options, used when resizing images to fit desired dimensions.
1221         /// </summary>
1222         /// <since_tizen> 3 </since_tizen>
1223         public static readonly int FittingMode = NDalic.IMAGE_VISUAL_FITTING_MODE;
1224         /// <summary>
1225         /// Filtering options, used when resizing images to sample original pixels.
1226         /// </summary>
1227         /// <since_tizen> 3 </since_tizen>
1228         public static readonly int SamplingMode = NDalic.IMAGE_VISUAL_SAMPLING_MODE;
1229         /// <summary>
1230         /// The desired image width.
1231         /// </summary>
1232         /// <since_tizen> 3 </since_tizen>
1233         public static readonly int DesiredWidth = NDalic.IMAGE_VISUAL_DESIRED_WIDTH;
1234         /// <summary>
1235         /// The desired image height.
1236         /// </summary>
1237         /// <since_tizen> 3 </since_tizen>
1238         public static readonly int DesiredHeight = NDalic.IMAGE_VISUAL_DESIRED_HEIGHT;
1239         /// <summary>
1240         /// Whether to load the image synchronously.
1241         /// </summary>
1242         /// <since_tizen> 3 </since_tizen>
1243         public static readonly int SynchronousLoading = NDalic.IMAGE_VISUAL_SYNCHRONOUS_LOADING;
1244         /// <summary>
1245         /// If true, only draws the borders.
1246         /// </summary>
1247         /// <since_tizen> 3 </since_tizen>
1248         public static readonly int BorderOnly = NDalic.IMAGE_VISUAL_BORDER_ONLY;
1249         /// <summary>
1250         /// The image area to be displayed.
1251         /// </summary>
1252         /// <since_tizen> 3 </since_tizen>
1253         public static readonly int PixelArea = NDalic.IMAGE_VISUAL_PIXEL_AREA;
1254         /// <summary>
1255         /// The wrap mode for u coordinate.
1256         /// </summary>
1257         /// <since_tizen> 3 </since_tizen>
1258         public static readonly int WrapModeU = NDalic.IMAGE_VISUAL_WRAP_MODE_U;
1259         /// <summary>
1260         /// The wrap mode for v coordinate.
1261         /// </summary>
1262         /// <since_tizen> 3 </since_tizen>
1263         public static readonly int WrapModeV = NDalic.IMAGE_VISUAL_WRAP_MODE_V;
1264         /// <summary>
1265         /// The border of the image.
1266         /// </summary>
1267         /// <since_tizen> 3 </since_tizen>
1268         public static readonly int Border = NDalic.IMAGE_VISUAL_BORDER;
1269         /// <summary>
1270         /// Whether to use the texture atlas.
1271         /// </summary>
1272         /// <since_tizen> 5 </since_tizen>
1273         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1274         [EditorBrowsable(EditorBrowsableState.Never)]
1275         public static readonly int Atlasing = NDalic.IMAGE_VISUAL_BORDER + 1;
1276         /// <summary>
1277         /// The scale factor to apply to the content image before masking.
1278         /// </summary>
1279         /// <since_tizen> 4 </since_tizen>
1280         public static readonly int MaskContentScale = NDalic.IMAGE_VISUAL_MASK_CONTENT_SCALE;
1281         /// <summary>
1282         /// Whether to crop image to mask or scale mask to fit image
1283         /// </summary>
1284         /// <since_tizen> 4 </since_tizen>
1285         public static readonly int CropToMask = NDalic.IMAGE_VISUAL_CROP_TO_MASK;
1286         /// <summary>
1287         /// Defines the batch size for pre-loading images in the AnimatedImageVisual
1288         /// </summary>
1289         /// <since_tizen> 4 </since_tizen>
1290         public static readonly int BatchSize = NDalic.IMAGE_VISUAL_BATCH_SIZE;
1291         /// <summary>
1292         /// Defines the cache size for loading images in the AnimatedImageVisual
1293         /// </summary>
1294         /// <since_tizen> 4 </since_tizen>
1295         public static readonly int CacheSize = NDalic.IMAGE_VISUAL_CACHE_SIZE;
1296         /// <summary>
1297         /// The number of milliseconds between each frame in the AnimatedImageVisual
1298         /// </summary>
1299         /// <since_tizen> 4 </since_tizen>
1300         public static readonly int FrameDelay = NDalic.IMAGE_VISUAL_FRAME_DELAY;
1301         /// <summary>
1302         /// The number of times the AnimatedImageVisual will be looped.
1303         /// The default is -1. If the value is less than 0, loop unlimited. Otherwise, loop loopCount times.
1304         /// </summary>
1305         /// <since_tizen> 5 </since_tizen>
1306         public static readonly int LoopCount = NDalic.IMAGE_VISUAL_LOOP_COUNT;
1307         /// <summary>
1308         /// The policy to determine when an image should no longer be cached.
1309         /// </summary>
1310         /// <since_tizen> 5 </since_tizen>
1311         public static readonly int ReleasePolicy = NDalic.IMAGE_VISUAL_RELEASE_POLICY;
1312         /// <summary>
1313         /// The policy to determine when an image should be loaded.
1314         /// </summary>
1315         /// <since_tizen> 5 </since_tizen>
1316         public static readonly int LoadPolicy = NDalic.IMAGE_VISUAL_LOAD_POLICY;
1317         /// <summary>
1318         /// Determines if image orientation should be corrected so that the image displays as it was intended.
1319         /// </summary>
1320         /// <since_tizen> 5 </since_tizen>
1321         public static readonly int OrientationCorrection = NDalic.IMAGE_VISUAL_ORIENTATION_CORRECTION;
1322         /// <summary>
1323         /// Overlays the auxiliary image on top of an NPatch image.
1324         /// </summary>
1325         /// <since_tizen> 5 </since_tizen>
1326         public static readonly int AuxiliaryImageURL = NDalic.IMAGE_VISUAL_AUXILIARY_IMAGE_URL;
1327         /// <summary>
1328         /// Alpha value for the auxiliary image, without affecting the underlying NPatch image
1329         /// </summary>
1330         /// <since_tizen> 5 </since_tizen>
1331         public static readonly int AuxiliaryImageAlpha = NDalic.IMAGE_VISUAL_AUXILIARY_IMAGE_ALPHA;
1332     }
1333
1334     /// <summary>
1335     /// This specifies properties of the MeshVisual.
1336     /// </summary>
1337     /// <since_tizen> 3 </since_tizen>
1338     public struct MeshVisualProperty
1339     {
1340         /// <summary>
1341         /// The location of the ".obj" file.
1342         /// </summary>
1343         /// <since_tizen> 3 </since_tizen>
1344         public static readonly int ObjectURL = NDalic.MESH_VISUAL_OBJECT_URL;
1345         /// <summary>
1346         /// The location of the ".mtl" file.
1347         /// </summary>
1348         /// <since_tizen> 3 </since_tizen>
1349         public static readonly int MaterialtURL = NDalic.MESH_VISUAL_MATERIAL_URL;
1350         /// <summary>
1351         /// Path to the directory the textures (including gloss and normal) are stored in.
1352         /// </summary>
1353         /// <since_tizen> 3 </since_tizen>
1354         public static readonly int TexturesPath = NDalic.MESH_VISUAL_TEXTURES_PATH;
1355         /// <summary>
1356         /// Sets the type of shading mode that the mesh will use.
1357         /// </summary>
1358         /// <since_tizen> 3 </since_tizen>
1359         public static readonly int ShadingMode = NDalic.MESH_VISUAL_SHADING_MODE;
1360         /// <summary>
1361         /// Whether to use mipmaps for textures or not.
1362         /// </summary>
1363         /// <since_tizen> 3 </since_tizen>
1364         public static readonly int UseMipmapping = NDalic.MESH_VISUAL_USE_MIPMAPPING;
1365         /// <summary>
1366         /// Whether to average normals at each point to smooth textures or not.
1367         /// </summary>
1368         /// <since_tizen> 3 </since_tizen>
1369         public static readonly int UseSoftNormals = NDalic.MESH_VISUAL_USE_SOFT_NORMALS;
1370         /// <summary>
1371         /// The position, in stage space, of the point light that applies lighting to the model.
1372         /// </summary>
1373         /// <since_tizen> 3 </since_tizen>
1374         public static readonly int LightPosition = NDalic.MESH_VISUAL_LIGHT_POSITION;
1375     }
1376
1377     /// <summary>
1378     /// This specifies properties of the PrimitiveVisual.
1379     /// </summary>
1380     /// <since_tizen> 3 </since_tizen>
1381     public struct PrimitiveVisualProperty
1382     {
1383         /// <summary>
1384         /// The specific shape to render.
1385         /// </summary>
1386         /// <since_tizen> 3 </since_tizen>
1387         public static readonly int Shape = NDalic.PRIMITIVE_VISUAL_SHAPE;
1388         /// <summary>
1389         /// The color of the shape.
1390         /// </summary>
1391         /// <since_tizen> 3 </since_tizen>
1392         public static readonly int MixColor = NDalic.PRIMITIVE_VISUAL_MIX_COLOR;
1393         /// <summary>
1394         /// The number of slices as you go around the shape.
1395         /// </summary>
1396         /// <since_tizen> 3 </since_tizen>
1397         public static readonly int Slices = NDalic.PRIMITIVE_VISUAL_SLICES;
1398         /// <summary>
1399         /// The number of stacks as you go down the shape.
1400         /// </summary>
1401         /// <since_tizen> 3 </since_tizen>
1402         public static readonly int Stacks = NDalic.PRIMITIVE_VISUAL_STACKS;
1403         /// <summary>
1404         /// The scale of the radius of the top circle of a conical frustrum.
1405         /// </summary>
1406         /// <since_tizen> 3 </since_tizen>
1407         public static readonly int ScaleTopRadius = NDalic.PRIMITIVE_VISUAL_SCALE_TOP_RADIUS;
1408         /// <summary>
1409         /// The scale of the radius of the bottom circle of a conical frustrum.
1410         /// </summary>
1411         /// <since_tizen> 3 </since_tizen>
1412         public static readonly int ScaleBottomRadius = NDalic.PRIMITIVE_VISUAL_SCALE_BOTTOM_RADIUS;
1413         /// <summary>
1414         /// The scale of the height of a conic.
1415         /// </summary>
1416         /// <since_tizen> 3 </since_tizen>
1417         public static readonly int ScaleHeight = NDalic.PRIMITIVE_VISUAL_SCALE_HEIGHT;
1418         /// <summary>
1419         /// The scale of the radius of a cylinder.
1420         /// </summary>
1421         /// <since_tizen> 3 </since_tizen>
1422         public static readonly int ScaleRadius = NDalic.PRIMITIVE_VISUAL_SCALE_RADIUS;
1423         /// <summary>
1424         /// The dimensions of a cuboid. Scales in the same fashion as a 9-patch image.
1425         /// </summary>
1426         /// <since_tizen> 3 </since_tizen>
1427         public static readonly int ScaleDimensions = NDalic.PRIMITIVE_VISUAL_SCALE_DIMENSIONS;
1428         /// <summary>
1429         /// Determines how bevelled the cuboid should be, based off the smallest dimension.
1430         /// </summary>
1431         /// <since_tizen> 3 </since_tizen>
1432         public static readonly int BevelPercentage = NDalic.PRIMITIVE_VISUAL_BEVEL_PERCENTAGE;
1433         /// <summary>
1434         /// Defines how smooth the bevelled edges should be.
1435         /// </summary>
1436         /// <since_tizen> 3 </since_tizen>
1437         public static readonly int BevelSmoothness = NDalic.PRIMITIVE_VISUAL_BEVEL_SMOOTHNESS;
1438         /// <summary>
1439         /// The position, in stage space, of the point light that applies lighting to the model.
1440         /// </summary>
1441         /// <since_tizen> 3 </since_tizen>
1442         public static readonly int LightPosition = NDalic.PRIMITIVE_VISUAL_LIGHT_POSITION;
1443     }
1444
1445     /// <summary>
1446     /// This specifies properties of the TextVisual.
1447     /// </summary>
1448     /// <since_tizen> 3 </since_tizen>
1449     public struct TextVisualProperty
1450     {
1451         /// <summary>
1452         /// The text to display in UTF-8 format.
1453         /// </summary>
1454         /// <since_tizen> 3 </since_tizen>
1455         public static readonly int Text = NDalic.TEXT_VISUAL_TEXT;
1456         /// <summary>
1457         /// The requested font family to use.
1458         /// </summary>
1459         /// <since_tizen> 3 </since_tizen>
1460         public static readonly int FontFamily = NDalic.TEXT_VISUAL_FONT_FAMILY;
1461         /// <summary>
1462         /// The requested font style to use.
1463         /// </summary>
1464         /// <since_tizen> 3 </since_tizen>
1465         public static readonly int FontStyle = NDalic.TEXT_VISUAL_FONT_STYLE;
1466         /// <summary>
1467         /// The size of font in points.
1468         /// </summary>
1469         /// <since_tizen> 3 </since_tizen>
1470         public static readonly int PointSize = NDalic.TEXT_VISUAL_POINT_SIZE;
1471         /// <summary>
1472         /// The single-line or multi-line layout option.
1473         /// </summary>
1474         /// <since_tizen> 3 </since_tizen>
1475         public static readonly int MultiLine = NDalic.TEXT_VISUAL_MULTI_LINE;
1476         /// <summary>
1477         /// The line horizontal alignment.
1478         /// </summary>
1479         /// <since_tizen> 3 </since_tizen>
1480         public static readonly int HorizontalAlignment = NDalic.TEXT_VISUAL_HORIZONTAL_ALIGNMENT;
1481         /// <summary>
1482         /// The line vertical alignment.
1483         /// </summary>
1484         /// <since_tizen> 3 </since_tizen>
1485         public static readonly int VerticalAlignment = NDalic.TEXT_VISUAL_VERTICAL_ALIGNMENT;
1486         /// <summary>
1487         /// The color of the text.
1488         /// </summary>
1489         /// <since_tizen> 3 </since_tizen>
1490         public static readonly int TextColor = NDalic.TEXT_VISUAL_TEXT_COLOR;
1491         /// <summary>
1492         /// Whether the mark-up processing is enabled.
1493         /// </summary>
1494         /// <since_tizen> 3 </since_tizen>
1495         public static readonly int EnableMarkup = NDalic.TEXT_VISUAL_ENABLE_MARKUP;
1496         /// <summary>
1497         /// The shadow parameters.
1498         /// </summary>
1499         /// <since_tizen> 5 </since_tizen>
1500         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1501         [EditorBrowsable(EditorBrowsableState.Never)]
1502         public static readonly int Shadow = NDalic.TEXT_VISUAL_ENABLE_MARKUP + 1;
1503         /// <summary>
1504         /// The default underline parameters.
1505         /// </summary>
1506         /// <since_tizen> 5 </since_tizen>
1507         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1508         [EditorBrowsable(EditorBrowsableState.Never)]
1509         public static readonly int Underline = NDalic.TEXT_VISUAL_ENABLE_MARKUP + 2;
1510         /// <summary>
1511         /// The default outline parameters.
1512         /// </summary>
1513         /// <since_tizen> 5 </since_tizen>
1514         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1515         [EditorBrowsable(EditorBrowsableState.Never)]
1516         public static readonly int Outline = NDalic.TEXT_VISUAL_ENABLE_MARKUP + 3;
1517         /// <summary>
1518         /// The default text background parameters.
1519         /// </summary>
1520         /// <since_tizen> 5 </since_tizen>
1521         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1522         [EditorBrowsable(EditorBrowsableState.Never)]
1523         public static readonly int Background = NDalic.TEXT_VISUAL_ENABLE_MARKUP + 4;
1524     }
1525
1526     /// <summary>
1527     /// This specifies properties of the NpatchImageVisual.
1528     /// </summary>
1529     /// <since_tizen> 3 </since_tizen>
1530     public struct NpatchImageVisualProperty
1531     {
1532         /// <summary>
1533         /// The URL of the image.
1534         /// </summary>
1535         /// <since_tizen> 3 </since_tizen>
1536         public static readonly int URL = NDalic.IMAGE_VISUAL_URL;
1537         /// <summary>
1538         /// Fitting options, used when resizing images to fit desired dimensions.
1539         /// </summary>
1540         /// <since_tizen> 3 </since_tizen>
1541         public static readonly int FittingMode = NDalic.IMAGE_VISUAL_FITTING_MODE;
1542         /// <summary>
1543         /// Filtering options, used when resizing images to sample original pixels.
1544         /// </summary>
1545         /// <since_tizen> 3 </since_tizen>
1546         public static readonly int SamplingMode = NDalic.IMAGE_VISUAL_SAMPLING_MODE;
1547         /// <summary>
1548         /// The desired image width.
1549         /// </summary>
1550         /// <since_tizen> 3 </since_tizen>
1551         public static readonly int DesiredWidth = NDalic.IMAGE_VISUAL_DESIRED_WIDTH;
1552         /// <summary>
1553         /// The desired image height.
1554         /// </summary>
1555         /// <since_tizen> 3 </since_tizen>
1556         public static readonly int DesiredHeight = NDalic.IMAGE_VISUAL_DESIRED_HEIGHT;
1557         /// <summary>
1558         /// Whether to load the image synchronously.
1559         /// </summary>
1560         /// <since_tizen> 3 </since_tizen>
1561         public static readonly int SynchronousLoading = NDalic.IMAGE_VISUAL_SYNCHRONOUS_LOADING;
1562         /// <summary>
1563         /// If true, only draws the borders.
1564         /// </summary>
1565         /// <since_tizen> 3 </since_tizen>
1566         public static readonly int BorderOnly = NDalic.IMAGE_VISUAL_BORDER_ONLY;
1567         /// <summary>
1568         /// The image area to be displayed.
1569         /// </summary>
1570         /// <since_tizen> 3 </since_tizen>
1571         public static readonly int PixelArea = NDalic.IMAGE_VISUAL_PIXEL_AREA;
1572         /// <summary>
1573         /// The wrap mode for u coordinate.
1574         /// </summary>
1575         /// <since_tizen> 3 </since_tizen>
1576         public static readonly int WrapModeU = NDalic.IMAGE_VISUAL_WRAP_MODE_U;
1577         /// <summary>
1578         /// The wrap mode for v coordinate.
1579         /// </summary>
1580         /// <since_tizen> 3 </since_tizen>
1581         public static readonly int WrapModeV = NDalic.IMAGE_VISUAL_WRAP_MODE_V;
1582         /// <summary>
1583         /// The border of the image.
1584         /// </summary>
1585         /// <since_tizen> 3 </since_tizen>
1586         public static readonly int Border = NDalic.IMAGE_VISUAL_WRAP_MODE_V + 1;
1587     }
1588
1589     /// <summary>
1590     /// The HiddenInput property.
1591     /// </summary>
1592     /// <since_tizen> 3 </since_tizen>
1593     public struct HiddenInputProperty
1594     {
1595         /// <summary>
1596         /// The mode for input text display.
1597         /// </summary>
1598         /// <since_tizen> 3 </since_tizen>
1599         public static readonly int Mode = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_MODE_get();
1600         /// <summary>
1601         /// All input characters are substituted by this character.
1602         /// </summary>
1603         /// <since_tizen> 3 </since_tizen>
1604         public static readonly int SubstituteCharacter = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_SUBSTITUTE_CHARACTER_get();
1605         /// <summary>
1606         /// Length of text to show or hide, available when HIDE_COUNT/SHOW_COUNT mode is used.
1607         /// </summary>
1608         /// <since_tizen> 3 </since_tizen>
1609         public static readonly int SubstituteCount = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_SUBSTITUTE_COUNT_get();
1610         /// <summary>
1611         /// Hide last character after this duration, available when SHOW_LAST_CHARACTER mode.
1612         /// </summary>
1613         /// <since_tizen> 4 </since_tizen>
1614         public static readonly int ShowLastCharacterDuration = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_SHOW_LAST_CHARACTER_DURATION_get();
1615     }
1616
1617     /// <summary>
1618     /// The type for HiddenInput mode.
1619     /// </summary>
1620     /// <since_tizen> 3 </since_tizen>
1621     public enum HiddenInputModeType
1622     {
1623         /// <summary>
1624         /// Don't hide text.
1625         /// </summary>
1626         HideNone,
1627         /// <summary>
1628         /// Hide all the input text.
1629         /// </summary>
1630         HideAll,
1631         /// <summary>
1632         /// Hide n characters from start.
1633         /// </summary>
1634         HideCount,
1635         /// <summary>
1636         /// Show n characters from start.
1637         /// </summary>
1638         ShowCount,
1639         /// <summary>
1640         /// Show last character for the duration(use ShowLastCharacterDuration property to modify duration).
1641         /// </summary>
1642         ShowLastCharacter
1643     }
1644
1645     /// <summary>
1646     /// ParentOrigin constants.
1647     /// </summary>
1648     /// <since_tizen> 3 </since_tizen>
1649     public struct ParentOrigin
1650     {
1651         /// <summary>
1652         /// Top
1653         /// </summary>
1654         /// <since_tizen> 3 </since_tizen>
1655         public static float Top
1656         {
1657             get
1658             {
1659                 float ret = NDalicPINVOKE.ParentOriginTop_get();
1660                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1661                 return ret;
1662             }
1663         }
1664
1665         /// <summary>
1666         /// Bottom
1667         /// </summary>
1668         /// <since_tizen> 3 </since_tizen>
1669         public static float Bottom
1670         {
1671             get
1672             {
1673                 float ret = NDalicPINVOKE.ParentOriginBottom_get();
1674                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1675                 return ret;
1676             }
1677         }
1678
1679         /// <summary>
1680         /// Left
1681         /// </summary>
1682         /// <since_tizen> 3 </since_tizen>
1683         public static float Left
1684         {
1685             get
1686             {
1687                 float ret = NDalicPINVOKE.ParentOriginLeft_get();
1688                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1689                 return ret;
1690             }
1691         }
1692
1693         /// <summary>
1694         /// Right
1695         /// </summary>
1696         /// <since_tizen> 3 </since_tizen>
1697         public static float Right
1698         {
1699             get
1700             {
1701                 float ret = NDalicPINVOKE.ParentOriginRight_get();
1702                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1703                 return ret;
1704             }
1705         }
1706
1707         /// <summary>
1708         /// Middle
1709         /// </summary>
1710         /// <since_tizen> 3 </since_tizen>
1711         public static float Middle
1712         {
1713             get
1714             {
1715                 float ret = NDalicPINVOKE.ParentOriginMiddle_get();
1716                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1717                 return ret;
1718             }
1719         }
1720
1721         /// <summary>
1722         /// TopLeft
1723         /// </summary>
1724         /// <since_tizen> 3 </since_tizen>
1725         public static Position TopLeft
1726         {
1727             get
1728             {
1729                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopLeft_get();
1730                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1731                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1732                 return ret;
1733             }
1734         }
1735
1736         /// <summary>
1737         /// TopCenter
1738         /// </summary>
1739         /// <since_tizen> 3 </since_tizen>
1740         public static Position TopCenter
1741         {
1742             get
1743             {
1744                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopCenter_get();
1745                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1746                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1747                 return ret;
1748             }
1749         }
1750
1751         /// <summary>
1752         /// TopRight
1753         /// </summary>
1754         /// <since_tizen> 3 </since_tizen>
1755         public static Position TopRight
1756         {
1757             get
1758             {
1759                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopRight_get();
1760                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1761                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1762                 return ret;
1763             }
1764         }
1765
1766         /// <summary>
1767         /// CenterLeft
1768         /// </summary>
1769         /// <since_tizen> 3 </since_tizen>
1770         public static Position CenterLeft
1771         {
1772             get
1773             {
1774                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenterLeft_get();
1775                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1776                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1777                 return ret;
1778             }
1779         }
1780
1781         /// <summary>
1782         /// Center
1783         /// </summary>
1784         /// <since_tizen> 3 </since_tizen>
1785         public static Position Center
1786         {
1787             get
1788             {
1789                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenter_get();
1790                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1791                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1792                 return ret;
1793             }
1794         }
1795
1796         /// <summary>
1797         /// CenterRight
1798         /// </summary>
1799         /// <since_tizen> 3 </since_tizen>
1800         public static Position CenterRight
1801         {
1802             get
1803             {
1804                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenterRight_get();
1805                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1806                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1807                 return ret;
1808             }
1809         }
1810
1811         /// <summary>
1812         /// BottomLeft
1813         /// </summary>
1814         /// <since_tizen> 3 </since_tizen>
1815         public static Position BottomLeft
1816         {
1817             get
1818             {
1819                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomLeft_get();
1820                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1821                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1822                 return ret;
1823             }
1824         }
1825
1826         /// <summary>
1827         /// BottomCenter
1828         /// </summary>
1829         /// <since_tizen> 3 </since_tizen>
1830         public static Position BottomCenter
1831         {
1832             get
1833             {
1834                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomCenter_get();
1835                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1836                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1837                 return ret;
1838             }
1839         }
1840
1841         /// <summary>
1842         /// BottomRight
1843         /// </summary>
1844         /// <since_tizen> 3 </since_tizen>
1845         public static Position BottomRight
1846         {
1847             get
1848             {
1849                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomRight_get();
1850                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1851                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1852                 return ret;
1853             }
1854         }
1855     }
1856
1857     /// <summary>
1858     /// PivotPoint constants.
1859     /// </summary>
1860     /// <since_tizen> 3 </since_tizen>
1861     public struct PivotPoint
1862     {
1863         /// <summary>
1864         /// Top
1865         /// </summary>
1866         /// <since_tizen> 3 </since_tizen>
1867         public static float Top
1868         {
1869             get
1870             {
1871                 float ret = NDalicPINVOKE.AnchorPointTop_get();
1872                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1873                 return ret;
1874             }
1875         }
1876         /// <summary>
1877         /// Bottom
1878         /// </summary>
1879         /// <since_tizen> 3 </since_tizen>
1880         public static float Bottom
1881         {
1882             get
1883             {
1884                 float ret = NDalicPINVOKE.AnchorPointBottom_get();
1885                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1886                 return ret;
1887             }
1888         }
1889         /// <summary>
1890         /// Left
1891         /// </summary>
1892         /// <since_tizen> 3 </since_tizen>
1893         public static float Left
1894         {
1895             get
1896             {
1897                 float ret = NDalicPINVOKE.AnchorPointLeft_get();
1898                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1899                 return ret;
1900             }
1901         }
1902         /// <summary>
1903         /// Right
1904         /// </summary>
1905         /// <since_tizen> 3 </since_tizen>
1906         public static float Right
1907         {
1908             get
1909             {
1910                 float ret = NDalicPINVOKE.AnchorPointRight_get();
1911                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1912                 return ret;
1913             }
1914         }
1915         /// <summary>
1916         /// Middle
1917         /// </summary>
1918         /// <since_tizen> 3 </since_tizen>
1919         public static float Middle
1920         {
1921             get
1922             {
1923                 float ret = NDalicPINVOKE.AnchorPointMiddle_get();
1924                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1925                 return ret;
1926             }
1927         }
1928         /// <summary>
1929         /// TopLeft
1930         /// </summary>
1931         /// <since_tizen> 3 </since_tizen>
1932         public static Position TopLeft
1933         {
1934             get
1935             {
1936                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopLeft_get();
1937                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1938                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1939                 return ret;
1940             }
1941         }
1942         /// <summary>
1943         /// TopCenter
1944         /// </summary>
1945         /// <since_tizen> 3 </since_tizen>
1946         public static Position TopCenter
1947         {
1948             get
1949             {
1950                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopCenter_get();
1951                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1952                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1953                 return ret;
1954             }
1955         }
1956         /// <summary>
1957         /// TopRight
1958         /// </summary>
1959         /// <since_tizen> 3 </since_tizen>
1960         public static Position TopRight
1961         {
1962             get
1963             {
1964                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopRight_get();
1965                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1966                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1967                 return ret;
1968             }
1969         }
1970         /// <summary>
1971         /// CenterLeft
1972         /// </summary>
1973         /// <since_tizen> 3 </since_tizen>
1974         public static Position CenterLeft
1975         {
1976             get
1977             {
1978                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterLeft_get();
1979                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1980                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1981                 return ret;
1982             }
1983         }
1984         /// <summary>
1985         /// Center
1986         /// </summary>
1987         /// <since_tizen> 3 </since_tizen>
1988         public static Position Center
1989         {
1990             get
1991             {
1992                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenter_get();
1993                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1994                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1995                 return ret;
1996             }
1997         }
1998         /// <summary>
1999         /// CenterRight
2000         /// </summary>
2001         /// <since_tizen> 3 </since_tizen>
2002         public static Position CenterRight
2003         {
2004             get
2005             {
2006                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterRight_get();
2007                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2008                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2009                 return ret;
2010             }
2011         }
2012         /// <summary>
2013         /// BottomLeft
2014         /// </summary>
2015         /// <since_tizen> 3 </since_tizen>
2016         public static Position BottomLeft
2017         {
2018             get
2019             {
2020                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomLeft_get();
2021                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2022                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2023                 return ret;
2024             }
2025         }
2026         /// <summary>
2027         /// BottomCenter
2028         /// </summary>
2029         /// <since_tizen> 3 </since_tizen>
2030         public static Position BottomCenter
2031         {
2032             get
2033             {
2034                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomCenter_get();
2035                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2036                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2037                 return ret;
2038             }
2039         }
2040         /// <summary>
2041         /// BottomRight
2042         /// </summary>
2043         /// <since_tizen> 3 </since_tizen>
2044         public static Position BottomRight
2045         {
2046             get
2047             {
2048                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomRight_get();
2049                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2050                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2051                 return ret;
2052             }
2053         }
2054     }
2055     /// <summary>
2056     /// PositionAxis constants.
2057     /// </summary>
2058     /// <since_tizen> 3 </since_tizen>
2059     public struct PositionAxis
2060     {
2061         /// <summary>
2062         /// The X axis
2063         /// </summary>
2064         /// <since_tizen> 3 </since_tizen>
2065         public static Position X
2066         {
2067             get
2068             {
2069                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_XAXIS_get();
2070                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2071                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2072                 return ret;
2073             }
2074         }
2075         /// <summary>
2076         /// The Y axis
2077         /// </summary>
2078         /// <since_tizen> 3 </since_tizen>
2079         public static Position Y
2080         {
2081             get
2082             {
2083                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_YAXIS_get();
2084                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2085                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2086                 return ret;
2087             }
2088         }
2089         /// <summary>
2090         /// The Z axis
2091         /// </summary>
2092         /// <since_tizen> 3 </since_tizen>
2093         public static Position Z
2094         {
2095             get
2096             {
2097                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_ZAXIS_get();
2098                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2099                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2100                 return ret;
2101             }
2102         }
2103         /// <summary>
2104         /// The Negative X axis
2105         /// </summary>
2106         /// <since_tizen> 3 </since_tizen>
2107         public static Position NegativeX
2108         {
2109             get
2110             {
2111                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_XAXIS_get();
2112                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2113                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2114                 return ret;
2115             }
2116         }
2117         /// <summary>
2118         /// The Negative Y axis
2119         /// </summary>
2120         /// <since_tizen> 3 </since_tizen>
2121         public static Position NegativeY
2122         {
2123             get
2124             {
2125                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_YAXIS_get();
2126                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2127                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2128                 return ret;
2129             }
2130         }
2131         /// <summary>
2132         /// The Negative Z axis
2133         /// </summary>
2134         /// <since_tizen> 3 </since_tizen>
2135         public static Position NegativeZ
2136         {
2137             get
2138             {
2139                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_ZAXIS_get();
2140                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2141                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2142                 return ret;
2143             }
2144         }
2145     }
2146
2147     /// <summary>
2148     /// Auto scrolling stop behavior.
2149     /// </summary>
2150     /// <since_tizen> 3 </since_tizen>
2151     public enum AutoScrollStopMode
2152     {
2153         /// <summary>
2154         /// Stop animation after current loop finished.
2155         /// </summary>
2156         FinishLoop,
2157         /// <summary>
2158         /// Stop animation immediately and reset position.
2159         /// </summary>
2160         Immediate
2161     }
2162
2163     /// <summary>
2164     /// An enum of screen mode.
2165     /// </summary>
2166     /// <since_tizen> 4 </since_tizen>
2167     public enum ScreenOffMode {
2168         /// <summary>
2169         /// The mode which turns the screen off after a timeout.
2170         /// </summary>
2171         Timout,
2172         /// <summary>
2173         /// The mode which keeps the screen turned on.
2174         /// </summary>
2175         Never
2176     }
2177
2178     /// <summary>
2179     /// An enum of notification window's priority level.
2180     /// </summary>
2181     /// <since_tizen> 3 </since_tizen>
2182     public enum NotificationLevel {
2183         /// <summary>
2184         /// No notification level.<br />
2185         /// Default level.<br />
2186         /// This value makes the notification window place in the layer of the normal window.
2187         /// </summary>
2188         None = -1,
2189         /// <summary>
2190         /// The base nofitication level.
2191         /// </summary>
2192         Base = 10,
2193         /// <summary>
2194         /// The medium notification level than base.
2195         /// </summary>
2196         Medium = 20,
2197         /// <summary>
2198         /// The higher notification level than medium.
2199         /// </summary>
2200         High = 30,
2201         /// <summary>
2202         /// The highest notification level.
2203         /// </summary>
2204         Top = 40
2205     }
2206
2207     /// <summary>
2208     /// An enum of window types.
2209     /// </summary>
2210     /// <since_tizen> 3 </since_tizen>
2211     public enum WindowType {
2212         /// <summary>
2213         /// A default window type.<br />
2214         /// Indicates a normal or top-level window.
2215         /// Almost every window will be created with this type.
2216         /// </summary>
2217         Normal,
2218         /// <summary>
2219         /// A notification window, like a warning about battery life or a new email received.
2220         /// </summary>
2221         Notification,
2222         /// <summary>
2223         /// A persistent utility window, like a toolbox or a palette.
2224         /// </summary>
2225         Utility,
2226         /// <summary>
2227         /// Used for simple dialog windows.
2228         /// </summary>
2229         Dialog
2230     }
2231
2232     /// <since_tizen> 3 </since_tizen>
2233     public enum DisposeTypes
2234     {
2235         /// <summary>
2236         /// Called By User
2237         /// </summary>
2238         /// <since_tizen> 3 </since_tizen>
2239         Explicit,
2240         /// <summary>
2241         /// Called by DisposeQueue
2242         /// </summary>
2243         /// <since_tizen> 3 </since_tizen>
2244         Implicit,
2245     }
2246
2247
2248
2249     /// <summary>
2250     /// [Obsolete("Please do not use! this will be deprecated")]
2251     /// </summary>
2252     /// <since_tizen> 3 </since_tizen>
2253     [Obsolete("Please do not use! This will be deprecated! Please use PivotPoint instead!")]
2254     [EditorBrowsable(EditorBrowsableState.Never)]
2255     public struct AnchorPoint
2256     {
2257         /// <summary>
2258         /// Top
2259         /// </summary>
2260         /// <since_tizen> 3 </since_tizen>
2261         public static float Top
2262         {
2263             get
2264             {
2265                 float ret = NDalicPINVOKE.AnchorPointTop_get();
2266                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2267                 return ret;
2268             }
2269         }
2270         /// <summary>
2271         /// Bottom
2272         /// </summary>
2273         /// <since_tizen> 3 </since_tizen>
2274         public static float Bottom
2275         {
2276             get
2277             {
2278                 float ret = NDalicPINVOKE.AnchorPointBottom_get();
2279                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2280                 return ret;
2281             }
2282         }
2283         /// <summary>
2284         /// Left
2285         /// </summary>
2286         /// <since_tizen> 3 </since_tizen>
2287         public static float Left
2288         {
2289             get
2290             {
2291                 float ret = NDalicPINVOKE.AnchorPointLeft_get();
2292                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2293                 return ret;
2294             }
2295         }
2296         /// <summary>
2297         /// Right
2298         /// </summary>
2299         /// <since_tizen> 3 </since_tizen>
2300         public static float Right
2301         {
2302             get
2303             {
2304                 float ret = NDalicPINVOKE.AnchorPointRight_get();
2305                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2306                 return ret;
2307             }
2308         }
2309         /// <summary>
2310         /// Middle
2311         /// </summary>
2312         /// <since_tizen> 3 </since_tizen>
2313         public static float Middle
2314         {
2315             get
2316             {
2317                 float ret = NDalicPINVOKE.AnchorPointMiddle_get();
2318                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2319                 return ret;
2320             }
2321         }
2322         /// <summary>
2323         /// TopLeft
2324         /// </summary>
2325         /// <since_tizen> 3 </since_tizen>
2326         public static Position TopLeft
2327         {
2328             get
2329             {
2330                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopLeft_get();
2331                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2332                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2333                 return ret;
2334             }
2335         }
2336         /// <summary>
2337         /// TopCenter
2338         /// </summary>
2339         /// <since_tizen> 3 </since_tizen>
2340         public static Position TopCenter
2341         {
2342             get
2343             {
2344                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopCenter_get();
2345                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2346                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2347                 return ret;
2348             }
2349         }
2350         /// <summary>
2351         /// TopRight
2352         /// </summary>
2353         /// <since_tizen> 3 </since_tizen>
2354         public static Position TopRight
2355         {
2356             get
2357             {
2358                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopRight_get();
2359                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2360                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2361                 return ret;
2362             }
2363         }
2364         /// <summary>
2365         /// CenterLeft
2366         /// </summary>
2367         /// <since_tizen> 3 </since_tizen>
2368         public static Position CenterLeft
2369         {
2370             get
2371             {
2372                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterLeft_get();
2373                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2374                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2375                 return ret;
2376             }
2377         }
2378         /// <summary>
2379         /// Center
2380         /// </summary>
2381         /// <since_tizen> 3 </since_tizen>
2382         public static Position Center
2383         {
2384             get
2385             {
2386                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenter_get();
2387                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2388                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2389                 return ret;
2390             }
2391         }
2392         /// <summary>
2393         /// CenterRight
2394         /// </summary>
2395         /// <since_tizen> 3 </since_tizen>
2396         public static Position CenterRight
2397         {
2398             get
2399             {
2400                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterRight_get();
2401                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2402                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2403                 return ret;
2404             }
2405         }
2406         /// <summary>
2407         /// BottomLeft
2408         /// </summary>
2409         /// <since_tizen> 3 </since_tizen>
2410         public static Position BottomLeft
2411         {
2412             get
2413             {
2414                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomLeft_get();
2415                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2416                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2417                 return ret;
2418             }
2419         }
2420         /// <summary>
2421         /// BottomCenter
2422         /// </summary>
2423         /// <since_tizen> 3 </since_tizen>
2424         public static Position BottomCenter
2425         {
2426             get
2427             {
2428                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomCenter_get();
2429                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2430                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2431                 return ret;
2432             }
2433         }
2434         /// <summary>
2435         /// BottomRight
2436         /// </summary>
2437         /// <since_tizen> 3 </since_tizen>
2438         public static Position BottomRight
2439         {
2440             get
2441             {
2442                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomRight_get();
2443                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2444                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2445                 return ret;
2446             }
2447         }
2448     }
2449
2450     /// <summary>
2451     /// An enum of the scroll state of the text eidtor.
2452     /// </summary>
2453     /// <since_tizen> 3 </since_tizen>
2454     public enum ScrollState
2455     {
2456         /// <summary>
2457         /// Scrolling is started.
2458         /// </summary>
2459         Started,
2460
2461         /// <summary>
2462         /// Scrolling is finished.
2463         /// </summary>
2464         Finished
2465     }
2466
2467     /// <summary>
2468     /// An enum of the line wrap mode of text controls.
2469     /// </summary>
2470     /// <since_tizen> 4 </since_tizen>
2471     public enum LineWrapMode
2472     {
2473         /// <summary>
2474         /// The word mode will move a word to the next line.
2475         /// </summary>
2476         /// <since_tizen> 4 </since_tizen>
2477         Word,
2478
2479         /// <summary>
2480         /// character will move character by character to the next line.
2481         /// </summary>
2482         /// <since_tizen> 4 </since_tizen>
2483         Character
2484     }
2485
2486     /// <summary>
2487     /// An enum of text directions.
2488     /// </summary>
2489     /// <since_tizen> 5 </since_tizen>
2490     public enum TextDirection
2491     {
2492         /// <summary>
2493         /// Text direction is from left to right.
2494         /// </summary>
2495         /// <since_tizen> 5 </since_tizen>
2496         LeftToRight,
2497
2498         /// <summary>
2499         /// Text direction is from right to left.
2500         /// </summary>
2501         /// <since_tizen> 5 </since_tizen>
2502         RightToLeft
2503     }
2504
2505     /// <summary>
2506     /// An enum of vertical line alignments.
2507     /// </summary>
2508     /// <since_tizen> 5 </since_tizen>
2509     public enum VerticalLineAlignment
2510     {    
2511         /// <summary>
2512         /// vertical line alignment is from top. 
2513         /// </summary>
2514         /// <since_tizen> 5 </since_tizen>
2515         Top,
2516
2517         /// <summary>
2518         /// vertical line alignment is from center.
2519         /// </summary>
2520         /// <since_tizen> 5 </since_tizen>
2521         Center,
2522
2523         /// <summary>
2524         /// vertical line alignment is from bottom.
2525         /// </summary>
2526         /// <since_tizen> 5 </since_tizen>
2527         Bottom
2528     }
2529
2530     /// <summary>
2531     /// Enumeration type for the font's slant.
2532     /// </summary>
2533     /// <since_tizen> 5 </since_tizen>
2534     public enum FontSlantType
2535     {
2536         /// <summary>
2537         /// None.
2538         /// </summary>
2539         /// <since_tizen> 5 </since_tizen>
2540         None,
2541         /// <summary>
2542         /// Normal.
2543         /// </summary>
2544         /// <since_tizen> 5 </since_tizen>
2545         Normal,
2546         /// <summary>
2547         /// Roman.
2548         /// </summary>
2549         /// <since_tizen> 5 </since_tizen>
2550         Roman = Normal,
2551         /// <summary>
2552         /// Italic.
2553         /// </summary>
2554         /// <since_tizen> 5 </since_tizen>
2555         Italic,
2556         /// <summary>
2557         /// Oblique.
2558         /// </summary>
2559         /// <since_tizen> 5 </since_tizen>
2560         Oblique
2561     }
2562
2563     /// <summary>
2564     /// Enumeration type for the font's weight.
2565     /// </summary>
2566     /// <since_tizen> 5 </since_tizen>
2567     public enum FontWeightType
2568     {
2569         /// <summary>
2570         /// None.
2571         /// </summary>
2572         /// <since_tizen> 5 </since_tizen>
2573         None,
2574         /// <summary>
2575         /// Thin.
2576         /// </summary>
2577         /// <since_tizen> 5 </since_tizen>
2578         Thin,
2579         /// <summary>
2580         /// UltraLight.
2581         /// </summary>
2582         /// <since_tizen> 5 </since_tizen>
2583         UltraLight,
2584         /// <summary>
2585         /// ExtraLight.
2586         /// </summary>
2587         /// <since_tizen> 5 </since_tizen>
2588         ExtraLight = UltraLight,
2589         /// <summary>
2590         /// Light.
2591         /// </summary>
2592         /// <since_tizen> 5 </since_tizen>
2593         Light,
2594         /// <summary>
2595         /// DemiLight.
2596         /// </summary>
2597         /// <since_tizen> 5 </since_tizen>
2598         DemiLight,
2599         /// <summary>
2600         /// SemiLight.
2601         /// </summary>
2602         /// <since_tizen> 5 </since_tizen>
2603         SemiLight = DemiLight,
2604         /// <summary>
2605         /// Book.
2606         /// </summary>
2607         /// <since_tizen> 5 </since_tizen>
2608         Book,
2609         /// <summary>
2610         /// Normal.
2611         /// </summary>
2612         /// <since_tizen> 5 </since_tizen>
2613         Normal,
2614         /// <summary>
2615         /// Regular.
2616         /// </summary>
2617         /// <since_tizen> 5 </since_tizen>
2618         Regular = Normal,
2619         /// <summary>
2620         /// Medium.
2621         /// </summary>
2622         /// <since_tizen> 5 </since_tizen>
2623         Medium,
2624         /// <summary>
2625         /// DemiBold.
2626         /// </summary>
2627         /// <since_tizen> 5 </since_tizen>
2628         DemiBold,
2629         /// <summary>
2630         /// SemiBold.
2631         /// </summary>
2632         /// <since_tizen> 5 </since_tizen>
2633         SemiBold = DemiBold,
2634         /// <summary>
2635         /// Bold.
2636         /// </summary>
2637         /// <since_tizen> 5 </since_tizen>
2638         Bold,
2639         /// <summary>
2640         /// UltraBold.
2641         /// </summary>
2642         /// <since_tizen> 5 </since_tizen>
2643         UltraBold,
2644         /// <summary>
2645         /// ExtraBold.
2646         /// </summary>
2647         /// <since_tizen> 5 </since_tizen>
2648         ExtraBold = UltraBold,
2649         /// <summary>
2650         /// Black.
2651         /// </summary>
2652         /// <since_tizen> 5 </since_tizen>
2653         Black,
2654         /// <summary>
2655         /// Heavy.
2656         /// </summary>
2657         /// <since_tizen> 5 </since_tizen>
2658         Heavy = Black,
2659         /// <summary>
2660         /// ExtraBlack.
2661         /// </summary>
2662         /// <since_tizen> 5 </since_tizen>
2663         ExtraBlack = Black
2664     }
2665
2666     /// <summary>
2667     /// Enumeration type for the font's width.
2668     /// </summary>
2669     /// <since_tizen> 5 </since_tizen>
2670     public enum FontWidthType
2671     {
2672         /// <summary>
2673         /// None.
2674         /// </summary>
2675         /// <since_tizen> 5 </since_tizen>
2676         None,
2677         /// <summary>
2678         /// UltraCondensed.
2679         /// </summary>
2680         /// <since_tizen> 5 </since_tizen>
2681         UltraCondensed,
2682         /// <summary>
2683         /// ExtraCondensed.
2684         /// </summary>
2685         /// <since_tizen> 5 </since_tizen>
2686         ExtraCondensed,
2687         /// <summary>
2688         /// Condensed.
2689         /// </summary>
2690         /// <since_tizen> 5 </since_tizen>
2691         Condensed,
2692         /// <summary>
2693         /// SemiCondensed.
2694         /// </summary>
2695         /// <since_tizen> 5 </since_tizen>
2696         SemiCondensed,
2697         /// <summary>
2698         /// Normal.
2699         /// </summary>
2700         /// <since_tizen> 5 </since_tizen>
2701         Normal,
2702         /// <summary>
2703         /// SemiExpanded.
2704         /// </summary>
2705         /// <since_tizen> 5 </since_tizen>
2706         SemiExpanded,
2707         /// <summary>
2708         /// Expanded.
2709         /// </summary>
2710         /// <since_tizen> 5 </since_tizen>
2711         Expanded,
2712         /// <summary>
2713         /// ExtraExpanded.
2714         /// </summary>
2715         /// <since_tizen> 5 </since_tizen>
2716         ExtraExpanded,
2717         /// <summary>
2718         /// UltraExpanded.
2719         /// </summary>
2720         /// <since_tizen> 5 </since_tizen>
2721         UltraExpanded
2722     }
2723
2724     /// <summary>
2725     /// Enumeration type for the glyph type.
2726     /// </summary>
2727     /// <since_tizen> 5 </since_tizen>
2728     public enum GlyphType
2729     {
2730         /// <summary>
2731         /// Glyph stored as pixels.
2732         /// </summary>
2733         /// <since_tizen> 5 </since_tizen>
2734         BitmapGlyph,
2735         /// <summary>
2736         /// Glyph stored as vectors (scalable). This feature requires highp shader support and is not available on all platforms.
2737         /// </summary>
2738         /// <since_tizen> 5 </since_tizen>
2739         VectorGlyph
2740     }
2741
2742     /// <summary>
2743     /// Enumeration for Setting the rendering behavior of a Window.
2744     /// </summary>
2745     /// <since_tizen> 5 </since_tizen>
2746     public enum RenderingBehaviorType
2747     {
2748         /// <summary>
2749         /// Default. Only renders if required.
2750         /// </summary>
2751         IfRequired,
2752         /// <summary>
2753         /// Renders continuously.
2754         /// </summary>
2755         Continuously
2756     }
2757
2758 }