[NUI] Open FontSizeScale properties (#2615)
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI / src / public / Common / NUIConstants.cs
1 // Copyright (c) 2019 Samsung Electronics Co., Ltd.
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 using System;
16 using System.ComponentModel;
17 using System.Diagnostics.CodeAnalysis;
18
19 namespace Tizen.NUI
20 {
21     /// <summary>
22     /// This specifies all the scroll mode type.
23     /// </summary>
24     /// <since_tizen> 3 </since_tizen>
25     public enum ScrollModeType
26     {
27         /// <summary>
28         /// Whether the content can be scrolled along the X axis or not.
29         /// </summary>
30         /// <since_tizen> 3 </since_tizen>
31         XAxisScrollEnabled,
32         /// <summary>
33         /// When set, causes scroll view to snap to multiples of the
34         /// value of the interval while flicking along the X axis.
35         /// </summary>
36         /// <since_tizen> 3 </since_tizen>
37         XAxisSnapToInterval,
38         /// <summary>
39         /// When set, the scroll view is unable to scroll beyond the
40         /// value of the boundary along the X axis.
41         /// </summary>
42         /// <since_tizen> 3 </since_tizen>
43         XAxisScrollBoundary,
44         /// <summary>
45         /// Whether the content can be scrolled along the Y axis or not.
46         /// </summary>
47         /// <since_tizen> 3 </since_tizen>
48         YAxisScrollEnabled,
49         /// <summary>
50         /// When set, causes scroll view to snap to multiples of the
51         /// value of the interval while flicking along the Y axis.
52         /// </summary>
53         /// <since_tizen> 3 </since_tizen>
54         YAxisSnapToInterval,
55         /// <summary>
56         /// When set, the scroll view is unable to scroll beyond the
57         /// value of the boundary along the Y axis.
58         /// </summary>
59         /// <since_tizen> 3 </since_tizen>
60         YAxisScrollBoundary
61     }
62
63     /// <summary>
64     /// This specifies whether the actor uses its own color or inherits.
65     /// </summary>
66     /// <since_tizen> 3 </since_tizen>
67     public enum ColorMode
68     {
69         /// <summary>
70         /// Actor will use its own color.
71         /// </summary>
72         UseOwnColor,
73         /// <summary>
74         /// Actor will use its parent color.
75         /// </summary>
76         UseParentColor,
77         /// <summary>
78         /// Actor will blend its color with its parents color.
79         /// </summary>
80         UseOwnMultiplyParentColor,
81         /// <summary>
82         /// 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.
83         /// </summary>
84         UseOwnMultiplyParentAlpha
85     }
86
87     /// <summary>
88     /// This specifies the dimension of the width or the height for size negotiation.
89     /// </summary>
90     /// <since_tizen> 3 </since_tizen>
91     public enum DimensionType
92     {
93         /// <summary>
94         /// Width dimension.
95         /// </summary>
96         Width = 0x1,
97         /// <summary>
98         /// Height dimension.
99         /// </summary>
100         Height = 0x2,
101         /// <summary>
102         /// Mask to cover all flags.
103         /// </summary>
104         AllDimensions = 0x3
105     }
106
107     /// <summary>
108     /// Enumeration for the instance of how the actor and it's children will be drawn.
109     /// </summary>
110     /// <since_tizen> 3 </since_tizen>
111     public enum DrawModeType
112     {
113         /// <summary>
114         /// The default draw-mode.
115         /// </summary>
116         [Description("NORMAL")]
117         Normal = 0,
118         /// <summary>
119         /// Draw the actor and its children as an overlay.
120         /// </summary>
121         [Description("OVERLAY_2D")]
122         Overlay2D = 1,
123
124         /// <summary>
125         /// Will be replaced by separate ClippingMode enum. Draw the actor and its children into the stencil buffer.
126         /// </summary>
127         /// <remarks>
128         /// Deprecated.(API Level 6) Not used.
129         /// </remarks>
130         [Obsolete("Please do not use this DrawModeType.Stencil(Deprecated). This is replaced by ClippingModeType")]
131         [Description("STENCIL")]
132         Stencil = 3
133     }
134
135     /// <summary>
136     /// Enumeration for size negotiation resize policies.
137     /// </summary>
138     /// <since_tizen> 3 </since_tizen>
139     public enum ResizePolicyType
140     {
141         /// <summary>
142         /// Size is fixed as set by SetSize.
143         /// </summary>
144         [Description("FIXED")]
145         Fixed,
146         /// <summary>
147         /// Size is to use the actor's natural size.
148         /// </summary>
149         /// <see cref="ViewImpl.GetNaturalSize"/>
150         [Description("USE_NATURAL_SIZE")]
151         UseNaturalSize,
152         /// <summary>
153         /// Size is to fill up to the actor's parent's bounds. Aspect ratio is not maintained.
154         /// </summary>
155         [Description("FILL_TO_PARENT")]
156         FillToParent,
157         /// <summary>
158         /// The actors size will be ( ParentSize * SizeRelativeToParentFactor ).
159         /// </summary>
160         [Description("SIZE_RELATIVE_TO_PARENT")]
161         SizeRelativeToParent,
162         /// <summary>
163         /// The actors size will be ( ParentSize + SizeRelativeToParentFactor ).
164         /// </summary>
165         [Description("SIZE_FIXED_OFFSET_FROM_PARENT")]
166         SizeFixedOffsetFromParent,
167         /// <summary>
168         /// The size will adjust to wrap around all children.
169         /// </summary>
170         [Description("FIT_TO_CHILDREN")]
171         FitToChildren,
172         /// <summary>
173         /// One dimension is dependent on the other.
174         /// </summary>
175         [Description("DIMENSION_DEPENDENCY")]
176         DimensionDependency,
177         /// <summary>
178         /// The size will be assigned to the actor.
179         /// </summary>
180         [Description("USE_ASSIGNED_SIZE")]
181         UseAssignedSize
182     }
183
184     /// <summary>
185     /// Enumeration for policies to determine how an actor should resize itself when having its size set in size negotiation.
186     /// </summary>
187     /// <since_tizen> 3 </since_tizen>
188     public enum SizeScalePolicyType
189     {
190         /// <summary>
191         /// Use the size that was set.
192         /// </summary>
193         [Description("USE_SIZE_SET")]
194         UseSizeSet,
195         /// <summary>
196         /// Fit within the size set maintaining natural size aspect ratio.
197         /// </summary>
198         [Description("FIT_WITH_ASPECT_RATIO")]
199         FitWithAspectRatio,
200         /// <summary>
201         /// Fit within the size set maintaining natural size aspect ratio.
202         /// </summary>
203         [Description("FILL_WITH_ASPECT_RATIO")]
204         FillWithAspectRatio
205     }
206
207     /// <summary>
208     /// Enumeration for the ClippingMode describing how this actor's children will be clipped against it.
209     /// </summary>
210     /// <since_tizen> 3 </since_tizen>
211     public enum ClippingModeType
212     {
213         /// <summary>
214         /// This actor will not clip its children.
215         /// </summary>
216         Disabled,
217         /// <summary>
218         /// This actor will clip all children to within its boundaries (the actor will also be visible itself).
219         /// </summary>
220         ClipChildren,
221         /// <summary>
222         /// This Actor will clip all children within a screen-aligned rectangle encompassing its boundaries (the actor will also be visible itself).
223         /// </summary>
224         /// <since_tizen> 4 </since_tizen>
225         ClipToBoundingBox
226     }
227
228     /// <summary>
229     /// Enumeration for type determination of how the camera operates.
230     /// </summary>
231     /// <since_tizen> 3 </since_tizen>
232     public enum CameraType
233     {
234         /// <summary>
235         /// Camera orientation is taken from the CameraActor.
236         /// </summary>
237         FreeLook,
238         /// <summary>
239         /// Camera is oriented to always look at a target.
240         /// </summary>
241         LookAtTarget
242     }
243
244     /// <summary>
245     /// Enumeration for the projection modes.
246     /// </summary>
247     /// <since_tizen> 3 </since_tizen>
248     public enum ProjectionMode
249     {
250         /// <summary>
251         /// Distance causes foreshortening; objects further from the camera appear smaller.
252         /// </summary>
253         PerspectiveProjection,
254         /// <summary>
255         /// Relative distance from the camera does not affect the size of objects.
256         /// </summary>
257         OrthographicProjection
258     }
259
260     /// <summary>
261     /// This specifies customView behavior types.
262     /// </summary>
263     /// <since_tizen> 3 </since_tizen>
264     public enum CustomViewBehaviour
265     {
266         /// <summary>
267         /// Use to provide default behavior (size negotiation is on, event callbacks are not called).
268         /// </summary>
269         ViewBehaviourDefault = 0,
270         /// <summary>
271         /// True if the control does not need size negotiation, i.e., it can be skipped in the algorithm.
272         /// </summary>
273         DisableSizeNegotiation = 1 << 0,
274         /// <summary>
275         /// True if OnTouch() callback is required.
276         /// </summary>
277         /// <since_tizen> 6 </since_tizen>
278         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
279         [EditorBrowsable(EditorBrowsableState.Never)]
280         RequiresTouchEventsSupport = 1 << 1,
281         /// <summary>
282         /// True if OnHover() callback is required.
283         /// </summary>
284         /// <since_tizen> 6 </since_tizen>
285         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
286         [EditorBrowsable(EditorBrowsableState.Never)]
287         RequiresHoverEventsSupport = 1 << 2,
288         /// <summary>
289         /// True if OnWheel() callback is required.
290         /// </summary>
291         /// <since_tizen> 6 </since_tizen>
292         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
293         [EditorBrowsable(EditorBrowsableState.Never)]
294         RequiresWheelEventsSupport = 1 << 3,
295         /// <summary>
296         /// Use to provide key navigation support.
297         /// </summary>
298         RequiresKeyboardNavigationSupport = 1 << 5,
299         /// <summary>
300         /// Use to make style change event disabled.
301         /// </summary>
302         DisableStyleChangeSignals = 1 << 6,
303         /// <summary>
304         /// Please do not use! This will be deprecated!
305         /// </summary>
306         /// <since_tizen> 3 </since_tizen>
307         [Obsolete("Please do not use! This will be deprecated!")]
308         [EditorBrowsable(EditorBrowsableState.Never)]
309         LastViewBehaviourFlag
310     }
311
312     /// <summary>
313     /// An enum of Device Class types.
314     /// </summary>
315     /// <since_tizen> 3 </since_tizen>
316     /// Can't fix because it's already used by other GBM.
317     [SuppressMessage("Microsoft.Naming", "CA1720: Identifiers should not contain type names")]
318     public enum DeviceClassType
319     {
320         /// <summary>
321         /// Not a device.
322         /// </summary>
323         /// <since_tizen> 3 </since_tizen>
324         None,
325         /// <summary>
326         /// The user/seat (the user themselves).
327         /// </summary>
328         /// <since_tizen> 3 </since_tizen>
329         Seat,
330         /// <summary>
331         /// A regular keyboard, numberpad or attached buttons.
332         /// </summary>
333         /// <since_tizen> 3 </since_tizen>
334         Keyboard,
335         /// <summary>
336         /// A mouse, trackball or touchpad relative motion device.
337         /// </summary>
338         /// <since_tizen> 3 </since_tizen>
339         Mouse,
340         /// <summary>
341         /// A touchscreen with fingers or stylus.
342         /// </summary>
343         /// <since_tizen> 3 </since_tizen>
344         Touch,
345         /// <summary>
346         /// A special pen device.
347         /// </summary>
348         /// <since_tizen> 3 </since_tizen>
349         Pen,
350         /// <summary>
351         ///  A pointing device based on laser, infrared or similar technology.
352         /// </summary>
353         /// <since_tizen> 3 </since_tizen>
354         Pointer,
355         /// <summary>
356         /// A gamepad controller or joystick.
357         /// </summary>
358         /// <since_tizen> 3 </since_tizen>
359         Gamepad
360     }
361
362     /// <summary>
363     /// An enum of Device Subclass types.
364     /// </summary>
365     /// <since_tizen> 4 </since_tizen>
366     public enum DeviceSubClassType
367     {
368         /// <summary>
369         /// Not a device
370         /// </summary>
371         /// <since_tizen> 4 </since_tizen>
372         None,
373         /// <summary>
374         /// The normal flat of your finger
375         /// </summary>
376         /// <since_tizen> 4 </since_tizen>
377         Finger,
378         /// <summary>
379         /// A fingernail
380         /// </summary>
381         /// <since_tizen> 4 </since_tizen>
382         Fingernail,
383         /// <summary>
384         /// A Knuckle
385         /// </summary>
386         /// <since_tizen> 4 </since_tizen>
387         Knuckle,
388         /// <summary>
389         /// The palm of a users hand
390         /// </summary>
391         /// <since_tizen> 4 </since_tizen>
392         Palm,
393         /// <summary>
394         /// The side of your hand
395         /// </summary>
396         /// <since_tizen> 4 </since_tizen>
397         HandSide,
398         /// <summary>
399         /// The flat of your hand
400         /// </summary>
401         /// <since_tizen> 4 </since_tizen>
402         HandFlat,
403         /// <summary>
404         /// The tip of a pen
405         /// </summary>
406         /// <since_tizen> 4 </since_tizen>
407         PenTip,
408         /// <summary>
409         /// A trackpad style mouse
410         /// </summary>
411         /// <since_tizen> 4 </since_tizen>
412         Trackpad,
413         /// <summary>
414         /// A trackpoint style mouse
415         /// </summary>
416         /// <since_tizen> 4 </since_tizen>
417         Trackpoint,
418         /// <summary>
419         /// A trackball style mouse
420         /// </summary>
421         /// <since_tizen> 4 </since_tizen>
422         Trackball,
423         /// <summary>
424         /// A remote controller
425         /// </summary>
426         /// <since_tizen> 4 </since_tizen>
427         Remocon,
428         /// <summary>
429         /// A virtual keyboard
430         /// </summary>
431         /// <since_tizen> 4 </since_tizen>
432         VirtualKeyboard
433     }
434
435     /// <summary>
436     /// This specifies all the property types.<br />
437     /// Enumeration for the property types supported.
438     /// </summary>
439     /// <since_tizen> 3 </since_tizen>
440     /// Can't fix because it's already used by other GBM.
441     [SuppressMessage("Microsoft.Naming", "CA1720: Identifiers should not contain type names")]
442     public enum PropertyType
443     {
444         /// <summary>
445         /// No type.
446         /// </summary>
447         None,
448         /// <summary>
449         /// A boolean type.
450         /// </summary>
451         Boolean,
452         /// <summary>
453         /// A float type.
454         /// </summary>
455         Float,
456         /// <summary>
457         /// An integer type.
458         /// </summary>
459         Integer,
460         /// <summary>
461         /// A vector array of size=2 with float precision.
462         /// </summary>
463         Vector2,
464         /// <summary>
465         /// A vector array of size=3 with float precision.
466         /// </summary>
467         Vector3,
468         /// <summary>
469         /// A vector array of size=4 with float precision.
470         /// </summary>
471         Vector4,
472         /// <summary>
473         /// A 3x3 matrix.
474         /// </summary>
475         Matrix3,
476         /// <summary>
477         /// A 4x4 matrix.
478         /// </summary>
479         Matrix,
480         /// <summary>
481         /// An integer array of size=4.
482         /// </summary>
483         Rectangle,
484         /// <summary>
485         /// Either a quaternion or an axis angle rotation.
486         /// </summary>
487         Rotation,
488         /// <summary>
489         /// A string type.
490         /// </summary>
491         String,
492         /// <summary>
493         /// An array of PropertyValue.
494         /// </summary>
495         Array,
496         /// <summary>
497         /// A string key to PropertyValue mapping.
498         /// </summary>
499         Map,
500         /// <summary>
501         /// An extents type.
502         /// </summary>
503         /// <since_tizen> 4 </since_tizen>
504         Extents
505     }
506
507     /// <summary>
508     /// This specifies the property access mode types.<br />
509     /// Enumeration for the access mode for custom properties.
510     /// </summary>
511     /// <since_tizen> 3 </since_tizen>
512     public enum PropertyAccessMode
513     {
514         /// <summary>
515         /// If the property is read-only.
516         /// </summary>
517         ReadOnly,
518         /// <summary>
519         /// If the property is read or writeable.
520         /// </summary>
521         ReadWrite,
522         /// <summary>
523         /// If the property can be animated or constrained.
524         /// </summary>
525         Animatable,
526         /// <summary>
527         /// The number of access modes.
528         /// </summary>
529         AccessModeCount
530     }
531
532     /// <summary>
533     /// Types of style change. Enumeration for the StyleChange type.
534     /// </summary>
535     /// <since_tizen> 3 </since_tizen>
536     [Obsolete("Deprecated in API9, Will be removed in API11.")]
537     public enum StyleChangeType
538     {
539         /// <summary>
540         /// Denotes that the default font has changed.
541         /// </summary>
542         [Obsolete("Deprecated in API9, Will be removed in API11.")]
543         DefaultFontChange,
544         /// <summary>
545         /// Denotes that the default font size has changed.
546         /// </summary>
547         [Obsolete("Deprecated in API9, Will be removed in API11.")]
548         DefaultFontSizeChange,
549         /// <summary>
550         /// Denotes that the theme has changed.
551         /// </summary>
552         [Obsolete("Deprecated in API9, Will be removed in API11.")]
553         ThemeChange
554     }
555
556     /// <summary>
557     /// Enumeration for horizontal alignment types.
558     /// </summary>
559     /// <since_tizen> 3 </since_tizen>
560     public enum HorizontalAlignmentType
561     {
562         /// <summary>
563         /// Align horizontally left.
564         /// </summary>
565         [Description("left")]
566         Left,
567         /// <summary>
568         /// Align horizontally center.
569         /// </summary>
570         [Description("center")]
571         Center,
572         /// <summary>
573         /// Align horizontally right.
574         /// </summary>
575         [Description("right")]
576         Right
577     }
578
579     /// <summary>
580     /// Enumeration for vertical alignment types.
581     /// </summary>
582     /// <since_tizen> 3 </since_tizen>
583     public enum VerticalAlignmentType
584     {
585         /// <summary>
586         /// Align vertically top.
587         /// </summary>
588         [Description("top")]
589         Top,
590         /// <summary>
591         /// Align vertically center.
592         /// </summary>
593         [Description("center")]
594         Center,
595         /// <summary>
596         /// Align vertically bottom.
597         /// </summary>
598         [Description("bottom")]
599         Bottom
600     }
601
602     /// <summary>
603     /// Enumeration for point state type.
604     /// </summary>
605     /// <since_tizen> 3 </since_tizen>
606     public enum PointStateType
607     {
608         /// <summary>
609         /// Touch or hover started.
610         /// </summary>
611         Started,
612         /// <summary>
613         /// Touch or hover finished.
614         /// </summary>
615         Finished,
616         /// <summary>
617         /// Screen touched.
618         /// </summary>
619         Down = Started,
620         /// <summary>
621         /// Touch stopped.
622         /// </summary>
623         Up = Finished,
624         /// <summary>
625         /// Finger dragged or hovered.
626         /// </summary>
627         Motion,
628         /// <summary>
629         /// Leave the boundary of an actor.
630         /// </summary>
631         Leave,
632         /// <summary>
633         /// No change from last event. <br />
634         /// 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.
635         /// </summary>
636         Stationary,
637         /// <summary>
638         /// A system event has occurred which has interrupted the touch or hover event sequence.
639         /// </summary>
640         Interrupted
641     }
642
643     /// <summary>
644     /// The type for HiddenInput mode.
645     /// </summary>
646     /// <since_tizen> 3 </since_tizen>
647     public enum HiddenInputModeType
648     {
649         /// <summary>
650         /// Don't hide text.
651         /// </summary>
652         HideNone,
653         /// <summary>
654         /// Hide all the input text.
655         /// </summary>
656         HideAll,
657         /// <summary>
658         /// Hide n characters from start.
659         /// </summary>
660         HideCount,
661         /// <summary>
662         /// Show n characters from start.
663         /// </summary>
664         ShowCount,
665         /// <summary>
666         /// Show last character for the duration(use ShowLastCharacterDuration property to modify duration).
667         /// </summary>
668         ShowLastCharacter
669     }
670
671     /// <summary>
672     /// Auto scrolling stop behavior.
673     /// </summary>
674     /// <since_tizen> 3 </since_tizen>
675     public enum AutoScrollStopMode
676     {
677         /// <summary>
678         /// Stop animation after current loop finished.
679         /// </summary>
680         [Description("FINISH_LOOP")]
681         FinishLoop,
682         /// <summary>
683         /// Stop animation immediately and reset position.
684         /// </summary>
685         [Description("IMMEDIATE")]
686         Immediate
687     }
688
689     /// <summary>
690     /// An enum of screen mode.
691     /// </summary>
692     /// <since_tizen> 4 </since_tizen>
693     public enum ScreenOffMode
694     {
695         /// <summary>
696         /// The mode which turns the screen off after a timeout.
697         /// </summary>
698         Timout,
699         /// <summary>
700         /// The mode which keeps the screen turned on.
701         /// </summary>
702         Never
703     }
704
705     /// <summary>
706     /// An enum of notification window's priority level.
707     /// </summary>
708     /// <since_tizen> 3 </since_tizen>
709     public enum NotificationLevel
710     {
711         /// <summary>
712         /// No notification level.<br />
713         /// Default level.<br />
714         /// This value makes the notification window place in the layer of the normal window.
715         /// </summary>
716         None = -1,
717         /// <summary>
718         /// The base nofitication level.
719         /// </summary>
720         Base = 10,
721         /// <summary>
722         /// The medium notification level than base.
723         /// </summary>
724         Medium = 20,
725         /// <summary>
726         /// The higher notification level than medium.
727         /// </summary>
728         High = 30,
729         /// <summary>
730         /// The highest notification level.
731         /// </summary>
732         Top = 40
733     }
734
735     /// <summary>
736     /// An enum of window types.
737     /// </summary>
738     /// <since_tizen> 3 </since_tizen>
739     public enum WindowType
740     {
741         /// <summary>
742         /// A default window type.<br />
743         /// Indicates a normal or top-level window.
744         /// Almost every window will be created with this type.
745         /// </summary>
746         Normal,
747         /// <summary>
748         /// A notification window, like a warning about battery life or a new email received.
749         /// </summary>
750         Notification,
751         /// <summary>
752         /// A persistent utility window, like a toolbox or a palette.
753         /// </summary>
754         Utility,
755         /// <summary>
756         /// Used for simple dialog windows.
757         /// </summary>
758         Dialog
759     }
760
761     /// <since_tizen> 3 </since_tizen>
762     [System.Diagnostics.CodeAnalysis.SuppressMessage("Naming", "CA1717:Only FlagsAttribute enums should have plural names")]
763     public enum DisposeTypes
764     {
765         /// <summary>
766         /// Called By User
767         /// </summary>
768         /// <since_tizen> 3 </since_tizen>
769         Explicit,
770         /// <summary>
771         /// Called by DisposeQueue
772         /// </summary>
773         /// <since_tizen> 3 </since_tizen>
774         Implicit,
775     }
776
777     /// <summary>
778     /// An enum of the scroll state of the text eidtor.
779     /// </summary>
780     /// <since_tizen> 3 </since_tizen>
781     public enum ScrollState
782     {
783         /// <summary>
784         /// Scrolling is started.
785         /// </summary>
786         Started,
787
788         /// <summary>
789         /// Scrolling is finished.
790         /// </summary>
791         Finished
792     }
793
794     /// <summary>
795     /// An enum of the line wrap mode of text controls.
796     /// </summary>
797     /// <since_tizen> 4 </since_tizen>
798     public enum LineWrapMode
799     {
800         /// <summary>
801         /// The word mode will move a word to the next line.
802         /// </summary>
803         /// <since_tizen> 4 </since_tizen>
804         Word,
805
806         /// <summary>
807         /// character will move character by character to the next line.
808         /// </summary>
809         /// <since_tizen> 4 </since_tizen>
810         Character
811     }
812
813     /// <summary>
814     /// An enum of text directions.
815     /// </summary>
816     /// <since_tizen> 5 </since_tizen>
817     public enum TextDirection
818     {
819         /// <summary>
820         /// Text direction is from left to right.
821         /// </summary>
822         /// <since_tizen> 5 </since_tizen>
823         LeftToRight,
824
825         /// <summary>
826         /// Text direction is from right to left.
827         /// </summary>
828         /// <since_tizen> 5 </since_tizen>
829         RightToLeft
830     }
831
832     /// <summary>
833     /// An enum of vertical line alignments.
834     /// </summary>
835     /// <since_tizen> 5 </since_tizen>
836     public enum VerticalLineAlignment
837     {
838         /// <summary>
839         /// vertical line alignment is from top.
840         /// </summary>
841         /// <since_tizen> 5 </since_tizen>
842         Top,
843
844         /// <summary>
845         /// vertical line alignment is from center.
846         /// </summary>
847         /// <since_tizen> 5 </since_tizen>
848         Center,
849
850         /// <summary>
851         /// vertical line alignment is from bottom.
852         /// </summary>
853         /// <since_tizen> 5 </since_tizen>
854         Bottom
855     }
856
857     /// <summary>
858     /// Enumeration type for the font's slant.
859     /// </summary>
860     /// <since_tizen> 5 </since_tizen>
861     public enum FontSlantType
862     {
863         /// <summary>
864         /// None.
865         /// </summary>
866         /// <since_tizen> 5 </since_tizen>
867         None,
868         /// <summary>
869         /// Normal.
870         /// </summary>
871         /// <since_tizen> 5 </since_tizen>
872         Normal,
873         /// <summary>
874         /// Roman.
875         /// </summary>
876         /// <since_tizen> 5 </since_tizen>
877         Roman = Normal,
878         /// <summary>
879         /// Italic.
880         /// </summary>
881         /// <since_tizen> 5 </since_tizen>
882         Italic,
883         /// <summary>
884         /// Oblique.
885         /// </summary>
886         /// <since_tizen> 5 </since_tizen>
887         Oblique
888     }
889
890     /// <summary>
891     /// Enumeration type for the font's weight.
892     /// </summary>
893     /// <since_tizen> 5 </since_tizen>
894     public enum FontWeightType
895     {
896         /// <summary>
897         /// None.
898         /// </summary>
899         /// <since_tizen> 5 </since_tizen>
900         None,
901         /// <summary>
902         /// Thin.
903         /// </summary>
904         /// <since_tizen> 5 </since_tizen>
905         Thin,
906         /// <summary>
907         /// UltraLight.
908         /// </summary>
909         /// <since_tizen> 5 </since_tizen>
910         UltraLight,
911         /// <summary>
912         /// ExtraLight.
913         /// </summary>
914         /// <since_tizen> 5 </since_tizen>
915         ExtraLight = UltraLight,
916         /// <summary>
917         /// Light.
918         /// </summary>
919         /// <since_tizen> 5 </since_tizen>
920         Light,
921         /// <summary>
922         /// DemiLight.
923         /// </summary>
924         /// <since_tizen> 5 </since_tizen>
925         DemiLight,
926         /// <summary>
927         /// SemiLight.
928         /// </summary>
929         /// <since_tizen> 5 </since_tizen>
930         SemiLight = DemiLight,
931         /// <summary>
932         /// Book.
933         /// </summary>
934         /// <since_tizen> 5 </since_tizen>
935         Book,
936         /// <summary>
937         /// Normal.
938         /// </summary>
939         /// <since_tizen> 5 </since_tizen>
940         Normal,
941         /// <summary>
942         /// Regular.
943         /// </summary>
944         /// <since_tizen> 5 </since_tizen>
945         Regular = Normal,
946         /// <summary>
947         /// Medium.
948         /// </summary>
949         /// <since_tizen> 5 </since_tizen>
950         Medium,
951         /// <summary>
952         /// DemiBold.
953         /// </summary>
954         /// <since_tizen> 5 </since_tizen>
955         DemiBold,
956         /// <summary>
957         /// SemiBold.
958         /// </summary>
959         /// <since_tizen> 5 </since_tizen>
960         SemiBold = DemiBold,
961         /// <summary>
962         /// Bold.
963         /// </summary>
964         /// <since_tizen> 5 </since_tizen>
965         Bold,
966         /// <summary>
967         /// UltraBold.
968         /// </summary>
969         /// <since_tizen> 5 </since_tizen>
970         UltraBold,
971         /// <summary>
972         /// ExtraBold.
973         /// </summary>
974         /// <since_tizen> 5 </since_tizen>
975         ExtraBold = UltraBold,
976         /// <summary>
977         /// Black.
978         /// </summary>
979         /// <since_tizen> 5 </since_tizen>
980         Black,
981         /// <summary>
982         /// Heavy.
983         /// </summary>
984         /// <since_tizen> 5 </since_tizen>
985         Heavy = Black,
986         /// <summary>
987         /// ExtraBlack.
988         /// </summary>
989         /// <since_tizen> 5 </since_tizen>
990         ExtraBlack = Black
991     }
992
993     /// <summary>
994     /// Enumeration type for the font's width.
995     /// </summary>
996     /// <since_tizen> 5 </since_tizen>
997     public enum FontWidthType
998     {
999         /// <summary>
1000         /// None.
1001         /// </summary>
1002         /// <since_tizen> 5 </since_tizen>
1003         None,
1004         /// <summary>
1005         /// UltraCondensed.
1006         /// </summary>
1007         /// <since_tizen> 5 </since_tizen>
1008         UltraCondensed,
1009         /// <summary>
1010         /// ExtraCondensed.
1011         /// </summary>
1012         /// <since_tizen> 5 </since_tizen>
1013         ExtraCondensed,
1014         /// <summary>
1015         /// Condensed.
1016         /// </summary>
1017         /// <since_tizen> 5 </since_tizen>
1018         Condensed,
1019         /// <summary>
1020         /// SemiCondensed.
1021         /// </summary>
1022         /// <since_tizen> 5 </since_tizen>
1023         SemiCondensed,
1024         /// <summary>
1025         /// Normal.
1026         /// </summary>
1027         /// <since_tizen> 5 </since_tizen>
1028         Normal,
1029         /// <summary>
1030         /// SemiExpanded.
1031         /// </summary>
1032         /// <since_tizen> 5 </since_tizen>
1033         SemiExpanded,
1034         /// <summary>
1035         /// Expanded.
1036         /// </summary>
1037         /// <since_tizen> 5 </since_tizen>
1038         Expanded,
1039         /// <summary>
1040         /// ExtraExpanded.
1041         /// </summary>
1042         /// <since_tizen> 5 </since_tizen>
1043         ExtraExpanded,
1044         /// <summary>
1045         /// UltraExpanded.
1046         /// </summary>
1047         /// <since_tizen> 5 </since_tizen>
1048         UltraExpanded
1049     }
1050
1051     /// <summary>
1052     /// Enumeration type for the glyph type.
1053     /// </summary>
1054     /// <since_tizen> 5 </since_tizen>
1055     public enum GlyphType
1056     {
1057         /// <summary>
1058         /// Glyph stored as pixels.
1059         /// </summary>
1060         /// <since_tizen> 5 </since_tizen>
1061         BitmapGlyph,
1062         /// <summary>
1063         /// Glyph stored as vectors (scalable). This feature requires highp shader support and is not available on all platforms.
1064         /// </summary>
1065         /// <since_tizen> 5 </since_tizen>
1066         VectorGlyph
1067     }
1068
1069     /// <summary>
1070     /// Enumeration for Setting the rendering behavior of a Window.
1071     /// </summary>
1072     /// <since_tizen> 5 </since_tizen>
1073     public enum RenderingBehaviorType
1074     {
1075         /// <summary>
1076         /// Default. Only renders if required.
1077         /// </summary>
1078         IfRequired,
1079         /// <summary>
1080         /// Renders continuously.
1081         /// </summary>
1082         Continuously
1083     }
1084
1085     /// <summary>
1086     /// The HiddenInput property.
1087     /// </summary>
1088     /// <since_tizen> 3 </since_tizen>
1089     public struct HiddenInputProperty
1090     {
1091         /// <summary>
1092         /// The mode for input text display.
1093         /// </summary>
1094         /// <since_tizen> 3 </since_tizen>
1095         public static readonly int Mode = NDalicManualPINVOKE.HiddeninputPropertyModeGet();
1096         /// <summary>
1097         /// All input characters are substituted by this character.
1098         /// </summary>
1099         /// <since_tizen> 3 </since_tizen>
1100         public static readonly int SubstituteCharacter = NDalicManualPINVOKE.HiddeninputPropertySubstituteCharacterGet();
1101         /// <summary>
1102         /// Length of text to show or hide, available when HIDE_COUNT/SHOW_COUNT mode is used.
1103         /// </summary>
1104         /// <since_tizen> 3 </since_tizen>
1105         public static readonly int SubstituteCount = NDalicManualPINVOKE.HiddeninputPropertySubstituteCountGet();
1106         /// <summary>
1107         /// Hide last character after this duration, available when SHOW_LAST_CHARACTER mode.
1108         /// </summary>
1109         /// <since_tizen> 4 </since_tizen>
1110         public static readonly int ShowLastCharacterDuration = NDalicManualPINVOKE.HiddeninputPropertyShowLastCharacterDurationGet();
1111     }
1112
1113     /// <summary>
1114     /// ParentOrigin constants.
1115     /// </summary>
1116     /// <since_tizen> 3 </since_tizen>
1117     public struct ParentOrigin
1118     {
1119         /// <summary>
1120         /// Top
1121         /// </summary>
1122         /// <since_tizen> 3 </since_tizen>
1123         public static float Top
1124         {
1125             get
1126             {
1127                 float ret = Interop.NDalicParentOrigin.ParentOriginTopGet();
1128                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1129                 return ret;
1130             }
1131         }
1132
1133         /// <summary>
1134         /// Bottom
1135         /// </summary>
1136         /// <since_tizen> 3 </since_tizen>
1137         public static float Bottom
1138         {
1139             get
1140             {
1141                 float ret = Interop.NDalicParentOrigin.ParentOriginBottomGet();
1142                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1143                 return ret;
1144             }
1145         }
1146
1147         /// <summary>
1148         /// Left
1149         /// </summary>
1150         /// <since_tizen> 3 </since_tizen>
1151         public static float Left
1152         {
1153             get
1154             {
1155                 float ret = Interop.NDalicParentOrigin.ParentOriginLeftGet();
1156                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1157                 return ret;
1158             }
1159         }
1160
1161         /// <summary>
1162         /// Right
1163         /// </summary>
1164         /// <since_tizen> 3 </since_tizen>
1165         public static float Right
1166         {
1167             get
1168             {
1169                 float ret = Interop.NDalicParentOrigin.ParentOriginRightGet();
1170                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1171                 return ret;
1172             }
1173         }
1174
1175         /// <summary>
1176         /// Middle
1177         /// </summary>
1178         /// <since_tizen> 3 </since_tizen>
1179         public static float Middle
1180         {
1181             get
1182             {
1183                 float ret = Interop.NDalicParentOrigin.ParentOriginMiddleGet();
1184                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1185                 return ret;
1186             }
1187         }
1188
1189         /// <summary>
1190         /// TopLeft
1191         /// </summary>
1192         /// <since_tizen> 3 </since_tizen>
1193         public static Position TopLeft
1194         {
1195             get
1196             {
1197                 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginTopLeftGet();
1198                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1199                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1200                 return ret;
1201             }
1202         }
1203
1204         /// <summary>
1205         /// TopCenter
1206         /// </summary>
1207         /// <since_tizen> 3 </since_tizen>
1208         public static Position TopCenter
1209         {
1210             get
1211             {
1212                 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginTopCenterGet();
1213                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1214                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1215                 return ret;
1216             }
1217         }
1218
1219         /// <summary>
1220         /// TopRight
1221         /// </summary>
1222         /// <since_tizen> 3 </since_tizen>
1223         public static Position TopRight
1224         {
1225             get
1226             {
1227                 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginTopRightGet();
1228                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1229                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1230                 return ret;
1231             }
1232         }
1233
1234         /// <summary>
1235         /// CenterLeft
1236         /// </summary>
1237         /// <since_tizen> 3 </since_tizen>
1238         public static Position CenterLeft
1239         {
1240             get
1241             {
1242                 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginCenterLeftGet();
1243                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1244                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1245                 return ret;
1246             }
1247         }
1248
1249         /// <summary>
1250         /// Center
1251         /// </summary>
1252         /// <since_tizen> 3 </since_tizen>
1253         public static Position Center
1254         {
1255             get
1256             {
1257                 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginCenterGet();
1258                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1259                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1260                 return ret;
1261             }
1262         }
1263
1264         /// <summary>
1265         /// CenterRight
1266         /// </summary>
1267         /// <since_tizen> 3 </since_tizen>
1268         public static Position CenterRight
1269         {
1270             get
1271             {
1272                 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginCenterRightGet();
1273                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1274                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1275                 return ret;
1276             }
1277         }
1278
1279         /// <summary>
1280         /// BottomLeft
1281         /// </summary>
1282         /// <since_tizen> 3 </since_tizen>
1283         public static Position BottomLeft
1284         {
1285             get
1286             {
1287                 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginBottomLeftGet();
1288                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1289                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1290                 return ret;
1291             }
1292         }
1293
1294         /// <summary>
1295         /// BottomCenter
1296         /// </summary>
1297         /// <since_tizen> 3 </since_tizen>
1298         public static Position BottomCenter
1299         {
1300             get
1301             {
1302                 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginBottomCenterGet();
1303                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1304                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1305                 return ret;
1306             }
1307         }
1308
1309         /// <summary>
1310         /// BottomRight
1311         /// </summary>
1312         /// <since_tizen> 3 </since_tizen>
1313         public static Position BottomRight
1314         {
1315             get
1316             {
1317                 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginBottomRightGet();
1318                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1319                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1320                 return ret;
1321             }
1322         }
1323     }
1324
1325     /// <summary>
1326     /// PivotPoint constants.
1327     /// </summary>
1328     /// <since_tizen> 3 </since_tizen>
1329     public struct PivotPoint
1330     {
1331         /// <summary>
1332         /// Top
1333         /// </summary>
1334         /// <since_tizen> 3 </since_tizen>
1335         public static float Top
1336         {
1337             get
1338             {
1339                 float ret = Interop.NDalicAnchorPoint.AnchorPointTopGet();
1340                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1341                 return ret;
1342             }
1343         }
1344         /// <summary>
1345         /// Bottom
1346         /// </summary>
1347         /// <since_tizen> 3 </since_tizen>
1348         public static float Bottom
1349         {
1350             get
1351             {
1352                 float ret = Interop.NDalicAnchorPoint.AnchorPointBottomGet();
1353                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1354                 return ret;
1355             }
1356         }
1357         /// <summary>
1358         /// Left
1359         /// </summary>
1360         /// <since_tizen> 3 </since_tizen>
1361         public static float Left
1362         {
1363             get
1364             {
1365                 float ret = Interop.NDalicAnchorPoint.AnchorPointLeftGet();
1366                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1367                 return ret;
1368             }
1369         }
1370         /// <summary>
1371         /// Right
1372         /// </summary>
1373         /// <since_tizen> 3 </since_tizen>
1374         public static float Right
1375         {
1376             get
1377             {
1378                 float ret = Interop.NDalicAnchorPoint.AnchorPointRightGet();
1379                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1380                 return ret;
1381             }
1382         }
1383         /// <summary>
1384         /// Middle
1385         /// </summary>
1386         /// <since_tizen> 3 </since_tizen>
1387         public static float Middle
1388         {
1389             get
1390             {
1391                 float ret = Interop.NDalicAnchorPoint.AnchorPointMiddleGet();
1392                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1393                 return ret;
1394             }
1395         }
1396         /// <summary>
1397         /// TopLeft
1398         /// </summary>
1399         /// <since_tizen> 3 </since_tizen>
1400         public static Position TopLeft
1401         {
1402             get
1403             {
1404                 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointTopLeftGet();
1405                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1406                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1407                 return ret;
1408             }
1409         }
1410         /// <summary>
1411         /// TopCenter
1412         /// </summary>
1413         /// <since_tizen> 3 </since_tizen>
1414         public static Position TopCenter
1415         {
1416             get
1417             {
1418                 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointTopCenterGet();
1419                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1420                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1421                 return ret;
1422             }
1423         }
1424         /// <summary>
1425         /// TopRight
1426         /// </summary>
1427         /// <since_tizen> 3 </since_tizen>
1428         public static Position TopRight
1429         {
1430             get
1431             {
1432                 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointTopRightGet();
1433                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1434                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1435                 return ret;
1436             }
1437         }
1438         /// <summary>
1439         /// CenterLeft
1440         /// </summary>
1441         /// <since_tizen> 3 </since_tizen>
1442         public static Position CenterLeft
1443         {
1444             get
1445             {
1446                 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointCenterLeftGet();
1447                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1448                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1449                 return ret;
1450             }
1451         }
1452         /// <summary>
1453         /// Center
1454         /// </summary>
1455         /// <since_tizen> 3 </since_tizen>
1456         public static Position Center
1457         {
1458             get
1459             {
1460                 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointCenterGet();
1461                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1462                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1463                 return ret;
1464             }
1465         }
1466         /// <summary>
1467         /// CenterRight
1468         /// </summary>
1469         /// <since_tizen> 3 </since_tizen>
1470         public static Position CenterRight
1471         {
1472             get
1473             {
1474                 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointCenterRightGet();
1475                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1476                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1477                 return ret;
1478             }
1479         }
1480         /// <summary>
1481         /// BottomLeft
1482         /// </summary>
1483         /// <since_tizen> 3 </since_tizen>
1484         public static Position BottomLeft
1485         {
1486             get
1487             {
1488                 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointBottomLeftGet();
1489                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1490                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1491                 return ret;
1492             }
1493         }
1494         /// <summary>
1495         /// BottomCenter
1496         /// </summary>
1497         /// <since_tizen> 3 </since_tizen>
1498         public static Position BottomCenter
1499         {
1500             get
1501             {
1502                 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointBottomCenterGet();
1503                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1504                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1505                 return ret;
1506             }
1507         }
1508         /// <summary>
1509         /// BottomRight
1510         /// </summary>
1511         /// <since_tizen> 3 </since_tizen>
1512         public static Position BottomRight
1513         {
1514             get
1515             {
1516                 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointBottomRightGet();
1517                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1518                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1519                 return ret;
1520             }
1521         }
1522     }
1523     /// <summary>
1524     /// PositionAxis constants.
1525     /// </summary>
1526     /// <since_tizen> 3 </since_tizen>
1527     public struct PositionAxis
1528     {
1529         /// <summary>
1530         /// The X axis
1531         /// </summary>
1532         /// <since_tizen> 3 </since_tizen>
1533         public static Position X
1534         {
1535             get
1536             {
1537                 global::System.IntPtr cPtr = Interop.Vector3.XaxisGet();
1538                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1539                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1540                 return ret;
1541             }
1542         }
1543         /// <summary>
1544         /// The Y axis
1545         /// </summary>
1546         /// <since_tizen> 3 </since_tizen>
1547         public static Position Y
1548         {
1549             get
1550             {
1551                 global::System.IntPtr cPtr = Interop.Vector3.YaxisGet();
1552                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1553                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1554                 return ret;
1555             }
1556         }
1557         /// <summary>
1558         /// The Z axis
1559         /// </summary>
1560         /// <since_tizen> 3 </since_tizen>
1561         public static Position Z
1562         {
1563             get
1564             {
1565                 global::System.IntPtr cPtr = Interop.Vector3.ZaxisGet();
1566                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1567                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1568                 return ret;
1569             }
1570         }
1571         /// <summary>
1572         /// The Negative X axis
1573         /// </summary>
1574         /// <since_tizen> 3 </since_tizen>
1575         public static Position NegativeX
1576         {
1577             get
1578             {
1579                 global::System.IntPtr cPtr = Interop.Vector3.NegativeXaxisGet();
1580                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1581                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1582                 return ret;
1583             }
1584         }
1585         /// <summary>
1586         /// The Negative Y axis
1587         /// </summary>
1588         /// <since_tizen> 3 </since_tizen>
1589         public static Position NegativeY
1590         {
1591             get
1592             {
1593                 global::System.IntPtr cPtr = Interop.Vector3.NegativeYaxisGet();
1594                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1595                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1596                 return ret;
1597             }
1598         }
1599         /// <summary>
1600         /// The Negative Z axis
1601         /// </summary>
1602         /// <since_tizen> 3 </since_tizen>
1603         public static Position NegativeZ
1604         {
1605             get
1606             {
1607                 global::System.IntPtr cPtr = Interop.Vector3.NegativeZaxisGet();
1608                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1609                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1610                 return ret;
1611             }
1612         }
1613     }
1614
1615     /// <summary>
1616     /// [Obsolete("Please do not use! this will be deprecated")]
1617     /// </summary>
1618     /// <since_tizen> 3 </since_tizen>
1619     [Obsolete("Please do not use! This will be deprecated! Please use PivotPoint instead!")]
1620     [EditorBrowsable(EditorBrowsableState.Never)]
1621     public struct AnchorPoint
1622     {
1623         /// <summary>
1624         /// Top
1625         /// </summary>
1626         /// <since_tizen> 3 </since_tizen>
1627         public static float Top
1628         {
1629             get
1630             {
1631                 return PivotPoint.Top;
1632             }
1633         }
1634         /// <summary>
1635         /// Bottom
1636         /// </summary>
1637         /// <since_tizen> 3 </since_tizen>
1638         public static float Bottom
1639         {
1640             get
1641             {
1642                 return PivotPoint.Bottom;
1643             }
1644         }
1645         /// <summary>
1646         /// Left
1647         /// </summary>
1648         /// <since_tizen> 3 </since_tizen>
1649         public static float Left
1650         {
1651             get
1652             {
1653                 return PivotPoint.Left;
1654             }
1655         }
1656         /// <summary>
1657         /// Right
1658         /// </summary>
1659         /// <since_tizen> 3 </since_tizen>
1660         public static float Right
1661         {
1662             get
1663             {
1664                 return PivotPoint.Right;
1665             }
1666         }
1667         /// <summary>
1668         /// Middle
1669         /// </summary>
1670         /// <since_tizen> 3 </since_tizen>
1671         public static float Middle
1672         {
1673             get
1674             {
1675                 return PivotPoint.Middle;
1676             }
1677         }
1678         /// <summary>
1679         /// TopLeft
1680         /// </summary>
1681         /// <since_tizen> 3 </since_tizen>
1682         public static Position TopLeft
1683         {
1684             get
1685             {
1686                 return PivotPoint.TopLeft;
1687             }
1688         }
1689         /// <summary>
1690         /// TopCenter
1691         /// </summary>
1692         /// <since_tizen> 3 </since_tizen>
1693         public static Position TopCenter
1694         {
1695             get
1696             {
1697                 return PivotPoint.TopCenter;
1698             }
1699         }
1700         /// <summary>
1701         /// TopRight
1702         /// </summary>
1703         /// <since_tizen> 3 </since_tizen>
1704         public static Position TopRight
1705         {
1706             get
1707             {
1708                 return PivotPoint.TopRight;
1709             }
1710         }
1711         /// <summary>
1712         /// CenterLeft
1713         /// </summary>
1714         /// <since_tizen> 3 </since_tizen>
1715         public static Position CenterLeft
1716         {
1717             get
1718             {
1719                 return PivotPoint.CenterLeft;
1720             }
1721         }
1722         /// <summary>
1723         /// Center
1724         /// </summary>
1725         /// <since_tizen> 3 </since_tizen>
1726         public static Position Center
1727         {
1728             get
1729             {
1730                 return PivotPoint.Center;
1731             }
1732         }
1733         /// <summary>
1734         /// CenterRight
1735         /// </summary>
1736         /// <since_tizen> 3 </since_tizen>
1737         public static Position CenterRight
1738         {
1739             get
1740             {
1741                 return PivotPoint.CenterRight;
1742             }
1743         }
1744         /// <summary>
1745         /// BottomLeft
1746         /// </summary>
1747         /// <since_tizen> 3 </since_tizen>
1748         public static Position BottomLeft
1749         {
1750             get
1751             {
1752                 return PivotPoint.BottomLeft;
1753             }
1754         }
1755         /// <summary>
1756         /// BottomCenter
1757         /// </summary>
1758         /// <since_tizen> 3 </since_tizen>
1759         public static Position BottomCenter
1760         {
1761             get
1762             {
1763                 return PivotPoint.BottomCenter;
1764             }
1765         }
1766         /// <summary>
1767         /// BottomRight
1768         /// </summary>
1769         /// <since_tizen> 3 </since_tizen>
1770         public static Position BottomRight
1771         {
1772             get
1773             {
1774                 return PivotPoint.BottomRight;
1775             }
1776         }
1777     }
1778
1779     /// <summary>
1780     /// Enumeration for setting cache model of a WebView.
1781     /// </summary>
1782     [EditorBrowsable(EditorBrowsableState.Never)]
1783     public enum CacheModel
1784     {
1785         /// <summary>
1786         /// Use the smallest cache capacity.
1787         /// </summary>
1788         DocumentViewer,
1789         /// <summary>
1790         /// Use the bigger cache capacity than DocumentBrowser.
1791         /// </summary>
1792         DocumentBrowser,
1793         /// <summary>
1794         /// Use the biggest cache capacity.
1795         /// </summary>
1796         PrimaryWebBrowser
1797     }
1798
1799     /// <summary>
1800     /// Enumeration for setting cache model of a WebView.
1801     /// </summary>
1802     [EditorBrowsable(EditorBrowsableState.Never)]
1803     public enum CookieAcceptPolicy
1804     {
1805         /// <summary>
1806         /// Accepts every cookie sent from any page.
1807         /// </summary>
1808         Always,
1809         /// <summary>
1810         /// Rejects all the cookies.
1811         /// </summary>
1812         Never,
1813         /// <summary>
1814         /// Accepts only cookies set by the main document that is loaded.
1815         /// </summary>
1816         NoThirdParty
1817     }
1818
1819     /// <summary>
1820     /// FontSizeScale constant.
1821     /// </summary>
1822     /// <since_tizen> 9 </since_tizen>
1823     public struct FontSizeScale
1824     {
1825         /// <summary>
1826         /// UseSystemSetting
1827         /// </summary>
1828         /// <since_tizen> 9 </since_tizen>
1829         public const float UseSystemSetting = -1.0f;
1830     }
1831
1832     /// <summary>
1833     /// TODO This is to get TizenFX resource path. It needs to be fixed to use application framework API in the future.
1834     /// Internal use only. Do not open this API.
1835     /// </summary>
1836     internal struct FrameworkInformation
1837     {
1838         public readonly static string ResourcePath = "/usr/share/dotnet.tizen/framework/res/";
1839     }
1840 }