Release 4.0.0-preview1-00301
[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     }
202
203     /// <summary>
204     /// Enumeration for type determination of how the camera operates.
205     /// </summary>
206     /// <since_tizen> 3 </since_tizen>
207     public enum CameraType
208     {
209         /// <summary>
210         /// Camera orientation is taken from the CameraActor.
211         /// </summary>
212         FreeLook,
213         /// <summary>
214         /// Camera is oriented to always look at a target.
215         /// </summary>
216         LookAtTarget
217     }
218
219     /// <summary>
220     /// Enumeration for the projection modes.
221     /// </summary>
222     /// <since_tizen> 3 </since_tizen>
223     public enum ProjectionMode
224     {
225         /// <summary>
226         /// Distance causes foreshortening; objects further from the camera appear smaller.
227         /// </summary>
228         PerspectiveProjection,
229         /// <summary>
230         /// Relative distance from the camera does not affect the size of objects.
231         /// </summary>
232         OrthographicProjection
233     }
234
235     /// <summary>
236     /// This specifies customView behavior types.
237     /// </summary>
238     /// <since_tizen> 3 </since_tizen>
239     public enum CustomViewBehaviour
240     {
241         /// <summary>
242         /// Use to provide default behavior (size negotiation is on, event callbacks are not called).
243         /// </summary>
244         ViewBehaviourDefault = 0,
245         /// <summary>
246         /// True if the control does not need size negotiation, i.e., it can be skipped in the algorithm.
247         /// </summary>
248         DisableSizeNegotiation = 1 << 0,
249         /// <summary>
250         /// Use to provide key navigation support.
251         /// </summary>
252         RequiresKeyboardNavigationSupport = 1 << 5,
253         /// <summary>
254         /// Use to make style change event disabled.
255         /// </summary>
256         DisableStyleChangeSignals = 1 << 6,
257         /// <summary>
258         /// [EditorBrowsable(EditorBrowsableState.Never)]
259         /// </summary>
260         /// <since_tizen> 3 </since_tizen>
261         [EditorBrowsable(EditorBrowsableState.Never)]
262         LastViewBehaviourFlag
263     }
264
265     /// <since_tizen> 3 </since_tizen>
266     public enum DeviceClassType
267     {
268         /// <summary>
269         /// Not a device.
270         /// </summary>
271         /// <since_tizen> 3 </since_tizen>
272         None,
273         /// <summary>
274         /// The user/seat (the user themselves).
275         /// </summary>
276         /// <since_tizen> 3 </since_tizen>
277         Seat,
278         /// <summary>
279         /// A regular keyboard, numberpad or attached buttons.
280         /// </summary>
281         /// <since_tizen> 3 </since_tizen>
282         Keyboard,
283         /// <summary>
284         /// A mouse, trackball or touchpad relative motion device.
285         /// </summary>
286         /// <since_tizen> 3 </since_tizen>
287         Mouse,
288         /// <summary>
289         /// A touchscreen with fingers or stylus.
290         /// </summary>
291         /// <since_tizen> 3 </since_tizen>
292         Touch,
293         /// <summary>
294         /// A special pen device.
295         /// </summary>
296         /// <since_tizen> 3 </since_tizen>
297         Pen,
298         /// <summary>
299         ///  A pointing device based on laser, infrared or similar technology.
300         /// </summary>
301         /// <since_tizen> 3 </since_tizen>
302         Pointer,
303         /// <summary>
304         /// A gamepad controller or joystick.
305         /// </summary>
306         /// <since_tizen> 3 </since_tizen>
307         Gamepad
308     }
309
310     /// <summary>
311     /// This specifies all the property types.<br />
312     /// Enumeration for the property types supported.
313     /// </summary>
314     /// <since_tizen> 3 </since_tizen>
315     public enum PropertyType
316     {
317         /// <summary>
318         /// No type.
319         /// </summary>
320         None,
321         /// <summary>
322         /// A boolean type.
323         /// </summary>
324         Boolean,
325         /// <summary>
326         /// A float type.
327         /// </summary>
328         Float,
329         /// <summary>
330         /// An integer type.
331         /// </summary>
332         Integer,
333         /// <summary>
334         /// A vector array of size=2 with float precision.
335         /// </summary>
336         Vector2,
337         /// <summary>
338         /// A vector array of size=3 with float precision.
339         /// </summary>
340         Vector3,
341         /// <summary>
342         /// A vector array of size=4 with float precision.
343         /// </summary>
344         Vector4,
345         /// <summary>
346         /// A 3x3 matrix.
347         /// </summary>
348         Matrix3,
349         /// <summary>
350         /// A 4x4 matrix.
351         /// </summary>
352         Matrix,
353         /// <summary>
354         /// An integer array of size=4.
355         /// </summary>
356         Rectangle,
357         /// <summary>
358         /// Either a quaternion or an axis angle rotation.
359         /// </summary>
360         Rotation,
361         /// <summary>
362         /// A string type.
363         /// </summary>
364         String,
365         /// <summary>
366         /// An array of PropertyValue.
367         /// </summary>
368         Array,
369         /// <summary>
370         /// A string key to PropertyValue mapping.
371         /// </summary>
372         Map
373     }
374
375     /// <summary>
376     /// This specifies the property access mode types.<br />
377     /// Enumeration for the access mode for custom properties.
378     /// </summary>
379     /// <since_tizen> 3 </since_tizen>
380     public enum PropertyAccessMode
381     {
382         /// <summary>
383         /// If the property is read-only.
384         /// </summary>
385         ReadOnly,
386         /// <summary>
387         /// If the property is read or writeable.
388         /// </summary>
389         ReadWrite,
390         /// <summary>
391         /// If the property can be animated or constrained.
392         /// </summary>
393         Animatable,
394         /// <summary>
395         /// The number of access modes.
396         /// </summary>
397         AccessModeCount
398     }
399
400     /// <summary>
401     /// Types of style change. Enumeration for the StyleChange type.
402     /// </summary>
403     /// <since_tizen> 3 </since_tizen>
404     public enum StyleChangeType
405     {
406         /// <summary>
407         /// Denotes that the default font has changed.
408         /// </summary>
409         DefaultFontChange,
410         /// <summary>
411         /// Denotes that the default font size has changed.
412         /// </summary>
413         DefaultFontSizeChange,
414         /// <summary>
415         /// Denotes that the theme has changed.
416         /// </summary>
417         ThemeChange
418     }
419
420     /// <summary>
421     /// Enumeration for horizontal alignment types.
422     /// </summary>
423     /// <since_tizen> 3 </since_tizen>
424     public enum HorizontalAlignmentType
425     {
426         /// <summary>
427         /// Align horizontally left.
428         /// </summary>
429         Left,
430         /// <summary>
431         /// Align horizontally center.
432         /// </summary>
433         Center,
434         /// <summary>
435         /// Align horizontally right.
436         /// </summary>
437         Right
438     }
439
440     /// <summary>
441     /// Enumeration for vertical alignment types.
442     /// </summary>
443     /// <since_tizen> 3 </since_tizen>
444     public enum VerticalAlignmentType
445     {
446         /// <summary>
447         /// Align vertically top.
448         /// </summary>
449         Top,
450         /// <summary>
451         /// Align vertically center.
452         /// </summary>
453         Center,
454         /// <summary>
455         /// Align vertically bottom.
456         /// </summary>
457         Bottom
458     }
459
460     /// <summary>
461     /// Enumeration for point state type.
462     /// </summary>
463     /// <since_tizen> 3 </since_tizen>
464     public enum PointStateType
465     {
466         /// <summary>
467         /// Touch or hover started.
468         /// </summary>
469         Started,
470         /// <summary>
471         /// Touch or hover finished.
472         /// </summary>
473         Finished,
474         /// <summary>
475         /// Screen touched.
476         /// </summary>
477         Down = Started,
478         /// <summary>
479         /// Touch stopped.
480         /// </summary>
481         Up = Finished,
482         /// <summary>
483         /// Finger dragged or hovered.
484         /// </summary>
485         Motion,
486         /// <summary>
487         /// Leave the boundary of an actor.
488         /// </summary>
489         Leave,
490         /// <summary>
491         /// No change from last event. <br />
492         /// 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.
493         /// </summary>
494         Stationary,
495         /// <summary>
496         /// A system event has occurred which has interrupted the touch or hover event sequence.
497         /// </summary>
498         Interrupted
499     }
500
501     /// <summary>
502     /// Enumeration for the text horizontal aligning.
503     /// </summary>
504     /// <since_tizen> 3 </since_tizen>
505     public enum HorizontalAlignment
506     {
507         /// <summary>
508         /// Texts place at the begin of horizontal direction.
509         /// </summary>
510         Begin,
511         /// <summary>
512         /// Texts place at the center of horizontal direction.
513         /// </summary>
514         Center,
515         /// <summary>
516         /// Texts place at the end of horizontal direction.
517         /// </summary>
518         End
519     }
520
521     /// <summary>
522     /// Enumeration for the text horizontal aligning.
523     /// </summary>
524     /// <since_tizen> 3 </since_tizen>
525     public enum VerticalAlignment
526     {
527         /// <summary>
528         /// Texts place at the top of vertical direction.
529         /// </summary>
530         Top,
531         /// <summary>
532         /// Texts place at the center of vertical direction.
533         /// </summary>
534         Center,
535         /// <summary>
536         /// Texts place at the bottom of vertical direction.
537         /// </summary>
538         Bottom
539     }
540
541     /// <summary>
542     /// This specifies wrap mode types.<br />
543     /// 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.
544     /// </summary>
545     /// <since_tizen> 3 </since_tizen>
546     public enum WrapModeType
547     {
548         /// <summary>
549         /// The default value.
550         /// </summary>
551         Default = 0,
552         /// <summary>
553         /// Clamp to edge.
554         /// </summary>
555         ClampToEdge,
556         /// <summary>
557         /// Repeat.
558         /// </summary>
559         Repeat,
560         /// <summary>
561         /// Mirrored repeat.
562         /// </summary>
563         MirroredRepeat
564     }
565
566     /// <summary>
567     /// The type of coordinate system for certain attributes of the points in a gradient.
568     /// </summary>
569     /// <since_tizen> 3 </since_tizen>
570     public enum GradientVisualUnitsType
571     {
572         /// <summary>
573         /// 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).
574         /// </summary>
575         ObjectBoundingBox,
576         /// <summary>
577         /// 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).
578         /// </summary>
579         UserSpace
580     }
581
582     /// <summary>
583     /// This specifies SpreadMethod types.<br />
584     /// SpreadMethod defines what happens if the gradient starts or ends inside the bounds of the target rectangle.<br />
585     /// </summary>
586     /// <since_tizen> 3 </since_tizen>
587     public enum GradientVisualSpreadMethodType
588     {
589         /// <summary>
590         /// Uses the terminal colors of the gradient to fill the remainder of the quad.
591         /// </summary>
592         Pad,
593         /// <summary>
594         /// Reflects the gradient pattern start-to-end, end-to-start, start-to-end, etc. until the quad is filled.
595         /// </summary>
596         Reflect,
597         /// <summary>
598         /// Repeats the gradient pattern start-to-end, start-to-end, start-to-end, etc. until the quad is filled.
599         /// </summary>
600         Repeat
601     }
602
603     /// <summary>
604     /// The shading mode used by the mesh visual.
605     /// </summary>
606     /// <since_tizen> 3 </since_tizen>
607     public enum MeshVisualShadingModeValue
608     {
609         /// <summary>
610         /// *Simplest*. One color that is lit by ambient and diffuse lighting.
611         /// </summary>
612         TexturelessWithDiffuseLighting,
613         /// <summary>
614         /// Uses only the visual image textures provided with specular lighting in addition to ambient and diffuse lighting.
615         /// </summary>
616         TexturedWithSpecularLighting,
617         /// <summary>
618         /// Uses all textures provided including gloss, normal, and texture map along with specular, ambient, and diffuse lighting.
619         /// </summary>
620         TexturedWithDetailedSpecularLighting
621     }
622
623     /// <summary>
624     /// The primitive shape to render as a primitive visual.
625     /// </summary>
626     /// <since_tizen> 3 </since_tizen>
627     public enum PrimitiveVisualShapeType
628     {
629         /// <summary>
630         /// A perfectly round geometrical object in the three-dimensional space.
631         /// </summary>
632         Sphere,
633         /// <summary>
634         /// The area bound between two circles, i.e., a cone with the tip removed.
635         /// </summary>
636         ConicalFrustrum,
637         /// <summary>
638         /// Equivalent to a conical frustrum with the top radius of zero.
639         /// </summary>Equivalent to a conical frustrum with the top radius of zero.
640         Cone,
641         /// <summary>
642         /// Equivalent to a conical frustrum with the top radius of zero.
643         /// </summary>
644         Cylinder,
645         /// <summary>
646         /// Equivalent to a conical frustrum with equal radii for the top and bottom circles.
647         /// </summary>
648         Cube,
649         /// <summary>
650         /// Equivalent to a bevelled cube with a bevel percentage of zero.
651         /// </summary>
652         Octahedron,
653         /// <summary>
654         /// Equivalent to a bevelled cube with a bevel percentage of one.
655         /// </summary>
656         BevelledCube
657     }
658
659     /// <summary>
660     /// This specifies fitting mode types. Fitting options, used when resizing images to fit desired dimensions.<br />
661     /// A fitting mode controls the region of a loaded image to be mapped to the desired image rectangle.<br />
662     /// All fitting modes preserve the aspect ratio of the image contents.<br />
663     /// </summary>
664     /// <since_tizen> 3 </since_tizen>
665     public enum FittingModeType
666     {
667         /// <summary>
668         /// Full-screen image display: Limit loaded image resolution to device resolution using the ShrinkToFit mode.
669         /// </summary>
670         ShrinkToFit,
671         /// <summary>
672         /// Thumbnail gallery grid: Limit loaded image resolution to screen tile using the ScaleToFill mode.
673         /// </summary>
674         ScaleToFill,
675         /// <summary>
676         /// Image columns: Limit loaded image resolution to column width using the FitWidth mode.
677         /// </summary>
678         FitWidth,
679         /// <summary>
680         /// Image rows: Limit loaded image resolution to row height using the FitHeight mode.
681         /// </summary>
682         FitHeight
683     }
684
685     /// <summary>
686     /// This specifies sampling mode types. Filtering options are used when resizing images to sample original pixels.<br />
687     /// A SamplingMode controls how pixels in an input image are sampled and combined to generate each pixel of a destination image during scaling.<br />
688     /// 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 />
689     /// but all other filter modes do if the desired dimensions are not more than the raw dimensions of the input image file.<br />
690     /// </summary>
691     /// <since_tizen> 3 </since_tizen>
692     public enum SamplingModeType
693     {
694         /// <summary>
695         /// Iteratively box filter to generate an image of 1/2, 1/4, 1/8, etc. width and height and approximately the desired size. <br />
696         /// This is the default.
697         /// </summary>
698         Box,
699         /// <summary>
700         /// For each output pixel, read one input pixel.
701         /// </summary>
702         Nearest,
703         /// <summary>
704         /// For each output pixel, read a quad of four input pixels and write a weighted average of them.
705         /// </summary>
706         Linear,
707         /// <summary>
708         /// Iteratively box filter to generate an image of 1/2, 1/4, 1/8, etc. width and height and approximately the desired size, <br />
709         /// then for each output pixel, read one pixel from the last level of box filtering.<br />
710         /// </summary>
711         BoxThenNearest,
712         /// <summary>
713         /// 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.
714         /// </summary>
715         BoxThenLinear,
716         /// <summary>
717         /// 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.
718         /// </summary>
719         NoFilter,
720         /// <summary>
721         /// For caching algorithms where a client strongly prefers a cache-hit to reuse a cached image.
722         /// </summary>
723         DontCare
724     }
725
726     /// <summary>
727     /// This specifies policy types that could be used by the transform for the offset or size.
728     /// </summary>
729     /// <since_tizen> 3 </since_tizen>
730     public enum VisualTransformPolicyType
731     {
732         /// <summary>
733         /// Relative to the control (percentage [0.0f to 1.0f] of the control).
734         /// </summary>
735         Relative = 0,
736         /// <summary>
737         /// Absolute value in world units.
738         /// </summary>
739         Absolute = 1
740     }
741
742     /// <summary>
743     /// This specifies all the transform property types.
744     /// </summary>
745     /// <since_tizen> 3 </since_tizen>
746     public enum VisualTransformPropertyType
747     {
748         /// <summary>
749         /// Offset of the visual, which can be either relative (percentage [0.0f to 1.0f] of the parent) or absolute (in world units).
750         /// </summary>
751         Offset,
752         /// <summary>
753         /// Size of the visual, which can be either relative (percentage [0.0f to 1.0f] of the parent) or absolute (in world units).
754         /// </summary>
755         Size,
756         /// <summary>
757         /// The origin of the visual within its control area.
758         /// </summary>
759         Origin,
760         /// <summary>
761         /// The anchor-point of the visual.
762         /// </summary>
763         AnchorPoint,
764         /// <summary>
765         /// Whether the x or y offset values are relative (percentage [0.0f to 1.0f] of the control) or absolute (in world units).
766         /// </summary>
767         OffsetPolicy,
768         /// <summary>
769         /// Whether the width or the height size values are relative (percentage [0.0f to 1.0f] of the control) or absolute (in world units).
770         /// </summary>
771         SizePolicy
772     }
773
774     /// <summary>
775     /// This specifies visual types.
776     /// </summary>
777     /// <since_tizen> 3 </since_tizen>
778     public struct Visual
779     {
780         /// <summary>
781         /// The index for the visual type.
782         /// </summary>
783         /// <since_tizen> 3 </since_tizen>
784         public enum Type
785         {
786             /// <summary>
787             /// Renders a solid color as an internal border to the control's quad.
788             /// </summary>
789             Border,
790             /// <summary>
791             /// Renders a solid color to the control's quad.
792             /// </summary>
793             Color,
794             /// <summary>
795             /// Renders a smooth transition of colors to the control's quad.
796             /// </summary>
797             Gradient,
798             /// <summary>
799             /// Renders an image into the control's quad.
800             /// </summary>
801             Image,
802             /// <summary>
803             /// Renders a mesh using an "obj" file, optionally with textures provided by an "mtl" file.
804             /// </summary>
805             Mesh,
806             /// <summary>
807             /// Renders a simple 3D shape, such as a cube or a sphere.
808             /// </summary>
809             Primitive,
810             /// <summary>
811             /// Renders a simple wire-frame outlining a quad.
812             /// </summary>
813             Wireframe,
814             /// <summary>
815             /// Renders text.
816             /// </summary>
817             Text,
818             /// <summary>
819             /// Renders an n-patch image.
820             /// </summary>
821             NPatch,
822             /// <summary>
823             /// Renders an SVG image.
824             /// </summary>
825             SVG,
826             /// <summary>
827             /// Renders a animated image (animated GIF).
828             /// </summary>
829             AnimatedImage
830         }
831
832         /// <summary>
833         /// This specifies visual properties.
834         /// </summary>
835         /// <since_tizen> 3 </since_tizen>
836         public struct Property
837         {
838             /// <summary>
839             /// Type.
840             /// </summary>
841             /// <since_tizen> 3 </since_tizen>
842             public static readonly int Type = NDalic.VISUAL_PROPERTY_TYPE;
843             /// <summary>
844             /// Shader.
845             /// </summary>
846             /// <since_tizen> 3 </since_tizen>
847             public static readonly int Shader = NDalic.VISUAL_PROPERTY_SHADER;
848             /// <summary>
849             /// Transform.
850             /// </summary>
851             /// <since_tizen> 3 </since_tizen>
852             public static readonly int Transform = NDalic.VISUAL_PROPERTY_TRANSFORM;
853             /// <summary>
854             /// PremultipliedAlpha.
855             /// </summary>
856             /// <since_tizen> 3 </since_tizen>
857             public static readonly int PremultipliedAlpha = NDalic.VISUAL_PROPERTY_PREMULTIPLIED_ALPHA;
858             /// <summary>
859             /// MixColor.
860             /// </summary>
861             /// <since_tizen> 3 </since_tizen>
862             public static readonly int MixColor = NDalic.VISUAL_PROPERTY_MIX_COLOR;
863             /// <summary>
864             /// Opacity.
865             /// </summary>
866             /// <since_tizen> 3 </since_tizen>
867             public static readonly int Opacity = NDalic.VISUAL_PROPERTY_MIX_COLOR + 1;
868         }
869
870         /// <summary>
871         /// This specifies shader properties.
872         /// </summary>
873         /// <since_tizen> 3 </since_tizen>
874         public struct ShaderProperty
875         {
876             /// <summary>
877             /// Vertex shader code
878             /// </summary>
879             /// <since_tizen> 3 </since_tizen>
880             public static readonly int VertexShader = NDalic.VISUAL_SHADER_VERTEX;
881             /// <summary>
882             /// Fragment shader code
883             /// </summary>
884             /// <since_tizen> 3 </since_tizen>
885             public static readonly int FragmentShader = NDalic.VISUAL_SHADER_FRAGMENT;
886             /// <summary>
887             /// How to subdivide the grid along X
888             /// </summary>
889             /// <since_tizen> 3 </since_tizen>
890             public static readonly int ShaderSubdivideGridX = NDalic.VISUAL_SHADER_SUBDIVIDE_GRID_X;
891             /// <summary>
892             /// How to subdivide the grid along Y
893             /// </summary>
894             /// <since_tizen> 3 </since_tizen>
895             public static readonly int ShaderSubdivideGridY = NDalic.VISUAL_SHADER_SUBDIVIDE_GRID_Y;
896             /// <summary>
897             /// Bitmask of hints
898             /// </summary>
899             /// <since_tizen> 3 </since_tizen>
900             public static readonly int ShaderHints = NDalic.VISUAL_SHADER_HINTS;
901         }
902
903         /// <summary>
904         /// This specifies visaul align types.
905         /// </summary>
906         /// <since_tizen> 3 </since_tizen>
907         public enum AlignType
908         {
909             /// <summary>
910             /// TopBegin
911             /// </summary>
912             /// <since_tizen> 3 </since_tizen>
913             TopBegin = 0,
914             /// <summary>
915             /// TopCenter
916             /// </summary>
917             /// <since_tizen> 3 </since_tizen>
918             TopCenter,
919             /// <summary>
920             /// TopEnd
921             /// </summary>
922             /// <since_tizen> 3 </since_tizen>
923             TopEnd,
924             /// <summary>
925             /// CenterBegin
926             /// </summary>
927             /// <since_tizen> 3 </since_tizen>
928             CenterBegin,
929             /// <summary>
930             /// Center
931             /// </summary>
932             /// <since_tizen> 3 </since_tizen>
933             Center,
934             /// <summary>
935             /// CenterEnd
936             /// </summary>
937             /// <since_tizen> 3 </since_tizen>
938             CenterEnd,
939             /// <summary>
940             /// BottomBegin
941             /// </summary>
942             /// <since_tizen> 3 </since_tizen>
943             BottomBegin,
944             /// <summary>
945             /// BottomCenter
946             /// </summary>
947             /// <since_tizen> 3 </since_tizen>
948             BottomCenter,
949             /// <summary>
950             /// BottomEnd
951             /// </summary>
952             /// <since_tizen> 3 </since_tizen>
953             BottomEnd
954         }
955     }
956
957     /// <summary>
958     /// This specifies properties of the BorderVisual.
959     /// </summary>
960     /// <since_tizen> 3 </since_tizen>
961     public struct BorderVisualProperty
962     {
963         /// <summary>
964         /// The color of the border.
965         /// </summary>
966         /// <since_tizen> 3 </since_tizen>
967         public static readonly int Color = NDalic.BORDER_VISUAL_COLOR;
968         /// <summary>
969         /// The width of the border (in pixels).
970         /// </summary>
971         /// <since_tizen> 3 </since_tizen>
972         public static readonly int Size = NDalic.BORDER_VISUAL_SIZE;
973         /// <summary>
974         /// Whether anti-aliasing of the border is required.
975         /// </summary>
976         /// <since_tizen> 3 </since_tizen>
977         public static readonly int AntiAliasing = NDalic.BORDER_VISUAL_ANTI_ALIASING;
978     }
979
980     /// <summary>
981     /// This specifies properties of the ColorVisual.
982     /// </summary>
983     /// <since_tizen> 3 </since_tizen>
984     public struct ColorVisualProperty
985     {
986         /// <summary>
987         /// The solid color required.
988         /// </summary>
989         /// <since_tizen> 3 </since_tizen>
990         public static readonly int MixColor = NDalic.COLOR_VISUAL_MIX_COLOR;
991     }
992
993     /// <summary>
994     /// This specifies properties of the GradientVisual.
995     /// </summary>
996     /// <since_tizen> 3 </since_tizen>
997     public struct GradientVisualProperty
998     {
999         /// <summary>
1000         /// The start position of a linear gradient.
1001         /// </summary>
1002         /// <since_tizen> 3 </since_tizen>
1003         public static readonly int StartPosition = NDalic.GRADIENT_VISUAL_START_POSITION;
1004         /// <summary>
1005         /// The end position of a linear gradient.
1006         /// </summary>
1007         /// <since_tizen> 3 </since_tizen>
1008         public static readonly int EndPosition = NDalic.GRADIENT_VISUAL_END_POSITION;
1009         /// <summary>
1010         /// The center point of a radial gradient.
1011         /// </summary>
1012         /// <since_tizen> 3 </since_tizen>
1013         public static readonly int Center = NDalic.GRADIENT_VISUAL_CENTER;
1014         /// <summary>
1015         /// The size of the radius of a radial gradient.
1016         /// </summary>
1017         /// <since_tizen> 3 </since_tizen>
1018         public static readonly int Radius = NDalic.GRADIENT_VISUAL_RADIUS;
1019         /// <summary>
1020         /// All the stop offsets.
1021         /// </summary>
1022         /// <since_tizen> 3 </since_tizen>
1023         public static readonly int StopOffset = NDalic.GRADIENT_VISUAL_STOP_OFFSET;
1024         /// <summary>
1025         /// The color at the stop offsets.
1026         /// </summary>
1027         /// <since_tizen> 3 </since_tizen>
1028         public static readonly int StopColor = NDalic.GRADIENT_VISUAL_STOP_COLOR;
1029         /// <summary>
1030         /// Defines the coordinate system for certain attributes of the points in a gradient.
1031         /// </summary>
1032         /// <since_tizen> 3 </since_tizen>
1033         public static readonly int Units = NDalic.GRADIENT_VISUAL_UNITS;
1034         /// <summary>
1035         /// Indicates what happens if the gradient starts or ends inside the bounds of the target rectangle.
1036         /// </summary>
1037         /// <since_tizen> 3 </since_tizen>
1038         public static readonly int SpreadMethod = NDalic.GRADIENT_VISUAL_SPREAD_METHOD;
1039     }
1040
1041     /// <summary>
1042     /// This specifies properties of the ImageVisual.
1043     /// </summary>
1044     /// <since_tizen> 3 </since_tizen>
1045     public struct ImageVisualProperty
1046     {
1047         /// <summary>
1048         /// The URL of the image.
1049         /// </summary>
1050         public static readonly int URL = NDalic.IMAGE_VISUAL_URL;
1051         /// <summary>
1052         /// The URL of the alpha mask image.
1053         /// </summary>
1054         public static readonly int AlphaMaskURL = NDalic.IMAGE_VISUAL_ALPHA_MASK_URL;
1055         /// <summary>
1056         /// Fitting options, used when resizing images to fit desired dimensions.
1057         /// </summary>
1058         public static readonly int FittingMode = NDalic.IMAGE_VISUAL_FITTING_MODE;
1059         /// <summary>
1060         /// Filtering options, used when resizing images to sample original pixels.
1061         /// </summary>
1062         public static readonly int SamplingMode = NDalic.IMAGE_VISUAL_SAMPLING_MODE;
1063         /// <summary>
1064         /// The desired image width.
1065         /// </summary>
1066         public static readonly int DesiredWidth = NDalic.IMAGE_VISUAL_DESIRED_WIDTH;
1067         /// <summary>
1068         /// The desired image height.
1069         /// </summary>
1070         public static readonly int DesiredHeight = NDalic.IMAGE_VISUAL_DESIRED_HEIGHT;
1071         /// <summary>
1072         /// Whether to load the image synchronously.
1073         /// </summary>
1074         public static readonly int SynchronousLoading = NDalic.IMAGE_VISUAL_SYNCHRONOUS_LOADING;
1075         /// <summary>
1076         /// If true, only draws the borders.
1077         /// </summary>
1078         public static readonly int BorderOnly = NDalic.IMAGE_VISUAL_BORDER_ONLY;
1079         /// <summary>
1080         /// The image area to be displayed.
1081         /// </summary>
1082         public static readonly int PixelArea = NDalic.IMAGE_VISUAL_PIXEL_AREA;
1083         /// <summary>
1084         /// The wrap mode for u coordinate.
1085         /// </summary>
1086         public static readonly int WrapModeU = NDalic.IMAGE_VISUAL_WRAP_MODE_U;
1087         /// <summary>
1088         /// The wrap mode for v coordinate.
1089         /// </summary>
1090         public static readonly int WrapModeV = NDalic.IMAGE_VISUAL_WRAP_MODE_V;
1091         /// <summary>
1092         /// The border of the image.
1093         /// </summary>
1094         public static readonly int Border = NDalic.IMAGE_VISUAL_BORDER;
1095         /// <summary>
1096         /// The scale factor to apply to the content image before masking.
1097         /// </summary>
1098         public static readonly int MaskContentScale = NDalic.IMAGE_VISUAL_MASK_CONTENT_SCALE;
1099         /// <summary>
1100         /// Whether to crop image to mask or scale mask to fit image
1101         /// </summary>
1102         public static readonly int CropToMask = NDalic.IMAGE_VISUAL_CROP_TO_MASK;
1103         /// <summary>
1104         /// Defines the batch size for pre-loading images in the AnimatedImageVisual
1105         /// </summary>
1106         public static readonly int BatchSize = NDalic.IMAGE_VISUAL_BATCH_SIZE;
1107         /// <summary>
1108         /// Defines the cache size for loading images in the AnimatedImageVisual
1109         /// </summary>
1110         public static readonly int CacheSize = NDalic.IMAGE_VISUAL_CACHE_SIZE;
1111         /// <summary>
1112         /// The number of milliseconds between each frame in the AnimatedImageVisual
1113         /// </summary>
1114         public static readonly int FrameDelay = NDalic.IMAGE_VISUAL_FRAME_DELAY;
1115
1116     }
1117
1118     /// <summary>
1119     /// This specifies properties of the MeshVisual.
1120     /// </summary>
1121     /// <since_tizen> 3 </since_tizen>
1122     public struct MeshVisualProperty
1123     {
1124         /// <summary>
1125         /// The location of the ".obj" file.
1126         /// </summary>
1127         public static readonly int ObjectURL = NDalic.MESH_VISUAL_OBJECT_URL;
1128         /// <summary>
1129         /// The location of the ".mtl" file.
1130         /// </summary>
1131         public static readonly int MaterialtURL = NDalic.MESH_VISUAL_MATERIAL_URL;
1132         /// <summary>
1133         /// Path to the directory the textures (including gloss and normal) are stored in.
1134         /// </summary>
1135         public static readonly int TexturesPath = NDalic.MESH_VISUAL_TEXTURES_PATH;
1136         /// <summary>
1137         /// Sets the type of shading mode that the mesh will use.
1138         /// </summary>
1139         public static readonly int ShadingMode = NDalic.MESH_VISUAL_SHADING_MODE;
1140         /// <summary>
1141         /// Whether to use mipmaps for textures or not.
1142         /// </summary>
1143         public static readonly int UseMipmapping = NDalic.MESH_VISUAL_USE_MIPMAPPING;
1144         /// <summary>
1145         /// Whether to average normals at each point to smooth textures or not.
1146         /// </summary>
1147         public static readonly int UseSoftNormals = NDalic.MESH_VISUAL_USE_SOFT_NORMALS;
1148         /// <summary>
1149         /// The position, in stage space, of the point light that applies lighting to the model.
1150         /// </summary>
1151         public static readonly int LightPosition = NDalic.MESH_VISUAL_LIGHT_POSITION;
1152     }
1153
1154     /// <summary>
1155     /// This specifies properties of the PrimitiveVisual.
1156     /// </summary>
1157     /// <since_tizen> 3 </since_tizen>
1158     public struct PrimitiveVisualProperty
1159     {
1160         /// <summary>
1161         /// The specific shape to render.
1162         /// </summary>
1163         public static readonly int Shape = NDalic.PRIMITIVE_VISUAL_SHAPE;
1164         /// <summary>
1165         /// The color of the shape.
1166         /// </summary>
1167         public static readonly int MixColor = NDalic.PRIMITIVE_VISUAL_MIX_COLOR;
1168         /// <summary>
1169         /// The number of slices as you go around the shape.
1170         /// </summary>
1171         public static readonly int Slices = NDalic.PRIMITIVE_VISUAL_SLICES;
1172         /// <summary>
1173         /// The number of stacks as you go down the shape.
1174         /// </summary>
1175         public static readonly int Stacks = NDalic.PRIMITIVE_VISUAL_STACKS;
1176         /// <summary>
1177         /// The scale of the radius of the top circle of a conical frustrum.
1178         /// </summary>
1179         public static readonly int ScaleTopRadius = NDalic.PRIMITIVE_VISUAL_SCALE_TOP_RADIUS;
1180         /// <summary>
1181         /// The scale of the radius of the bottom circle of a conical frustrum.
1182         /// </summary>
1183         public static readonly int ScaleBottomRadius = NDalic.PRIMITIVE_VISUAL_SCALE_BOTTOM_RADIUS;
1184         /// <summary>
1185         /// The scale of the height of a conic.
1186         /// </summary>
1187         public static readonly int ScaleHeight = NDalic.PRIMITIVE_VISUAL_SCALE_HEIGHT;
1188         /// <summary>
1189         /// The scale of the radius of a cylinder.
1190         /// </summary>
1191         public static readonly int ScaleRadius = NDalic.PRIMITIVE_VISUAL_SCALE_RADIUS;
1192         /// <summary>
1193         /// The dimensions of a cuboid. Scales in the same fashion as a 9-patch image.
1194         /// </summary>
1195         public static readonly int ScaleDimensions = NDalic.PRIMITIVE_VISUAL_SCALE_DIMENSIONS;
1196         /// <summary>
1197         /// Determines how bevelled the cuboid should be, based off the smallest dimension.
1198         /// </summary>
1199         public static readonly int BevelPercentage = NDalic.PRIMITIVE_VISUAL_BEVEL_PERCENTAGE;
1200         /// <summary>
1201         /// Defines how smooth the bevelled edges should be.
1202         /// </summary>
1203         public static readonly int BevelSmoothness = NDalic.PRIMITIVE_VISUAL_BEVEL_SMOOTHNESS;
1204         /// <summary>
1205         /// The position, in stage space, of the point light that applies lighting to the model.
1206         /// </summary>
1207         public static readonly int LightPosition = NDalic.PRIMITIVE_VISUAL_LIGHT_POSITION;
1208     }
1209
1210     /// <summary>
1211     /// This specifies properties of the TextVisual.
1212     /// </summary>
1213     /// <since_tizen> 3 </since_tizen>
1214     public struct TextVisualProperty
1215     {
1216         /// <summary>
1217         /// The text to display in UTF-8 format.
1218         /// </summary>
1219         public static readonly int Text = NDalic.TEXT_VISUAL_TEXT;
1220         /// <summary>
1221         /// The requested font family to use.
1222         /// </summary>
1223         public static readonly int FontFamily = NDalic.TEXT_VISUAL_FONT_FAMILY;
1224         /// <summary>
1225         /// The requested font style to use.
1226         /// </summary>
1227         public static readonly int FontStyle = NDalic.TEXT_VISUAL_FONT_STYLE;
1228         /// <summary>
1229         /// The size of font in points.
1230         /// </summary>
1231         public static readonly int PointSize = NDalic.TEXT_VISUAL_POINT_SIZE;
1232         /// <summary>
1233         /// The single-line or multi-line layout option.
1234         /// </summary>
1235         public static readonly int MultiLine = NDalic.TEXT_VISUAL_MULTI_LINE;
1236         /// <summary>
1237         /// The line horizontal alignment.
1238         /// </summary>
1239         public static readonly int HorizontalAlignment = NDalic.TEXT_VISUAL_HORIZONTAL_ALIGNMENT;
1240         /// <summary>
1241         /// The line vertical alignment.
1242         /// </summary>
1243         public static readonly int VerticalAlignment = NDalic.TEXT_VISUAL_VERTICAL_ALIGNMENT;
1244         /// <summary>
1245         /// The color of the text.
1246         /// </summary>
1247         public static readonly int TextColor = NDalic.TEXT_VISUAL_TEXT_COLOR;
1248         /// <summary>
1249         /// Whether the mark-up processing is enabled.
1250         /// </summary>
1251         public static readonly int EnableMarkup = NDalic.TEXT_VISUAL_ENABLE_MARKUP;
1252     }
1253
1254     /// <summary>
1255     /// This specifies properties of the NpatchImageVisual.
1256     /// </summary>
1257     /// <since_tizen> 3 </since_tizen>
1258     public struct NpatchImageVisualProperty
1259     {
1260         /// <summary>
1261         /// The URL of the image.
1262         /// </summary>
1263         public static readonly int URL = NDalic.IMAGE_VISUAL_URL;
1264         /// <summary>
1265         /// Fitting options, used when resizing images to fit desired dimensions.
1266         /// </summary>
1267         public static readonly int FittingMode = NDalic.IMAGE_VISUAL_FITTING_MODE;
1268         /// <summary>
1269         /// Filtering options, used when resizing images to sample original pixels.
1270         /// </summary>
1271         public static readonly int SamplingMode = NDalic.IMAGE_VISUAL_SAMPLING_MODE;
1272         /// <summary>
1273         /// The desired image width.
1274         /// </summary>
1275         public static readonly int DesiredWidth = NDalic.IMAGE_VISUAL_DESIRED_WIDTH;
1276         /// <summary>
1277         /// The desired image height.
1278         /// </summary>
1279         public static readonly int DesiredHeight = NDalic.IMAGE_VISUAL_DESIRED_HEIGHT;
1280         /// <summary>
1281         /// Whether to load the image synchronously.
1282         /// </summary>
1283         public static readonly int SynchronousLoading = NDalic.IMAGE_VISUAL_SYNCHRONOUS_LOADING;
1284         /// <summary>
1285         /// If true, only draws the borders.
1286         /// </summary>
1287         public static readonly int BorderOnly = NDalic.IMAGE_VISUAL_BORDER_ONLY;
1288         /// <summary>
1289         /// The image area to be displayed.
1290         /// </summary>
1291         public static readonly int PixelArea = NDalic.IMAGE_VISUAL_PIXEL_AREA;
1292         /// <summary>
1293         /// The wrap mode for u coordinate.
1294         /// </summary>
1295         public static readonly int WrapModeU = NDalic.IMAGE_VISUAL_WRAP_MODE_U;
1296         /// <summary>
1297         /// The wrap mode for v coordinate.
1298         /// </summary>
1299         public static readonly int WrapModeV = NDalic.IMAGE_VISUAL_WRAP_MODE_V;
1300         /// <summary>
1301         /// The border of the image.
1302         /// </summary>
1303         public static readonly int Border = NDalic.IMAGE_VISUAL_WRAP_MODE_V + 1;
1304     }
1305
1306     /// <summary>
1307     /// The HiddenInput property.
1308     /// </summary>
1309     /// <since_tizen> 3 </since_tizen>
1310     public struct HiddenInputProperty
1311     {
1312         /// <summary>
1313         /// The mode for input text display.
1314         /// </summary>
1315         public static readonly int Mode = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_MODE_get();
1316         /// <summary>
1317         /// All input characters are substituted by this character.
1318         /// </summary>
1319         public static readonly int SubstituteCharacter = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_SUBSTITUTE_CHARACTER_get();
1320         /// <summary>
1321         /// Length of text to show or hide, available when HIDE_COUNT/SHOW_COUNT mode is used.
1322         /// </summary>
1323         public static readonly int SubstituteCount = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_SUBSTITUTE_COUNT_get();
1324         /// <summary>
1325         /// Hide last character after this duration, available when SHOW_LAST_CHARACTER mode.
1326         /// </summary>
1327         public static readonly int ShowDuration = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_SHOW_DURATION_get();
1328     }
1329
1330     /// <summary>
1331     /// The type for HiddenInput mode.
1332     /// </summary>
1333     /// <since_tizen> 3 </since_tizen>
1334     public enum HiddenInputModeType
1335     {
1336         /// <summary>
1337         /// Don't hide text.
1338         /// </summary>
1339         HideNone,
1340         /// <summary>
1341         /// Hide all the input text.
1342         /// </summary>
1343         HideAll,
1344         /// <summary>
1345         /// Hide n characters from start.
1346         /// </summary>
1347         HideCount,
1348         /// <summary>
1349         /// Show n characters from start.
1350         /// </summary>
1351         ShowCount,
1352         /// <summary>
1353         /// Show last character for the duration (use ShowDuration property to modify duration).
1354         /// </summary>
1355         ShowLastCharacter
1356     }
1357
1358     /// <summary>
1359     /// ParentOrigin constants.
1360     /// </summary>
1361     /// <since_tizen> 3 </since_tizen>
1362     public struct ParentOrigin
1363     {
1364         /// <summary>
1365         /// Top
1366         /// </summary>
1367         /// <since_tizen> 3 </since_tizen>
1368         public static float Top
1369         {
1370             get
1371             {
1372                 float ret = NDalicPINVOKE.ParentOriginTop_get();
1373                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1374                 return ret;
1375             }
1376         }
1377
1378         /// <summary>
1379         /// Bottom
1380         /// </summary>
1381         /// <since_tizen> 3 </since_tizen>
1382         public static float Bottom
1383         {
1384             get
1385             {
1386                 float ret = NDalicPINVOKE.ParentOriginBottom_get();
1387                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1388                 return ret;
1389             }
1390         }
1391
1392         /// <summary>
1393         /// Left
1394         /// </summary>
1395         /// <since_tizen> 3 </since_tizen>
1396         public static float Left
1397         {
1398             get
1399             {
1400                 float ret = NDalicPINVOKE.ParentOriginLeft_get();
1401                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1402                 return ret;
1403             }
1404         }
1405
1406         /// <summary>
1407         /// Right
1408         /// </summary>
1409         /// <since_tizen> 3 </since_tizen>
1410         public static float Right
1411         {
1412             get
1413             {
1414                 float ret = NDalicPINVOKE.ParentOriginRight_get();
1415                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1416                 return ret;
1417             }
1418         }
1419
1420         /// <summary>
1421         /// Middle
1422         /// </summary>
1423         /// <since_tizen> 3 </since_tizen>
1424         public static float Middle
1425         {
1426             get
1427             {
1428                 float ret = NDalicPINVOKE.ParentOriginMiddle_get();
1429                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1430                 return ret;
1431             }
1432         }
1433
1434         /// <summary>
1435         /// TopLeft
1436         /// </summary>
1437         /// <since_tizen> 3 </since_tizen>
1438         public static Position TopLeft
1439         {
1440             get
1441             {
1442                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopLeft_get();
1443                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1444                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1445                 return ret;
1446             }
1447         }
1448
1449         /// <summary>
1450         /// TopCenter
1451         /// </summary>
1452         /// <since_tizen> 3 </since_tizen>
1453         public static Position TopCenter
1454         {
1455             get
1456             {
1457                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopCenter_get();
1458                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1459                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1460                 return ret;
1461             }
1462         }
1463
1464         /// <summary>
1465         /// TopRight
1466         /// </summary>
1467         /// <since_tizen> 3 </since_tizen>
1468         public static Position TopRight
1469         {
1470             get
1471             {
1472                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopRight_get();
1473                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1474                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1475                 return ret;
1476             }
1477         }
1478
1479         /// <summary>
1480         /// CenterLeft
1481         /// </summary>
1482         /// <since_tizen> 3 </since_tizen>
1483         public static Position CenterLeft
1484         {
1485             get
1486             {
1487                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenterLeft_get();
1488                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1489                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1490                 return ret;
1491             }
1492         }
1493
1494         /// <summary>
1495         /// Center
1496         /// </summary>
1497         /// <since_tizen> 3 </since_tizen>
1498         public static Position Center
1499         {
1500             get
1501             {
1502                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenter_get();
1503                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1504                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1505                 return ret;
1506             }
1507         }
1508
1509         /// <summary>
1510         /// CenterRight
1511         /// </summary>
1512         /// <since_tizen> 3 </since_tizen>
1513         public static Position CenterRight
1514         {
1515             get
1516             {
1517                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenterRight_get();
1518                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1519                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1520                 return ret;
1521             }
1522         }
1523
1524         /// <summary>
1525         /// BottomLeft
1526         /// </summary>
1527         /// <since_tizen> 3 </since_tizen>
1528         public static Position BottomLeft
1529         {
1530             get
1531             {
1532                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomLeft_get();
1533                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1534                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1535                 return ret;
1536             }
1537         }
1538
1539         /// <summary>
1540         /// BottomCenter
1541         /// </summary>
1542         /// <since_tizen> 3 </since_tizen>
1543         public static Position BottomCenter
1544         {
1545             get
1546             {
1547                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomCenter_get();
1548                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1549                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1550                 return ret;
1551             }
1552         }
1553
1554         /// <summary>
1555         /// BottomRight
1556         /// </summary>
1557         /// <since_tizen> 3 </since_tizen>
1558         public static Position BottomRight
1559         {
1560             get
1561             {
1562                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomRight_get();
1563                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1564                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1565                 return ret;
1566             }
1567         }
1568     }
1569
1570     /// <summary>
1571     /// PivotPoint constants.
1572     /// </summary>
1573     /// <since_tizen> 3 </since_tizen>
1574     public struct PivotPoint
1575     {
1576         /// <summary>
1577         /// Top
1578         /// </summary>
1579         /// <since_tizen> 3 </since_tizen>
1580         public static float Top
1581         {
1582             get
1583             {
1584                 float ret = NDalicPINVOKE.AnchorPointTop_get();
1585                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1586                 return ret;
1587             }
1588         }
1589         /// <summary>
1590         /// Bottom
1591         /// </summary>
1592         /// <since_tizen> 3 </since_tizen>
1593         public static float Bottom
1594         {
1595             get
1596             {
1597                 float ret = NDalicPINVOKE.AnchorPointBottom_get();
1598                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1599                 return ret;
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.AnchorPointLeft_get();
1611                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1612                 return ret;
1613             }
1614         }
1615         /// <summary>
1616         /// Right
1617         /// </summary>
1618         /// <since_tizen> 3 </since_tizen>
1619         public static float Right
1620         {
1621             get
1622             {
1623                 float ret = NDalicPINVOKE.AnchorPointRight_get();
1624                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1625                 return ret;
1626             }
1627         }
1628         /// <summary>
1629         /// Middle
1630         /// </summary>
1631         /// <since_tizen> 3 </since_tizen>
1632         public static float Middle
1633         {
1634             get
1635             {
1636                 float ret = NDalicPINVOKE.AnchorPointMiddle_get();
1637                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1638                 return ret;
1639             }
1640         }
1641         /// <summary>
1642         /// TopLeft
1643         /// </summary>
1644         /// <since_tizen> 3 </since_tizen>
1645         public static Position TopLeft
1646         {
1647             get
1648             {
1649                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopLeft_get();
1650                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1651                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1652                 return ret;
1653             }
1654         }
1655         /// <summary>
1656         /// TopCenter
1657         /// </summary>
1658         /// <since_tizen> 3 </since_tizen>
1659         public static Position TopCenter
1660         {
1661             get
1662             {
1663                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopCenter_get();
1664                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1665                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1666                 return ret;
1667             }
1668         }
1669         /// <summary>
1670         /// TopRight
1671         /// </summary>
1672         /// <since_tizen> 3 </since_tizen>
1673         public static Position TopRight
1674         {
1675             get
1676             {
1677                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopRight_get();
1678                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1679                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1680                 return ret;
1681             }
1682         }
1683         /// <summary>
1684         /// CenterLeft
1685         /// </summary>
1686         /// <since_tizen> 3 </since_tizen>
1687         public static Position CenterLeft
1688         {
1689             get
1690             {
1691                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterLeft_get();
1692                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1693                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1694                 return ret;
1695             }
1696         }
1697         /// <summary>
1698         /// Center
1699         /// </summary>
1700         /// <since_tizen> 3 </since_tizen>
1701         public static Position Center
1702         {
1703             get
1704             {
1705                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenter_get();
1706                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1707                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1708                 return ret;
1709             }
1710         }
1711         /// <summary>
1712         /// CenterRight
1713         /// </summary>
1714         /// <since_tizen> 3 </since_tizen>
1715         public static Position CenterRight
1716         {
1717             get
1718             {
1719                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterRight_get();
1720                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1721                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1722                 return ret;
1723             }
1724         }
1725         /// <summary>
1726         /// BottomLeft
1727         /// </summary>
1728         /// <since_tizen> 3 </since_tizen>
1729         public static Position BottomLeft
1730         {
1731             get
1732             {
1733                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomLeft_get();
1734                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1735                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1736                 return ret;
1737             }
1738         }
1739         /// <summary>
1740         /// BottomCenter
1741         /// </summary>
1742         /// <since_tizen> 3 </since_tizen>
1743         public static Position BottomCenter
1744         {
1745             get
1746             {
1747                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomCenter_get();
1748                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1749                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1750                 return ret;
1751             }
1752         }
1753         /// <summary>
1754         /// BottomRight
1755         /// </summary>
1756         /// <since_tizen> 3 </since_tizen>
1757         public static Position BottomRight
1758         {
1759             get
1760             {
1761                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomRight_get();
1762                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1763                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1764                 return ret;
1765             }
1766         }
1767     }
1768     /// <summary>
1769     /// PositionAxis constants.
1770     /// </summary>
1771     /// <since_tizen> 3 </since_tizen>
1772     public struct PositionAxis
1773     {
1774         /// <summary>
1775         /// The X axis
1776         /// </summary>
1777         /// <since_tizen> 3 </since_tizen>
1778         public static Position X
1779         {
1780             get
1781             {
1782                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_XAXIS_get();
1783                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1784                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1785                 return ret;
1786             }
1787         }
1788         /// <summary>
1789         /// The Y axis
1790         /// </summary>
1791         /// <since_tizen> 3 </since_tizen>
1792         public static Position Y
1793         {
1794             get
1795             {
1796                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_YAXIS_get();
1797                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1798                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1799                 return ret;
1800             }
1801         }
1802         /// <summary>
1803         /// The Z axis
1804         /// </summary>
1805         /// <since_tizen> 3 </since_tizen>
1806         public static Position Z
1807         {
1808             get
1809             {
1810                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_ZAXIS_get();
1811                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1812                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1813                 return ret;
1814             }
1815         }
1816         /// <summary>
1817         /// The Negative X axis
1818         /// </summary>
1819         /// <since_tizen> 3 </since_tizen>
1820         public static Position NegativeX
1821         {
1822             get
1823             {
1824                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_XAXIS_get();
1825                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1826                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1827                 return ret;
1828             }
1829         }
1830         /// <summary>
1831         /// The Negative Y axis
1832         /// </summary>
1833         /// <since_tizen> 3 </since_tizen>
1834         public static Position NegativeY
1835         {
1836             get
1837             {
1838                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_YAXIS_get();
1839                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1840                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1841                 return ret;
1842             }
1843         }
1844         /// <summary>
1845         /// The Negative Z axis
1846         /// </summary>
1847         /// <since_tizen> 3 </since_tizen>
1848         public static Position NegativeZ
1849         {
1850             get
1851             {
1852                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_ZAXIS_get();
1853                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1854                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1855                 return ret;
1856             }
1857         }
1858     }
1859
1860     /// <summary>
1861     /// Auto scrolling stop behavior.
1862     /// </summary>
1863     /// <since_tizen> 3 </since_tizen>
1864     public enum AutoScrollStopMode
1865     {
1866         /// <summary>
1867         /// Stop animation after current loop finished.
1868         /// </summary>
1869         FinishLoop,
1870         /// <summary>
1871         /// Stop animation immediately and reset position.
1872         /// </summary>
1873         Immediate
1874     }
1875
1876     /// <summary>
1877     /// An enum of screen mode.
1878     /// </summary>
1879     /// <since_tizen> 3 </since_tizen>
1880     public enum ScreenMode {
1881         /// <summary>
1882         /// The mode which turns the screen off after a timeout.
1883         /// </summary>
1884         Default,
1885         /// <summary>
1886         /// The mode which keeps the screen turned on.
1887         /// </summary>
1888         AlwaysOn
1889     }
1890
1891     /// <summary>
1892     /// An enum of notification window's priority level.
1893     /// </summary>
1894     /// <since_tizen> 3 </since_tizen>
1895     public enum NotificationLevel {
1896         /// <summary>
1897         /// No notification level.<br />
1898         /// Default level.<br />
1899         /// This value makes the notification window place in the layer of the normal window.
1900         /// </summary>
1901         None = -1,
1902         /// <summary>
1903         /// The base nofitication level.
1904         /// </summary>
1905         Base = 10,
1906         /// <summary>
1907         /// The medium notification level than base.
1908         /// </summary>
1909         Medium = 20,
1910         /// <summary>
1911         /// The higher notification level than medium.
1912         /// </summary>
1913         High = 30,
1914         /// <summary>
1915         /// The highest notification level.
1916         /// </summary>
1917         Top = 40
1918     }
1919
1920     /// <summary>
1921     /// An enum of window types.
1922     /// </summary>
1923     /// <since_tizen> 3 </since_tizen>
1924     public enum WindowType {
1925         /// <summary>
1926         /// A default window type.<br />
1927         /// Indicates a normal or top-level window.
1928         /// Almost every window will be created with this type.
1929         /// </summary>
1930         Normal,
1931         /// <summary>
1932         /// A notification window, like a warning about battery life or a new email received.
1933         /// </summary>
1934         Notification,
1935         /// <summary>
1936         /// A persistent utility window, like a toolbox or a palette.
1937         /// </summary>
1938         Utility,
1939         /// <summary>
1940         /// Used for simple dialog windows.
1941         /// </summary>
1942         Dialog
1943     }
1944
1945     /// <since_tizen> 3 </since_tizen>
1946     public enum DisposeTypes
1947     {
1948         /// <summary>
1949         /// Called By User
1950         /// </summary>
1951         /// <since_tizen> 3 </since_tizen>
1952         Explicit,
1953         /// <summary>
1954         /// Called by DisposeQueue
1955         /// </summary>
1956         /// <since_tizen> 3 </since_tizen>
1957         Implicit,
1958     }
1959
1960
1961
1962     /// <summary>
1963     /// [Obsolete("Please do not use! this will be deprecated")]
1964     /// </summary>
1965     /// <since_tizen> 3 </since_tizen>
1966     [Obsolete("Please do not use! this will be deprecated")]
1967     public struct AnchorPoint
1968     {
1969         /// <summary>
1970         /// Top
1971         /// </summary>
1972         /// <since_tizen> 3 </since_tizen>
1973         public static float Top
1974         {
1975             get
1976             {
1977                 float ret = NDalicPINVOKE.AnchorPointTop_get();
1978                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1979                 return ret;
1980             }
1981         }
1982         /// <summary>
1983         /// Bottom
1984         /// </summary>
1985         /// <since_tizen> 3 </since_tizen>
1986         public static float Bottom
1987         {
1988             get
1989             {
1990                 float ret = NDalicPINVOKE.AnchorPointBottom_get();
1991                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1992                 return ret;
1993             }
1994         }
1995         /// <summary>
1996         /// Left
1997         /// </summary>
1998         /// <since_tizen> 3 </since_tizen>
1999         public static float Left
2000         {
2001             get
2002             {
2003                 float ret = NDalicPINVOKE.AnchorPointLeft_get();
2004                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2005                 return ret;
2006             }
2007         }
2008         /// <summary>
2009         /// Right
2010         /// </summary>
2011         /// <since_tizen> 3 </since_tizen>
2012         public static float Right
2013         {
2014             get
2015             {
2016                 float ret = NDalicPINVOKE.AnchorPointRight_get();
2017                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2018                 return ret;
2019             }
2020         }
2021         /// <summary>
2022         /// Middle
2023         /// </summary>
2024         /// <since_tizen> 3 </since_tizen>
2025         public static float Middle
2026         {
2027             get
2028             {
2029                 float ret = NDalicPINVOKE.AnchorPointMiddle_get();
2030                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2031                 return ret;
2032             }
2033         }
2034         /// <summary>
2035         /// TopLeft
2036         /// </summary>
2037         /// <since_tizen> 3 </since_tizen>
2038         public static Position TopLeft
2039         {
2040             get
2041             {
2042                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopLeft_get();
2043                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2044                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2045                 return ret;
2046             }
2047         }
2048         /// <summary>
2049         /// TopCenter
2050         /// </summary>
2051         /// <since_tizen> 3 </since_tizen>
2052         public static Position TopCenter
2053         {
2054             get
2055             {
2056                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopCenter_get();
2057                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2058                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2059                 return ret;
2060             }
2061         }
2062         /// <summary>
2063         /// TopRight
2064         /// </summary>
2065         /// <since_tizen> 3 </since_tizen>
2066         public static Position TopRight
2067         {
2068             get
2069             {
2070                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopRight_get();
2071                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2072                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2073                 return ret;
2074             }
2075         }
2076         /// <summary>
2077         /// CenterLeft
2078         /// </summary>
2079         /// <since_tizen> 3 </since_tizen>
2080         public static Position CenterLeft
2081         {
2082             get
2083             {
2084                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterLeft_get();
2085                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2086                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2087                 return ret;
2088             }
2089         }
2090         /// <summary>
2091         /// Center
2092         /// </summary>
2093         /// <since_tizen> 3 </since_tizen>
2094         public static Position Center
2095         {
2096             get
2097             {
2098                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenter_get();
2099                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2100                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2101                 return ret;
2102             }
2103         }
2104         /// <summary>
2105         /// CenterRight
2106         /// </summary>
2107         /// <since_tizen> 3 </since_tizen>
2108         public static Position CenterRight
2109         {
2110             get
2111             {
2112                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterRight_get();
2113                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2114                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2115                 return ret;
2116             }
2117         }
2118         /// <summary>
2119         /// BottomLeft
2120         /// </summary>
2121         /// <since_tizen> 3 </since_tizen>
2122         public static Position BottomLeft
2123         {
2124             get
2125             {
2126                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomLeft_get();
2127                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2128                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2129                 return ret;
2130             }
2131         }
2132         /// <summary>
2133         /// BottomCenter
2134         /// </summary>
2135         /// <since_tizen> 3 </since_tizen>
2136         public static Position BottomCenter
2137         {
2138             get
2139             {
2140                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomCenter_get();
2141                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2142                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2143                 return ret;
2144             }
2145         }
2146         /// <summary>
2147         /// BottomRight
2148         /// </summary>
2149         /// <since_tizen> 3 </since_tizen>
2150         public static Position BottomRight
2151         {
2152             get
2153             {
2154                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomRight_get();
2155                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2156                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2157                 return ret;
2158             }
2159         }
2160     }
2161
2162     /// <summary>
2163     /// An enum of the scroll state of the text eidtor.
2164     /// </summary>
2165     /// <since_tizen> 3 </since_tizen>
2166     public enum ScrollState
2167     {
2168         /// <summary>
2169         /// Scrolling is started.
2170         /// </summary>
2171         Started,
2172
2173         /// <summary>
2174         /// Scrolling is finished.
2175         /// </summary>
2176         Finished
2177     }
2178
2179      /// <summary>
2180     /// An enum of the line wrap mode of text controls.
2181     /// </summary>
2182     /// <since_tizen> 4 </since_tizen>
2183     public enum LineWrapMode
2184     {
2185         /// <summary>
2186         /// The word mode will move a word to the next line.
2187         /// </summary>
2188         Word,
2189
2190         /// <summary>
2191         /// character will move character by character to the next line.
2192         /// </summary>
2193         Character
2194     }
2195
2196 }