[NUI] Add Obsolete attributes for EditorBrowsable apis
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI / src / public / NUIConstants.cs
1 // Copyright (c) 2017 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     /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
659     [EditorBrowsable(EditorBrowsableState.Never)]
660     public enum ReleasePolicyType
661     {
662       /// <summary>
663       /// Image is released when visual detached from scene
664       /// </summary>
665       Detached = 0,
666       /// <summary>
667       /// Image is only released when visual is destroyed
668       /// </summary>
669       Destroyed,
670       /// <summary>
671       /// Image is not released.
672       /// </summary>
673       Never
674     }
675
676     /// <summary>
677     /// Specifies the Load Policy types <br />
678     /// Decides when the image texture should be loaded
679     /// </summary>
680     /// <since_tizen> 5 </since_tizen>
681     /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
682     [EditorBrowsable(EditorBrowsableState.Never)]
683     public enum LoadPolicyType
684     {
685        /// <summary>
686        /// Load texture once the image source has been provided. Even if not being used yet.
687        /// </summary>
688        Immediate = 0,
689        /// <summary>
690        /// Only load texture once the visual is attached, when the image needs to be shown.
691        /// </summary>
692        Attached
693     }
694
695
696     /// <summary>
697     /// The type of coordinate system for certain attributes of the points in a gradient.
698     /// </summary>
699     /// <since_tizen> 3 </since_tizen>
700     public enum GradientVisualUnitsType
701     {
702         /// <summary>
703         /// 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).
704         /// </summary>
705         ObjectBoundingBox,
706         /// <summary>
707         /// 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).
708         /// </summary>
709         UserSpace
710     }
711
712     /// <summary>
713     /// This specifies SpreadMethod types.<br />
714     /// SpreadMethod defines what happens if the gradient starts or ends inside the bounds of the target rectangle.<br />
715     /// </summary>
716     /// <since_tizen> 3 </since_tizen>
717     public enum GradientVisualSpreadMethodType
718     {
719         /// <summary>
720         /// Uses the terminal colors of the gradient to fill the remainder of the quad.
721         /// </summary>
722         Pad,
723         /// <summary>
724         /// Reflects the gradient pattern start-to-end, end-to-start, start-to-end, etc. until the quad is filled.
725         /// </summary>
726         Reflect,
727         /// <summary>
728         /// Repeats the gradient pattern start-to-end, start-to-end, start-to-end, etc. until the quad is filled.
729         /// </summary>
730         Repeat
731     }
732
733     /// <summary>
734     /// The shading mode used by the mesh visual.
735     /// </summary>
736     /// <since_tizen> 3 </since_tizen>
737     public enum MeshVisualShadingModeValue
738     {
739         /// <summary>
740         /// *Simplest*. One color that is lit by ambient and diffuse lighting.
741         /// </summary>
742         TexturelessWithDiffuseLighting,
743         /// <summary>
744         /// Uses only the visual image textures provided with specular lighting in addition to ambient and diffuse lighting.
745         /// </summary>
746         TexturedWithSpecularLighting,
747         /// <summary>
748         /// Uses all textures provided including gloss, normal, and texture map along with specular, ambient, and diffuse lighting.
749         /// </summary>
750         TexturedWithDetailedSpecularLighting
751     }
752
753     /// <summary>
754     /// The primitive shape to render as a primitive visual.
755     /// </summary>
756     /// <since_tizen> 3 </since_tizen>
757     public enum PrimitiveVisualShapeType
758     {
759         /// <summary>
760         /// A perfectly round geometrical object in the three-dimensional space.
761         /// </summary>
762         Sphere,
763         /// <summary>
764         /// The area bound between two circles, i.e., a cone with the tip removed.
765         /// </summary>
766         ConicalFrustrum,
767         /// <summary>
768         /// Equivalent to a conical frustrum with the top radius of zero.
769         /// </summary>Equivalent to a conical frustrum with the top radius of zero.
770         Cone,
771         /// <summary>
772         /// Equivalent to a conical frustrum with the top radius of zero.
773         /// </summary>
774         Cylinder,
775         /// <summary>
776         /// Equivalent to a conical frustrum with equal radii for the top and bottom circles.
777         /// </summary>
778         Cube,
779         /// <summary>
780         /// Equivalent to a bevelled cube with a bevel percentage of zero.
781         /// </summary>
782         Octahedron,
783         /// <summary>
784         /// Equivalent to a bevelled cube with a bevel percentage of one.
785         /// </summary>
786         BevelledCube
787     }
788
789     /// <summary>
790     /// This specifies fitting mode types. Fitting options, used when resizing images to fit desired dimensions.<br />
791     /// A fitting mode controls the region of a loaded image to be mapped to the desired image rectangle.<br />
792     /// All fitting modes preserve the aspect ratio of the image contents.<br />
793     /// </summary>
794     /// <since_tizen> 3 </since_tizen>
795     public enum FittingModeType
796     {
797         /// <summary>
798         /// Full-screen image display: Limit loaded image resolution to device resolution using the ShrinkToFit mode.
799         /// </summary>
800         ShrinkToFit,
801         /// <summary>
802         /// Thumbnail gallery grid: Limit loaded image resolution to screen tile using the ScaleToFill mode.
803         /// </summary>
804         ScaleToFill,
805         /// <summary>
806         /// Image columns: Limit loaded image resolution to column width using the FitWidth mode.
807         /// </summary>
808         FitWidth,
809         /// <summary>
810         /// Image rows: Limit loaded image resolution to row height using the FitHeight mode.
811         /// </summary>
812         FitHeight
813     }
814
815     /// <summary>
816     /// This specifies sampling mode types. Filtering options are used when resizing images to sample original pixels.<br />
817     /// A SamplingMode controls how pixels in an input image are sampled and combined to generate each pixel of a destination image during scaling.<br />
818     /// 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 />
819     /// but all other filter modes do if the desired dimensions are not more than the raw dimensions of the input image file.<br />
820     /// </summary>
821     /// <since_tizen> 3 </since_tizen>
822     public enum SamplingModeType
823     {
824         /// <summary>
825         /// Iteratively box filter to generate an image of 1/2, 1/4, 1/8, etc. width and height and approximately the desired size. <br />
826         /// This is the default.
827         /// </summary>
828         Box,
829         /// <summary>
830         /// For each output pixel, read one input pixel.
831         /// </summary>
832         Nearest,
833         /// <summary>
834         /// For each output pixel, read a quad of four input pixels and write a weighted average of them.
835         /// </summary>
836         Linear,
837         /// <summary>
838         /// Iteratively box filter to generate an image of 1/2, 1/4, 1/8, etc. width and height and approximately the desired size, <br />
839         /// then for each output pixel, read one pixel from the last level of box filtering.<br />
840         /// </summary>
841         BoxThenNearest,
842         /// <summary>
843         /// 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.
844         /// </summary>
845         BoxThenLinear,
846         /// <summary>
847         /// 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.
848         /// </summary>
849         NoFilter,
850         /// <summary>
851         /// For caching algorithms where a client strongly prefers a cache-hit to reuse a cached image.
852         /// </summary>
853         DontCare
854     }
855
856     /// <summary>
857     /// This specifies policy types that could be used by the transform for the offset or size.
858     /// </summary>
859     /// <since_tizen> 3 </since_tizen>
860     public enum VisualTransformPolicyType
861     {
862         /// <summary>
863         /// Relative to the control (percentage [0.0f to 1.0f] of the control).
864         /// </summary>
865         Relative = 0,
866         /// <summary>
867         /// Absolute value in world units.
868         /// </summary>
869         Absolute = 1
870     }
871
872     /// <summary>
873     /// This specifies all the transform property types.
874     /// </summary>
875     /// <since_tizen> 3 </since_tizen>
876     public enum VisualTransformPropertyType
877     {
878         /// <summary>
879         /// Offset of the visual, which can be either relative (percentage [0.0f to 1.0f] of the parent) or absolute (in world units).
880         /// </summary>
881         Offset,
882         /// <summary>
883         /// Size of the visual, which can be either relative (percentage [0.0f to 1.0f] of the parent) or absolute (in world units).
884         /// </summary>
885         Size,
886         /// <summary>
887         /// The origin of the visual within its control area.
888         /// </summary>
889         Origin,
890         /// <summary>
891         /// The anchor-point of the visual.
892         /// </summary>
893         AnchorPoint,
894         /// <summary>
895         /// Whether the x or y offset values are relative (percentage [0.0f to 1.0f] of the control) or absolute (in world units).
896         /// </summary>
897         OffsetPolicy,
898         /// <summary>
899         /// Whether the width or the height size values are relative (percentage [0.0f to 1.0f] of the control) or absolute (in world units).
900         /// </summary>
901         SizePolicy
902     }
903
904     /// <summary>
905     /// This specifies visual types.
906     /// </summary>
907     /// <since_tizen> 3 </since_tizen>
908     public struct Visual
909     {
910         /// <summary>
911         /// The index for the visual type.
912         /// </summary>
913         /// <since_tizen> 3 </since_tizen>
914         public enum Type
915         {
916             /// <summary>
917             /// Renders a solid color as an internal border to the control's quad.
918             /// </summary>
919             Border,
920             /// <summary>
921             /// Renders a solid color to the control's quad.
922             /// </summary>
923             Color,
924             /// <summary>
925             /// Renders a smooth transition of colors to the control's quad.
926             /// </summary>
927             Gradient,
928             /// <summary>
929             /// Renders an image into the control's quad.
930             /// </summary>
931             Image,
932             /// <summary>
933             /// Renders a mesh using an "obj" file, optionally with textures provided by an "mtl" file.
934             /// </summary>
935             Mesh,
936             /// <summary>
937             /// Renders a simple 3D shape, such as a cube or a sphere.
938             /// </summary>
939             Primitive,
940             /// <summary>
941             /// Renders a simple wire-frame outlining a quad.
942             /// </summary>
943             Wireframe,
944             /// <summary>
945             /// Renders text.
946             /// </summary>
947             Text,
948             /// <summary>
949             /// Renders an n-patch image.
950             /// </summary>
951             NPatch,
952             /// <summary>
953             /// Renders an SVG image.
954             /// </summary>
955             SVG,
956             /// <summary>
957             /// Renders a animated image (animated GIF).
958             /// </summary>
959             AnimatedImage
960         }
961
962         /// <summary>
963         /// This specifies visual properties.
964         /// </summary>
965         /// <since_tizen> 3 </since_tizen>
966         public struct Property
967         {
968             /// <summary>
969             /// Type.
970             /// </summary>
971             /// <since_tizen> 3 </since_tizen>
972             public static readonly int Type = NDalic.VISUAL_PROPERTY_TYPE;
973             /// <summary>
974             /// Shader.
975             /// </summary>
976             /// <since_tizen> 3 </since_tizen>
977             public static readonly int Shader = NDalic.VISUAL_PROPERTY_SHADER;
978             /// <summary>
979             /// Transform.
980             /// </summary>
981             /// <since_tizen> 3 </since_tizen>
982             public static readonly int Transform = NDalic.VISUAL_PROPERTY_TRANSFORM;
983             /// <summary>
984             /// PremultipliedAlpha.
985             /// </summary>
986             /// <since_tizen> 3 </since_tizen>
987             public static readonly int PremultipliedAlpha = NDalic.VISUAL_PROPERTY_PREMULTIPLIED_ALPHA;
988             /// <summary>
989             /// MixColor.
990             /// </summary>
991             /// <since_tizen> 3 </since_tizen>
992             public static readonly int MixColor = NDalic.VISUAL_PROPERTY_MIX_COLOR;
993             /// <summary>
994             /// Opacity.
995             /// </summary>
996             /// <since_tizen> 3 </since_tizen>
997             public static readonly int Opacity = NDalic.VISUAL_PROPERTY_MIX_COLOR + 1;
998         }
999
1000         /// <summary>
1001         /// This specifies shader properties.
1002         /// </summary>
1003         /// <since_tizen> 3 </since_tizen>
1004         public struct ShaderProperty
1005         {
1006             /// <summary>
1007             /// Vertex shader code
1008             /// </summary>
1009             /// <since_tizen> 3 </since_tizen>
1010             public static readonly int VertexShader = NDalic.VISUAL_SHADER_VERTEX;
1011             /// <summary>
1012             /// Fragment shader code
1013             /// </summary>
1014             /// <since_tizen> 3 </since_tizen>
1015             public static readonly int FragmentShader = NDalic.VISUAL_SHADER_FRAGMENT;
1016             /// <summary>
1017             /// How to subdivide the grid along X
1018             /// </summary>
1019             /// <since_tizen> 3 </since_tizen>
1020             public static readonly int ShaderSubdivideGridX = NDalic.VISUAL_SHADER_SUBDIVIDE_GRID_X;
1021             /// <summary>
1022             /// How to subdivide the grid along Y
1023             /// </summary>
1024             /// <since_tizen> 3 </since_tizen>
1025             public static readonly int ShaderSubdivideGridY = NDalic.VISUAL_SHADER_SUBDIVIDE_GRID_Y;
1026             /// <summary>
1027             /// Bitmask of hints
1028             /// </summary>
1029             /// <since_tizen> 3 </since_tizen>
1030             public static readonly int ShaderHints = NDalic.VISUAL_SHADER_HINTS;
1031         }
1032
1033         /// <summary>
1034         /// This specifies visaul align types.
1035         /// </summary>
1036         /// <since_tizen> 3 </since_tizen>
1037         public enum AlignType
1038         {
1039             /// <summary>
1040             /// TopBegin
1041             /// </summary>
1042             /// <since_tizen> 3 </since_tizen>
1043             TopBegin = 0,
1044             /// <summary>
1045             /// TopCenter
1046             /// </summary>
1047             /// <since_tizen> 3 </since_tizen>
1048             TopCenter,
1049             /// <summary>
1050             /// TopEnd
1051             /// </summary>
1052             /// <since_tizen> 3 </since_tizen>
1053             TopEnd,
1054             /// <summary>
1055             /// CenterBegin
1056             /// </summary>
1057             /// <since_tizen> 3 </since_tizen>
1058             CenterBegin,
1059             /// <summary>
1060             /// Center
1061             /// </summary>
1062             /// <since_tizen> 3 </since_tizen>
1063             Center,
1064             /// <summary>
1065             /// CenterEnd
1066             /// </summary>
1067             /// <since_tizen> 3 </since_tizen>
1068             CenterEnd,
1069             /// <summary>
1070             /// BottomBegin
1071             /// </summary>
1072             /// <since_tizen> 3 </since_tizen>
1073             BottomBegin,
1074             /// <summary>
1075             /// BottomCenter
1076             /// </summary>
1077             /// <since_tizen> 3 </since_tizen>
1078             BottomCenter,
1079             /// <summary>
1080             /// BottomEnd
1081             /// </summary>
1082             /// <since_tizen> 3 </since_tizen>
1083             BottomEnd
1084         }
1085     }
1086
1087     /// <summary>
1088     /// This specifies properties of the BorderVisual.
1089     /// </summary>
1090     /// <since_tizen> 3 </since_tizen>
1091     public struct BorderVisualProperty
1092     {
1093         /// <summary>
1094         /// The color of the border.
1095         /// </summary>
1096         /// <since_tizen> 3 </since_tizen>
1097         public static readonly int Color = NDalic.BORDER_VISUAL_COLOR;
1098         /// <summary>
1099         /// The width of the border (in pixels).
1100         /// </summary>
1101         /// <since_tizen> 3 </since_tizen>
1102         public static readonly int Size = NDalic.BORDER_VISUAL_SIZE;
1103         /// <summary>
1104         /// Whether anti-aliasing of the border is required.
1105         /// </summary>
1106         /// <since_tizen> 3 </since_tizen>
1107         public static readonly int AntiAliasing = NDalic.BORDER_VISUAL_ANTI_ALIASING;
1108     }
1109
1110     /// <summary>
1111     /// This specifies properties of the ColorVisual.
1112     /// </summary>
1113     /// <since_tizen> 3 </since_tizen>
1114     public struct ColorVisualProperty
1115     {
1116         /// <summary>
1117         /// The solid color required.
1118         /// </summary>
1119         /// <since_tizen> 3 </since_tizen>
1120         public static readonly int MixColor = NDalic.COLOR_VISUAL_MIX_COLOR;
1121     }
1122
1123     /// <summary>
1124     /// This specifies properties of the GradientVisual.
1125     /// </summary>
1126     /// <since_tizen> 3 </since_tizen>
1127     public struct GradientVisualProperty
1128     {
1129         /// <summary>
1130         /// The start position of a linear gradient.
1131         /// </summary>
1132         /// <since_tizen> 3 </since_tizen>
1133         public static readonly int StartPosition = NDalic.GRADIENT_VISUAL_START_POSITION;
1134         /// <summary>
1135         /// The end position of a linear gradient.
1136         /// </summary>
1137         /// <since_tizen> 3 </since_tizen>
1138         public static readonly int EndPosition = NDalic.GRADIENT_VISUAL_END_POSITION;
1139         /// <summary>
1140         /// The center point of a radial gradient.
1141         /// </summary>
1142         /// <since_tizen> 3 </since_tizen>
1143         public static readonly int Center = NDalic.GRADIENT_VISUAL_CENTER;
1144         /// <summary>
1145         /// The size of the radius of a radial gradient.
1146         /// </summary>
1147         /// <since_tizen> 3 </since_tizen>
1148         public static readonly int Radius = NDalic.GRADIENT_VISUAL_RADIUS;
1149         /// <summary>
1150         /// All the stop offsets.
1151         /// </summary>
1152         /// <since_tizen> 3 </since_tizen>
1153         public static readonly int StopOffset = NDalic.GRADIENT_VISUAL_STOP_OFFSET;
1154         /// <summary>
1155         /// The color at the stop offsets.
1156         /// </summary>
1157         /// <since_tizen> 3 </since_tizen>
1158         public static readonly int StopColor = NDalic.GRADIENT_VISUAL_STOP_COLOR;
1159         /// <summary>
1160         /// Defines the coordinate system for certain attributes of the points in a gradient.
1161         /// </summary>
1162         /// <since_tizen> 3 </since_tizen>
1163         public static readonly int Units = NDalic.GRADIENT_VISUAL_UNITS;
1164         /// <summary>
1165         /// Indicates what happens if the gradient starts or ends inside the bounds of the target rectangle.
1166         /// </summary>
1167         /// <since_tizen> 3 </since_tizen>
1168         public static readonly int SpreadMethod = NDalic.GRADIENT_VISUAL_SPREAD_METHOD;
1169     }
1170
1171     /// <summary>
1172     /// This specifies properties of the ImageVisual.
1173     /// </summary>
1174     /// <since_tizen> 3 </since_tizen>
1175     public struct ImageVisualProperty
1176     {
1177         /// <summary>
1178         /// The URL of the image.
1179         /// </summary>
1180         /// <since_tizen> 3 </since_tizen>
1181         public static readonly int URL = NDalic.IMAGE_VISUAL_URL;
1182         /// <summary>
1183         /// The URL of the alpha mask image.
1184         /// </summary>
1185         /// <since_tizen> 3 </since_tizen>
1186         public static readonly int AlphaMaskURL = NDalic.IMAGE_VISUAL_ALPHA_MASK_URL;
1187         /// <summary>
1188         /// Fitting options, used when resizing images to fit desired dimensions.
1189         /// </summary>
1190         /// <since_tizen> 3 </since_tizen>
1191         public static readonly int FittingMode = NDalic.IMAGE_VISUAL_FITTING_MODE;
1192         /// <summary>
1193         /// Filtering options, used when resizing images to sample original pixels.
1194         /// </summary>
1195         /// <since_tizen> 3 </since_tizen>
1196         public static readonly int SamplingMode = NDalic.IMAGE_VISUAL_SAMPLING_MODE;
1197         /// <summary>
1198         /// The desired image width.
1199         /// </summary>
1200         /// <since_tizen> 3 </since_tizen>
1201         public static readonly int DesiredWidth = NDalic.IMAGE_VISUAL_DESIRED_WIDTH;
1202         /// <summary>
1203         /// The desired image height.
1204         /// </summary>
1205         /// <since_tizen> 3 </since_tizen>
1206         public static readonly int DesiredHeight = NDalic.IMAGE_VISUAL_DESIRED_HEIGHT;
1207         /// <summary>
1208         /// Whether to load the image synchronously.
1209         /// </summary>
1210         /// <since_tizen> 3 </since_tizen>
1211         public static readonly int SynchronousLoading = NDalic.IMAGE_VISUAL_SYNCHRONOUS_LOADING;
1212         /// <summary>
1213         /// If true, only draws the borders.
1214         /// </summary>
1215         /// <since_tizen> 3 </since_tizen>
1216         public static readonly int BorderOnly = NDalic.IMAGE_VISUAL_BORDER_ONLY;
1217         /// <summary>
1218         /// The image area to be displayed.
1219         /// </summary>
1220         /// <since_tizen> 3 </since_tizen>
1221         public static readonly int PixelArea = NDalic.IMAGE_VISUAL_PIXEL_AREA;
1222         /// <summary>
1223         /// The wrap mode for u coordinate.
1224         /// </summary>
1225         /// <since_tizen> 3 </since_tizen>
1226         public static readonly int WrapModeU = NDalic.IMAGE_VISUAL_WRAP_MODE_U;
1227         /// <summary>
1228         /// The wrap mode for v coordinate.
1229         /// </summary>
1230         /// <since_tizen> 3 </since_tizen>
1231         public static readonly int WrapModeV = NDalic.IMAGE_VISUAL_WRAP_MODE_V;
1232         /// <summary>
1233         /// The border of the image.
1234         /// </summary>
1235         /// <since_tizen> 3 </since_tizen>
1236         public static readonly int Border = NDalic.IMAGE_VISUAL_BORDER;
1237         /// <summary>
1238         /// The scale factor to apply to the content image before masking.
1239         /// </summary>
1240         /// <since_tizen> 4 </since_tizen>
1241         public static readonly int MaskContentScale = NDalic.IMAGE_VISUAL_MASK_CONTENT_SCALE;
1242         /// <summary>
1243         /// Whether to crop image to mask or scale mask to fit image
1244         /// </summary>
1245         /// <since_tizen> 4 </since_tizen>
1246         public static readonly int CropToMask = NDalic.IMAGE_VISUAL_CROP_TO_MASK;
1247         /// <summary>
1248         /// Defines the batch size for pre-loading images in the AnimatedImageVisual
1249         /// </summary>
1250         /// <since_tizen> 4 </since_tizen>
1251         public static readonly int BatchSize = NDalic.IMAGE_VISUAL_BATCH_SIZE;
1252         /// <summary>
1253         /// Defines the cache size for loading images in the AnimatedImageVisual
1254         /// </summary>
1255         /// <since_tizen> 4 </since_tizen>
1256         public static readonly int CacheSize = NDalic.IMAGE_VISUAL_CACHE_SIZE;
1257         /// <summary>
1258         /// The number of milliseconds between each frame in the AnimatedImageVisual
1259         /// </summary>
1260         /// <since_tizen> 4 </since_tizen>
1261         public static readonly int FrameDelay = NDalic.IMAGE_VISUAL_FRAME_DELAY;
1262         /// <summary>
1263         /// The policy to determine when an image should no longer be cached
1264         /// </summary>
1265         /// <since_tizen> 5 </since_tizen>
1266         /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
1267         [EditorBrowsable(EditorBrowsableState.Never)]
1268         public static readonly int ReleasePolicy = NDalic.IMAGE_VISUAL_RELEASE_POLICY;
1269         /// <summary>
1270         /// The policy to determine when an image should be loaded
1271         /// </summary>
1272         /// <since_tizen> 5 </since_tizen>
1273         /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
1274         [EditorBrowsable(EditorBrowsableState.Never)]
1275         public static readonly int LoadPolicy = NDalic.IMAGE_VISUAL_LOAD_POLICY;
1276         /// <summary>
1277         /// Determines if image orientation should be corrected so the image displays as it was intended
1278         /// </summary>
1279         /// <since_tizen> 5 </since_tizen>
1280         /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
1281         [EditorBrowsable(EditorBrowsableState.Never)]
1282         public static readonly int OrientationCorrection = NDalic.IMAGE_VISUAL_ORIENTATION_CORRECTION;
1283     }
1284
1285     /// <summary>
1286     /// This specifies properties of the MeshVisual.
1287     /// </summary>
1288     /// <since_tizen> 3 </since_tizen>
1289     public struct MeshVisualProperty
1290     {
1291         /// <summary>
1292         /// The location of the ".obj" file.
1293         /// </summary>
1294         /// <since_tizen> 3 </since_tizen>
1295         public static readonly int ObjectURL = NDalic.MESH_VISUAL_OBJECT_URL;
1296         /// <summary>
1297         /// The location of the ".mtl" file.
1298         /// </summary>
1299         /// <since_tizen> 3 </since_tizen>
1300         public static readonly int MaterialtURL = NDalic.MESH_VISUAL_MATERIAL_URL;
1301         /// <summary>
1302         /// Path to the directory the textures (including gloss and normal) are stored in.
1303         /// </summary>
1304         /// <since_tizen> 3 </since_tizen>
1305         public static readonly int TexturesPath = NDalic.MESH_VISUAL_TEXTURES_PATH;
1306         /// <summary>
1307         /// Sets the type of shading mode that the mesh will use.
1308         /// </summary>
1309         /// <since_tizen> 3 </since_tizen>
1310         public static readonly int ShadingMode = NDalic.MESH_VISUAL_SHADING_MODE;
1311         /// <summary>
1312         /// Whether to use mipmaps for textures or not.
1313         /// </summary>
1314         /// <since_tizen> 3 </since_tizen>
1315         public static readonly int UseMipmapping = NDalic.MESH_VISUAL_USE_MIPMAPPING;
1316         /// <summary>
1317         /// Whether to average normals at each point to smooth textures or not.
1318         /// </summary>
1319         /// <since_tizen> 3 </since_tizen>
1320         public static readonly int UseSoftNormals = NDalic.MESH_VISUAL_USE_SOFT_NORMALS;
1321         /// <summary>
1322         /// The position, in stage space, of the point light that applies lighting to the model.
1323         /// </summary>
1324         /// <since_tizen> 3 </since_tizen>
1325         public static readonly int LightPosition = NDalic.MESH_VISUAL_LIGHT_POSITION;
1326     }
1327
1328     /// <summary>
1329     /// This specifies properties of the PrimitiveVisual.
1330     /// </summary>
1331     /// <since_tizen> 3 </since_tizen>
1332     public struct PrimitiveVisualProperty
1333     {
1334         /// <summary>
1335         /// The specific shape to render.
1336         /// </summary>
1337         /// <since_tizen> 3 </since_tizen>
1338         public static readonly int Shape = NDalic.PRIMITIVE_VISUAL_SHAPE;
1339         /// <summary>
1340         /// The color of the shape.
1341         /// </summary>
1342         /// <since_tizen> 3 </since_tizen>
1343         public static readonly int MixColor = NDalic.PRIMITIVE_VISUAL_MIX_COLOR;
1344         /// <summary>
1345         /// The number of slices as you go around the shape.
1346         /// </summary>
1347         /// <since_tizen> 3 </since_tizen>
1348         public static readonly int Slices = NDalic.PRIMITIVE_VISUAL_SLICES;
1349         /// <summary>
1350         /// The number of stacks as you go down the shape.
1351         /// </summary>
1352         /// <since_tizen> 3 </since_tizen>
1353         public static readonly int Stacks = NDalic.PRIMITIVE_VISUAL_STACKS;
1354         /// <summary>
1355         /// The scale of the radius of the top circle of a conical frustrum.
1356         /// </summary>
1357         /// <since_tizen> 3 </since_tizen>
1358         public static readonly int ScaleTopRadius = NDalic.PRIMITIVE_VISUAL_SCALE_TOP_RADIUS;
1359         /// <summary>
1360         /// The scale of the radius of the bottom circle of a conical frustrum.
1361         /// </summary>
1362         /// <since_tizen> 3 </since_tizen>
1363         public static readonly int ScaleBottomRadius = NDalic.PRIMITIVE_VISUAL_SCALE_BOTTOM_RADIUS;
1364         /// <summary>
1365         /// The scale of the height of a conic.
1366         /// </summary>
1367         /// <since_tizen> 3 </since_tizen>
1368         public static readonly int ScaleHeight = NDalic.PRIMITIVE_VISUAL_SCALE_HEIGHT;
1369         /// <summary>
1370         /// The scale of the radius of a cylinder.
1371         /// </summary>
1372         /// <since_tizen> 3 </since_tizen>
1373         public static readonly int ScaleRadius = NDalic.PRIMITIVE_VISUAL_SCALE_RADIUS;
1374         /// <summary>
1375         /// The dimensions of a cuboid. Scales in the same fashion as a 9-patch image.
1376         /// </summary>
1377         /// <since_tizen> 3 </since_tizen>
1378         public static readonly int ScaleDimensions = NDalic.PRIMITIVE_VISUAL_SCALE_DIMENSIONS;
1379         /// <summary>
1380         /// Determines how bevelled the cuboid should be, based off the smallest dimension.
1381         /// </summary>
1382         /// <since_tizen> 3 </since_tizen>
1383         public static readonly int BevelPercentage = NDalic.PRIMITIVE_VISUAL_BEVEL_PERCENTAGE;
1384         /// <summary>
1385         /// Defines how smooth the bevelled edges should be.
1386         /// </summary>
1387         /// <since_tizen> 3 </since_tizen>
1388         public static readonly int BevelSmoothness = NDalic.PRIMITIVE_VISUAL_BEVEL_SMOOTHNESS;
1389         /// <summary>
1390         /// The position, in stage space, of the point light that applies lighting to the model.
1391         /// </summary>
1392         /// <since_tizen> 3 </since_tizen>
1393         public static readonly int LightPosition = NDalic.PRIMITIVE_VISUAL_LIGHT_POSITION;
1394     }
1395
1396     /// <summary>
1397     /// This specifies properties of the TextVisual.
1398     /// </summary>
1399     /// <since_tizen> 3 </since_tizen>
1400     public struct TextVisualProperty
1401     {
1402         /// <summary>
1403         /// The text to display in UTF-8 format.
1404         /// </summary>
1405         /// <since_tizen> 3 </since_tizen>
1406         public static readonly int Text = NDalic.TEXT_VISUAL_TEXT;
1407         /// <summary>
1408         /// The requested font family to use.
1409         /// </summary>
1410         /// <since_tizen> 3 </since_tizen>
1411         public static readonly int FontFamily = NDalic.TEXT_VISUAL_FONT_FAMILY;
1412         /// <summary>
1413         /// The requested font style to use.
1414         /// </summary>
1415         /// <since_tizen> 3 </since_tizen>
1416         public static readonly int FontStyle = NDalic.TEXT_VISUAL_FONT_STYLE;
1417         /// <summary>
1418         /// The size of font in points.
1419         /// </summary>
1420         /// <since_tizen> 3 </since_tizen>
1421         public static readonly int PointSize = NDalic.TEXT_VISUAL_POINT_SIZE;
1422         /// <summary>
1423         /// The single-line or multi-line layout option.
1424         /// </summary>
1425         /// <since_tizen> 3 </since_tizen>
1426         public static readonly int MultiLine = NDalic.TEXT_VISUAL_MULTI_LINE;
1427         /// <summary>
1428         /// The line horizontal alignment.
1429         /// </summary>
1430         /// <since_tizen> 3 </since_tizen>
1431         public static readonly int HorizontalAlignment = NDalic.TEXT_VISUAL_HORIZONTAL_ALIGNMENT;
1432         /// <summary>
1433         /// The line vertical alignment.
1434         /// </summary>
1435         /// <since_tizen> 3 </since_tizen>
1436         public static readonly int VerticalAlignment = NDalic.TEXT_VISUAL_VERTICAL_ALIGNMENT;
1437         /// <summary>
1438         /// The color of the text.
1439         /// </summary>
1440         /// <since_tizen> 3 </since_tizen>
1441         public static readonly int TextColor = NDalic.TEXT_VISUAL_TEXT_COLOR;
1442         /// <summary>
1443         /// Whether the mark-up processing is enabled.
1444         /// </summary>
1445         /// <since_tizen> 3 </since_tizen>
1446         public static readonly int EnableMarkup = NDalic.TEXT_VISUAL_ENABLE_MARKUP;
1447     }
1448
1449     /// <summary>
1450     /// This specifies properties of the NpatchImageVisual.
1451     /// </summary>
1452     /// <since_tizen> 3 </since_tizen>
1453     public struct NpatchImageVisualProperty
1454     {
1455         /// <summary>
1456         /// The URL of the image.
1457         /// </summary>
1458         /// <since_tizen> 3 </since_tizen>
1459         public static readonly int URL = NDalic.IMAGE_VISUAL_URL;
1460         /// <summary>
1461         /// Fitting options, used when resizing images to fit desired dimensions.
1462         /// </summary>
1463         /// <since_tizen> 3 </since_tizen>
1464         public static readonly int FittingMode = NDalic.IMAGE_VISUAL_FITTING_MODE;
1465         /// <summary>
1466         /// Filtering options, used when resizing images to sample original pixels.
1467         /// </summary>
1468         /// <since_tizen> 3 </since_tizen>
1469         public static readonly int SamplingMode = NDalic.IMAGE_VISUAL_SAMPLING_MODE;
1470         /// <summary>
1471         /// The desired image width.
1472         /// </summary>
1473         /// <since_tizen> 3 </since_tizen>
1474         public static readonly int DesiredWidth = NDalic.IMAGE_VISUAL_DESIRED_WIDTH;
1475         /// <summary>
1476         /// The desired image height.
1477         /// </summary>
1478         /// <since_tizen> 3 </since_tizen>
1479         public static readonly int DesiredHeight = NDalic.IMAGE_VISUAL_DESIRED_HEIGHT;
1480         /// <summary>
1481         /// Whether to load the image synchronously.
1482         /// </summary>
1483         /// <since_tizen> 3 </since_tizen>
1484         public static readonly int SynchronousLoading = NDalic.IMAGE_VISUAL_SYNCHRONOUS_LOADING;
1485         /// <summary>
1486         /// If true, only draws the borders.
1487         /// </summary>
1488         /// <since_tizen> 3 </since_tizen>
1489         public static readonly int BorderOnly = NDalic.IMAGE_VISUAL_BORDER_ONLY;
1490         /// <summary>
1491         /// The image area to be displayed.
1492         /// </summary>
1493         /// <since_tizen> 3 </since_tizen>
1494         public static readonly int PixelArea = NDalic.IMAGE_VISUAL_PIXEL_AREA;
1495         /// <summary>
1496         /// The wrap mode for u coordinate.
1497         /// </summary>
1498         /// <since_tizen> 3 </since_tizen>
1499         public static readonly int WrapModeU = NDalic.IMAGE_VISUAL_WRAP_MODE_U;
1500         /// <summary>
1501         /// The wrap mode for v coordinate.
1502         /// </summary>
1503         /// <since_tizen> 3 </since_tizen>
1504         public static readonly int WrapModeV = NDalic.IMAGE_VISUAL_WRAP_MODE_V;
1505         /// <summary>
1506         /// The border of the image.
1507         /// </summary>
1508         /// <since_tizen> 3 </since_tizen>
1509         public static readonly int Border = NDalic.IMAGE_VISUAL_WRAP_MODE_V + 1;
1510     }
1511
1512     /// <summary>
1513     /// The HiddenInput property.
1514     /// </summary>
1515     /// <since_tizen> 3 </since_tizen>
1516     public struct HiddenInputProperty
1517     {
1518         /// <summary>
1519         /// The mode for input text display.
1520         /// </summary>
1521         /// <since_tizen> 3 </since_tizen>
1522         public static readonly int Mode = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_MODE_get();
1523         /// <summary>
1524         /// All input characters are substituted by this character.
1525         /// </summary>
1526         /// <since_tizen> 3 </since_tizen>
1527         public static readonly int SubstituteCharacter = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_SUBSTITUTE_CHARACTER_get();
1528         /// <summary>
1529         /// Length of text to show or hide, available when HIDE_COUNT/SHOW_COUNT mode is used.
1530         /// </summary>
1531         /// <since_tizen> 3 </since_tizen>
1532         public static readonly int SubstituteCount = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_SUBSTITUTE_COUNT_get();
1533         /// <summary>
1534         /// Hide last character after this duration, available when SHOW_LAST_CHARACTER mode.
1535         /// </summary>
1536         /// <since_tizen> 4 </since_tizen>
1537         public static readonly int ShowLastCharacterDuration = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_SHOW_LAST_CHARACTER_DURATION_get();
1538     }
1539
1540     /// <summary>
1541     /// The type for HiddenInput mode.
1542     /// </summary>
1543     /// <since_tizen> 3 </since_tizen>
1544     public enum HiddenInputModeType
1545     {
1546         /// <summary>
1547         /// Don't hide text.
1548         /// </summary>
1549         HideNone,
1550         /// <summary>
1551         /// Hide all the input text.
1552         /// </summary>
1553         HideAll,
1554         /// <summary>
1555         /// Hide n characters from start.
1556         /// </summary>
1557         HideCount,
1558         /// <summary>
1559         /// Show n characters from start.
1560         /// </summary>
1561         ShowCount,
1562         /// <summary>
1563         /// Show last character for the duration(use ShowLastCharacterDuration property to modify duration).
1564         /// </summary>
1565         ShowLastCharacter
1566     }
1567
1568     /// <summary>
1569     /// ParentOrigin constants.
1570     /// </summary>
1571     /// <since_tizen> 3 </since_tizen>
1572     public struct ParentOrigin
1573     {
1574         /// <summary>
1575         /// Top
1576         /// </summary>
1577         /// <since_tizen> 3 </since_tizen>
1578         public static float Top
1579         {
1580             get
1581             {
1582                 float ret = NDalicPINVOKE.ParentOriginTop_get();
1583                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1584                 return ret;
1585             }
1586         }
1587
1588         /// <summary>
1589         /// Bottom
1590         /// </summary>
1591         /// <since_tizen> 3 </since_tizen>
1592         public static float Bottom
1593         {
1594             get
1595             {
1596                 float ret = NDalicPINVOKE.ParentOriginBottom_get();
1597                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1598                 return ret;
1599             }
1600         }
1601
1602         /// <summary>
1603         /// Left
1604         /// </summary>
1605         /// <since_tizen> 3 </since_tizen>
1606         public static float Left
1607         {
1608             get
1609             {
1610                 float ret = NDalicPINVOKE.ParentOriginLeft_get();
1611                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1612                 return ret;
1613             }
1614         }
1615
1616         /// <summary>
1617         /// Right
1618         /// </summary>
1619         /// <since_tizen> 3 </since_tizen>
1620         public static float Right
1621         {
1622             get
1623             {
1624                 float ret = NDalicPINVOKE.ParentOriginRight_get();
1625                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1626                 return ret;
1627             }
1628         }
1629
1630         /// <summary>
1631         /// Middle
1632         /// </summary>
1633         /// <since_tizen> 3 </since_tizen>
1634         public static float Middle
1635         {
1636             get
1637             {
1638                 float ret = NDalicPINVOKE.ParentOriginMiddle_get();
1639                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1640                 return ret;
1641             }
1642         }
1643
1644         /// <summary>
1645         /// TopLeft
1646         /// </summary>
1647         /// <since_tizen> 3 </since_tizen>
1648         public static Position TopLeft
1649         {
1650             get
1651             {
1652                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopLeft_get();
1653                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1654                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1655                 return ret;
1656             }
1657         }
1658
1659         /// <summary>
1660         /// TopCenter
1661         /// </summary>
1662         /// <since_tizen> 3 </since_tizen>
1663         public static Position TopCenter
1664         {
1665             get
1666             {
1667                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopCenter_get();
1668                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1669                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1670                 return ret;
1671             }
1672         }
1673
1674         /// <summary>
1675         /// TopRight
1676         /// </summary>
1677         /// <since_tizen> 3 </since_tizen>
1678         public static Position TopRight
1679         {
1680             get
1681             {
1682                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopRight_get();
1683                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1684                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1685                 return ret;
1686             }
1687         }
1688
1689         /// <summary>
1690         /// CenterLeft
1691         /// </summary>
1692         /// <since_tizen> 3 </since_tizen>
1693         public static Position CenterLeft
1694         {
1695             get
1696             {
1697                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenterLeft_get();
1698                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1699                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1700                 return ret;
1701             }
1702         }
1703
1704         /// <summary>
1705         /// Center
1706         /// </summary>
1707         /// <since_tizen> 3 </since_tizen>
1708         public static Position Center
1709         {
1710             get
1711             {
1712                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenter_get();
1713                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1714                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1715                 return ret;
1716             }
1717         }
1718
1719         /// <summary>
1720         /// CenterRight
1721         /// </summary>
1722         /// <since_tizen> 3 </since_tizen>
1723         public static Position CenterRight
1724         {
1725             get
1726             {
1727                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenterRight_get();
1728                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1729                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1730                 return ret;
1731             }
1732         }
1733
1734         /// <summary>
1735         /// BottomLeft
1736         /// </summary>
1737         /// <since_tizen> 3 </since_tizen>
1738         public static Position BottomLeft
1739         {
1740             get
1741             {
1742                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomLeft_get();
1743                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1744                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1745                 return ret;
1746             }
1747         }
1748
1749         /// <summary>
1750         /// BottomCenter
1751         /// </summary>
1752         /// <since_tizen> 3 </since_tizen>
1753         public static Position BottomCenter
1754         {
1755             get
1756             {
1757                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomCenter_get();
1758                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1759                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1760                 return ret;
1761             }
1762         }
1763
1764         /// <summary>
1765         /// BottomRight
1766         /// </summary>
1767         /// <since_tizen> 3 </since_tizen>
1768         public static Position BottomRight
1769         {
1770             get
1771             {
1772                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomRight_get();
1773                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1774                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1775                 return ret;
1776             }
1777         }
1778     }
1779
1780     /// <summary>
1781     /// PivotPoint constants.
1782     /// </summary>
1783     /// <since_tizen> 3 </since_tizen>
1784     public struct PivotPoint
1785     {
1786         /// <summary>
1787         /// Top
1788         /// </summary>
1789         /// <since_tizen> 3 </since_tizen>
1790         public static float Top
1791         {
1792             get
1793             {
1794                 float ret = NDalicPINVOKE.AnchorPointTop_get();
1795                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1796                 return ret;
1797             }
1798         }
1799         /// <summary>
1800         /// Bottom
1801         /// </summary>
1802         /// <since_tizen> 3 </since_tizen>
1803         public static float Bottom
1804         {
1805             get
1806             {
1807                 float ret = NDalicPINVOKE.AnchorPointBottom_get();
1808                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1809                 return ret;
1810             }
1811         }
1812         /// <summary>
1813         /// Left
1814         /// </summary>
1815         /// <since_tizen> 3 </since_tizen>
1816         public static float Left
1817         {
1818             get
1819             {
1820                 float ret = NDalicPINVOKE.AnchorPointLeft_get();
1821                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1822                 return ret;
1823             }
1824         }
1825         /// <summary>
1826         /// Right
1827         /// </summary>
1828         /// <since_tizen> 3 </since_tizen>
1829         public static float Right
1830         {
1831             get
1832             {
1833                 float ret = NDalicPINVOKE.AnchorPointRight_get();
1834                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1835                 return ret;
1836             }
1837         }
1838         /// <summary>
1839         /// Middle
1840         /// </summary>
1841         /// <since_tizen> 3 </since_tizen>
1842         public static float Middle
1843         {
1844             get
1845             {
1846                 float ret = NDalicPINVOKE.AnchorPointMiddle_get();
1847                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1848                 return ret;
1849             }
1850         }
1851         /// <summary>
1852         /// TopLeft
1853         /// </summary>
1854         /// <since_tizen> 3 </since_tizen>
1855         public static Position TopLeft
1856         {
1857             get
1858             {
1859                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopLeft_get();
1860                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1861                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1862                 return ret;
1863             }
1864         }
1865         /// <summary>
1866         /// TopCenter
1867         /// </summary>
1868         /// <since_tizen> 3 </since_tizen>
1869         public static Position TopCenter
1870         {
1871             get
1872             {
1873                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopCenter_get();
1874                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1875                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1876                 return ret;
1877             }
1878         }
1879         /// <summary>
1880         /// TopRight
1881         /// </summary>
1882         /// <since_tizen> 3 </since_tizen>
1883         public static Position TopRight
1884         {
1885             get
1886             {
1887                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopRight_get();
1888                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1889                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1890                 return ret;
1891             }
1892         }
1893         /// <summary>
1894         /// CenterLeft
1895         /// </summary>
1896         /// <since_tizen> 3 </since_tizen>
1897         public static Position CenterLeft
1898         {
1899             get
1900             {
1901                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterLeft_get();
1902                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1903                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1904                 return ret;
1905             }
1906         }
1907         /// <summary>
1908         /// Center
1909         /// </summary>
1910         /// <since_tizen> 3 </since_tizen>
1911         public static Position Center
1912         {
1913             get
1914             {
1915                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenter_get();
1916                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1917                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1918                 return ret;
1919             }
1920         }
1921         /// <summary>
1922         /// CenterRight
1923         /// </summary>
1924         /// <since_tizen> 3 </since_tizen>
1925         public static Position CenterRight
1926         {
1927             get
1928             {
1929                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterRight_get();
1930                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1931                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1932                 return ret;
1933             }
1934         }
1935         /// <summary>
1936         /// BottomLeft
1937         /// </summary>
1938         /// <since_tizen> 3 </since_tizen>
1939         public static Position BottomLeft
1940         {
1941             get
1942             {
1943                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomLeft_get();
1944                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1945                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1946                 return ret;
1947             }
1948         }
1949         /// <summary>
1950         /// BottomCenter
1951         /// </summary>
1952         /// <since_tizen> 3 </since_tizen>
1953         public static Position BottomCenter
1954         {
1955             get
1956             {
1957                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomCenter_get();
1958                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1959                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1960                 return ret;
1961             }
1962         }
1963         /// <summary>
1964         /// BottomRight
1965         /// </summary>
1966         /// <since_tizen> 3 </since_tizen>
1967         public static Position BottomRight
1968         {
1969             get
1970             {
1971                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomRight_get();
1972                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1973                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1974                 return ret;
1975             }
1976         }
1977     }
1978     /// <summary>
1979     /// PositionAxis constants.
1980     /// </summary>
1981     /// <since_tizen> 3 </since_tizen>
1982     public struct PositionAxis
1983     {
1984         /// <summary>
1985         /// The X axis
1986         /// </summary>
1987         /// <since_tizen> 3 </since_tizen>
1988         public static Position X
1989         {
1990             get
1991             {
1992                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_XAXIS_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         /// The Y axis
2000         /// </summary>
2001         /// <since_tizen> 3 </since_tizen>
2002         public static Position Y
2003         {
2004             get
2005             {
2006                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_YAXIS_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         /// The Z axis
2014         /// </summary>
2015         /// <since_tizen> 3 </since_tizen>
2016         public static Position Z
2017         {
2018             get
2019             {
2020                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_ZAXIS_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         /// The Negative X axis
2028         /// </summary>
2029         /// <since_tizen> 3 </since_tizen>
2030         public static Position NegativeX
2031         {
2032             get
2033             {
2034                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_XAXIS_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         /// The Negative Y axis
2042         /// </summary>
2043         /// <since_tizen> 3 </since_tizen>
2044         public static Position NegativeY
2045         {
2046             get
2047             {
2048                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_YAXIS_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         /// <summary>
2055         /// The Negative Z axis
2056         /// </summary>
2057         /// <since_tizen> 3 </since_tizen>
2058         public static Position NegativeZ
2059         {
2060             get
2061             {
2062                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_ZAXIS_get();
2063                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2064                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2065                 return ret;
2066             }
2067         }
2068     }
2069
2070     /// <summary>
2071     /// Auto scrolling stop behavior.
2072     /// </summary>
2073     /// <since_tizen> 3 </since_tizen>
2074     public enum AutoScrollStopMode
2075     {
2076         /// <summary>
2077         /// Stop animation after current loop finished.
2078         /// </summary>
2079         FinishLoop,
2080         /// <summary>
2081         /// Stop animation immediately and reset position.
2082         /// </summary>
2083         Immediate
2084     }
2085
2086     /// <summary>
2087     /// An enum of screen mode.
2088     /// </summary>
2089     /// <since_tizen> 4 </since_tizen>
2090     public enum ScreenOffMode {
2091         /// <summary>
2092         /// The mode which turns the screen off after a timeout.
2093         /// </summary>
2094         Timout,
2095         /// <summary>
2096         /// The mode which keeps the screen turned on.
2097         /// </summary>
2098         Never
2099     }
2100
2101     /// <summary>
2102     /// An enum of notification window's priority level.
2103     /// </summary>
2104     /// <since_tizen> 3 </since_tizen>
2105     public enum NotificationLevel {
2106         /// <summary>
2107         /// No notification level.<br />
2108         /// Default level.<br />
2109         /// This value makes the notification window place in the layer of the normal window.
2110         /// </summary>
2111         None = -1,
2112         /// <summary>
2113         /// The base nofitication level.
2114         /// </summary>
2115         Base = 10,
2116         /// <summary>
2117         /// The medium notification level than base.
2118         /// </summary>
2119         Medium = 20,
2120         /// <summary>
2121         /// The higher notification level than medium.
2122         /// </summary>
2123         High = 30,
2124         /// <summary>
2125         /// The highest notification level.
2126         /// </summary>
2127         Top = 40
2128     }
2129
2130     /// <summary>
2131     /// An enum of window types.
2132     /// </summary>
2133     /// <since_tizen> 3 </since_tizen>
2134     public enum WindowType {
2135         /// <summary>
2136         /// A default window type.<br />
2137         /// Indicates a normal or top-level window.
2138         /// Almost every window will be created with this type.
2139         /// </summary>
2140         Normal,
2141         /// <summary>
2142         /// A notification window, like a warning about battery life or a new email received.
2143         /// </summary>
2144         Notification,
2145         /// <summary>
2146         /// A persistent utility window, like a toolbox or a palette.
2147         /// </summary>
2148         Utility,
2149         /// <summary>
2150         /// Used for simple dialog windows.
2151         /// </summary>
2152         Dialog
2153     }
2154
2155     /// <since_tizen> 3 </since_tizen>
2156     public enum DisposeTypes
2157     {
2158         /// <summary>
2159         /// Called By User
2160         /// </summary>
2161         /// <since_tizen> 3 </since_tizen>
2162         Explicit,
2163         /// <summary>
2164         /// Called by DisposeQueue
2165         /// </summary>
2166         /// <since_tizen> 3 </since_tizen>
2167         Implicit,
2168     }
2169
2170
2171
2172     /// <summary>
2173     /// [Obsolete("Please do not use! this will be deprecated")]
2174     /// </summary>
2175     /// <since_tizen> 3 </since_tizen>
2176     [Obsolete("Please do not use! This will be deprecated! Please use PivotPoint instead!")]
2177     [EditorBrowsable(EditorBrowsableState.Never)]
2178     public struct AnchorPoint
2179     {
2180         /// <summary>
2181         /// Top
2182         /// </summary>
2183         /// <since_tizen> 3 </since_tizen>
2184         public static float Top
2185         {
2186             get
2187             {
2188                 float ret = NDalicPINVOKE.AnchorPointTop_get();
2189                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2190                 return ret;
2191             }
2192         }
2193         /// <summary>
2194         /// Bottom
2195         /// </summary>
2196         /// <since_tizen> 3 </since_tizen>
2197         public static float Bottom
2198         {
2199             get
2200             {
2201                 float ret = NDalicPINVOKE.AnchorPointBottom_get();
2202                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2203                 return ret;
2204             }
2205         }
2206         /// <summary>
2207         /// Left
2208         /// </summary>
2209         /// <since_tizen> 3 </since_tizen>
2210         public static float Left
2211         {
2212             get
2213             {
2214                 float ret = NDalicPINVOKE.AnchorPointLeft_get();
2215                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2216                 return ret;
2217             }
2218         }
2219         /// <summary>
2220         /// Right
2221         /// </summary>
2222         /// <since_tizen> 3 </since_tizen>
2223         public static float Right
2224         {
2225             get
2226             {
2227                 float ret = NDalicPINVOKE.AnchorPointRight_get();
2228                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2229                 return ret;
2230             }
2231         }
2232         /// <summary>
2233         /// Middle
2234         /// </summary>
2235         /// <since_tizen> 3 </since_tizen>
2236         public static float Middle
2237         {
2238             get
2239             {
2240                 float ret = NDalicPINVOKE.AnchorPointMiddle_get();
2241                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2242                 return ret;
2243             }
2244         }
2245         /// <summary>
2246         /// TopLeft
2247         /// </summary>
2248         /// <since_tizen> 3 </since_tizen>
2249         public static Position TopLeft
2250         {
2251             get
2252             {
2253                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopLeft_get();
2254                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2255                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2256                 return ret;
2257             }
2258         }
2259         /// <summary>
2260         /// TopCenter
2261         /// </summary>
2262         /// <since_tizen> 3 </since_tizen>
2263         public static Position TopCenter
2264         {
2265             get
2266             {
2267                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopCenter_get();
2268                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2269                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2270                 return ret;
2271             }
2272         }
2273         /// <summary>
2274         /// TopRight
2275         /// </summary>
2276         /// <since_tizen> 3 </since_tizen>
2277         public static Position TopRight
2278         {
2279             get
2280             {
2281                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopRight_get();
2282                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2283                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2284                 return ret;
2285             }
2286         }
2287         /// <summary>
2288         /// CenterLeft
2289         /// </summary>
2290         /// <since_tizen> 3 </since_tizen>
2291         public static Position CenterLeft
2292         {
2293             get
2294             {
2295                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterLeft_get();
2296                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2297                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2298                 return ret;
2299             }
2300         }
2301         /// <summary>
2302         /// Center
2303         /// </summary>
2304         /// <since_tizen> 3 </since_tizen>
2305         public static Position Center
2306         {
2307             get
2308             {
2309                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenter_get();
2310                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2311                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2312                 return ret;
2313             }
2314         }
2315         /// <summary>
2316         /// CenterRight
2317         /// </summary>
2318         /// <since_tizen> 3 </since_tizen>
2319         public static Position CenterRight
2320         {
2321             get
2322             {
2323                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterRight_get();
2324                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2325                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2326                 return ret;
2327             }
2328         }
2329         /// <summary>
2330         /// BottomLeft
2331         /// </summary>
2332         /// <since_tizen> 3 </since_tizen>
2333         public static Position BottomLeft
2334         {
2335             get
2336             {
2337                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomLeft_get();
2338                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2339                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2340                 return ret;
2341             }
2342         }
2343         /// <summary>
2344         /// BottomCenter
2345         /// </summary>
2346         /// <since_tizen> 3 </since_tizen>
2347         public static Position BottomCenter
2348         {
2349             get
2350             {
2351                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomCenter_get();
2352                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2353                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2354                 return ret;
2355             }
2356         }
2357         /// <summary>
2358         /// BottomRight
2359         /// </summary>
2360         /// <since_tizen> 3 </since_tizen>
2361         public static Position BottomRight
2362         {
2363             get
2364             {
2365                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomRight_get();
2366                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2367                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2368                 return ret;
2369             }
2370         }
2371     }
2372
2373     /// <summary>
2374     /// An enum of the scroll state of the text eidtor.
2375     /// </summary>
2376     /// <since_tizen> 3 </since_tizen>
2377     public enum ScrollState
2378     {
2379         /// <summary>
2380         /// Scrolling is started.
2381         /// </summary>
2382         Started,
2383
2384         /// <summary>
2385         /// Scrolling is finished.
2386         /// </summary>
2387         Finished
2388     }
2389
2390      /// <summary>
2391     /// An enum of the line wrap mode of text controls.
2392     /// </summary>
2393     /// <since_tizen> 4 </since_tizen>
2394     public enum LineWrapMode
2395     {
2396         /// <summary>
2397         /// The word mode will move a word to the next line.
2398         /// </summary>
2399         /// <since_tizen> 4 </since_tizen>
2400         Word,
2401
2402         /// <summary>
2403         /// character will move character by character to the next line.
2404         /// </summary>
2405         /// <since_tizen> 4 </since_tizen>
2406         Character
2407     }
2408
2409 }