1 // Copyright (c) 2017 Samsung Electronics Co., Ltd.
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
7 // http://www.apache.org/licenses/LICENSE-2.0
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.
16 using System.ComponentModel;
21 /// This specifies all the scroll mode type.
23 /// <since_tizen> 3 </since_tizen>
24 public enum ScrollModeType
35 /// This specifies whether the actor uses its own color or inherits.
37 /// <since_tizen> 3 </since_tizen>
41 /// Actor will use its own color.
45 /// Actor will use its parent color.
49 /// Actor will blend its color with its parents color.
51 UseOwnMultiplyParentColor,
53 /// 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.
55 UseOwnMultiplyParentAlpha
59 /// This specifies the dimension of the width or the height for size negotiation.
61 /// <since_tizen> 3 </since_tizen>
62 public enum DimensionType
73 /// Mask to cover all flags.
79 /// Enumeration for the instance of how the actor and it's children will be drawn.
81 /// <since_tizen> 3 </since_tizen>
82 public enum DrawModeType
85 /// The default draw-mode.
89 /// Draw the actor and its children as an overlay.
93 /// Will be replaced by separate ClippingMode enum. Draw the actor and its children into the stencil buffer.
99 /// Enumeration for size negotiation resize policies.
101 /// <since_tizen> 3 </since_tizen>
102 public enum ResizePolicyType
105 /// Size is fixed as set by SetSize.
109 /// Size is to use the actor's natural size.
111 /// <see cref="ViewImpl.GetNaturalSize"/>
114 /// Size is to fill up to the actor's parent's bounds. Aspect ratio is not maintained.
118 /// The actors size will be ( ParentSize * SizeRelativeToParentFactor ).
120 SizeRelativeToParent,
122 /// The actors size will be ( ParentSize + SizeRelativeToParentFactor ).
124 SizeFixedOffsetFromParent,
126 /// The size will adjust to wrap around all children.
130 /// One dimension is dependent on the other.
134 /// The size will be assigned to the actor.
140 /// Enumeration for policies to determine how an actor should resize itself when having its size set in size negotiation.
142 /// <since_tizen> 3 </since_tizen>
143 public enum SizeScalePolicyType
146 /// Use the size that was set.
150 /// Fit within the size set maintaining natural size aspect ratio.
154 /// Fit within the size set maintaining natural size aspect ratio.
160 /// Enumeration for the ClippingMode describing how this actor's children will be clipped against it.
162 /// <since_tizen> 3 </since_tizen>
163 public enum ClippingModeType
166 /// This actor will not clip its children.
170 /// This actor will clip all children to within its boundaries (the actor will also be visible itself).
176 /// Enumeration for type determination of how the camera operates.
178 /// <since_tizen> 3 </since_tizen>
179 public enum CameraType
182 /// Camera orientation is taken from the CameraActor.
186 /// Camera is oriented to always look at a target.
192 /// Enumeration for the projection modes.
194 /// <since_tizen> 3 </since_tizen>
195 public enum ProjectionMode
198 /// Distance causes foreshortening; objects further from the camera appear smaller.
200 PerspectiveProjection,
202 /// Relative distance from the camera does not affect the size of objects.
204 OrthographicProjection
208 /// This specifies customView behavior types.
210 /// <since_tizen> 3 </since_tizen>
211 public enum CustomViewBehaviour
214 /// Use to provide default behavior (size negotiation is on, event callbacks are not called).
216 ViewBehaviourDefault = 0,
218 /// True if the control does not need size negotiation, i.e., it can be skipped in the algorithm.
220 DisableSizeNegotiation = 1 << 0,
222 /// Use to provide key navigation support.
224 RequiresKeyboardNavigationSupport = 1 << 5,
226 /// Use to make style change event disabled.
228 DisableStyleChangeSignals = 1 << 6,
229 [EditorBrowsable(EditorBrowsableState.Never)]
230 LastViewBehaviourFlag
233 /// <since_tizen> 3 </since_tizen>
234 public enum DeviceClassType
247 /// This specifies all the property types.<br>
248 /// Enumeration for the property types supported.
250 /// <since_tizen> 3 </since_tizen>
251 public enum PropertyType
270 /// A vector array of size=2 with float precision.
274 /// A vector array of size=3 with float precision.
278 /// A vector array of size=4 with float precision.
290 /// An integer array of size=4.
294 /// Either a quaternion or an axis angle rotation.
302 /// An array of PropertyValue.
306 /// A string key to PropertyValue mapping.
312 /// This specifies the property access mode types.<br>
313 /// Enumeration for the access mode for custom properties.
315 /// <since_tizen> 3 </since_tizen>
316 public enum PropertyAccessMode
319 /// If the property is read-only.
323 /// If the property is read or writeable.
327 /// If the property can be animated or constrained.
331 /// The number of access modes.
337 /// Types of style change. Enumeration for the StyleChange type.
339 /// <since_tizen> 3 </since_tizen>
340 public enum StyleChangeType
343 /// Denotes that the default font has changed.
347 /// Denotes that the default font size has changed.
349 DefaultFontSizeChange,
351 /// Denotes that the theme has changed.
357 /// Enumeration for horizontal alignment types.
359 /// <since_tizen> 3 </since_tizen>
360 public enum HorizontalAlignmentType
363 /// Align horizontally left.
367 /// Align horizontally center.
371 /// Align horizontally right.
377 /// Enumeration for vertical alignment types.
379 /// <since_tizen> 3 </since_tizen>
380 public enum VerticalAlignmentType
383 /// Align vertically top.
387 /// Align vertically center.
391 /// Align vertically bottom.
397 /// Enumeration for point state type.
399 /// <since_tizen> 3 </since_tizen>
400 public enum PointStateType
403 /// Touch or hover started.
407 /// Touch or hover finished.
419 /// Finger dragged or hovered.
423 /// Leave the boundary of an actor.
427 /// No change from last event. <br>
428 /// 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.
432 /// A system event has occurred which has interrupted the touch or hover event sequence.
438 /// Enumeration for the text horizontal aligning.
440 /// <since_tizen> 3 </since_tizen>
441 public enum HorizontalAlignment
444 /// Texts place at the begin of horizontal direction.
448 /// Texts place at the center of horizontal direction.
452 /// Texts place at the end of horizontal direction.
458 /// Enumeration for the text horizontal aligning.
460 /// <since_tizen> 3 </since_tizen>
461 public enum VerticalAlignment
464 /// Texts place at the top of vertical direction.
468 /// Texts place at the center of vertical direction.
472 /// Texts place at the bottom of vertical direction.
478 /// This specifies wrap mode types.<br>
479 /// 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.
481 /// <since_tizen> 3 </since_tizen>
482 public enum WrapModeType
485 /// The default value.
503 /// The type of coordinate system for certain attributes of the points in a gradient.
505 /// <since_tizen> 3 </since_tizen>
506 public enum GradientVisualUnitsType
509 /// 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).
513 /// 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).
519 /// This specifies SpreadMethod types.<br>
520 /// SpreadMethod defines what happens if the gradient starts or ends inside the bounds of the target rectangle.<br>
522 /// <since_tizen> 3 </since_tizen>
523 public enum GradientVisualSpreadMethodType
526 /// Uses the terminal colors of the gradient to fill the remainder of the quad.
530 /// Reflects the gradient pattern start-to-end, end-to-start, start-to-end, etc. until the quad is filled.
534 /// Repeats the gradient pattern start-to-end, start-to-end, start-to-end, etc. until the quad is filled.
540 /// The shading mode used by the mesh visual.
542 /// <since_tizen> 3 </since_tizen>
543 public enum MeshVisualShadingModeValue
546 /// *Simplest*. One color that is lit by ambient and diffuse lighting.
548 TexturelessWithDiffuseLighting,
550 /// Uses only the visual image textures provided with specular lighting in addition to ambient and diffuse lighting.
552 TexturedWithSpecularLighting,
554 /// Uses all textures provided including gloss, normal, and texture map along with specular, ambient, and diffuse lighting.
556 TexturedWithDetailedSpecularLighting
560 /// The primitive shape to render as a primitive visual.
562 /// <since_tizen> 3 </since_tizen>
563 public enum PrimitiveVisualShapeType
566 /// A perfectly round geometrical object in the three-dimensional space.
570 /// The area bound between two circles, i.e., a cone with the tip removed.
574 /// Equivalent to a conical frustrum with the top radius of zero.
575 /// </summary>Equivalent to a conical frustrum with the top radius of zero.
578 /// Equivalent to a conical frustrum with the top radius of zero.
582 /// Equivalent to a conical frustrum with equal radii for the top and bottom circles.
586 /// Equivalent to a bevelled cube with a bevel percentage of zero.
590 /// Equivalent to a bevelled cube with a bevel percentage of one.
596 /// This specifies fitting mode types. Fitting options, used when resizing images to fit desired dimensions.<br>
597 /// A fitting mode controls the region of a loaded image to be mapped to the desired image rectangle.<br>
598 /// All fitting modes preserve the aspect ratio of the image contents.<br>
600 /// <since_tizen> 3 </since_tizen>
601 public enum FittingModeType
604 /// Full-screen image display: Limit loaded image resolution to device resolution using the ShrinkToFit mode.
608 /// Thumbnail gallery grid: Limit loaded image resolution to screen tile using the ScaleToFill mode.
612 /// Image columns: Limit loaded image resolution to column width using the FitWidth mode.
616 /// Image rows: Limit loaded image resolution to row height using the FitHeight mode.
622 /// This specifies sampling mode types. Filtering options are used when resizing images to sample original pixels.<br>
623 /// A SamplingMode controls how pixels in an input image are sampled and combined to generate each pixel of a destination image during scaling.<br>
624 /// 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>
625 /// but all other filter modes do if the desired dimensions are `<=` the raw dimensions of the input image file.<br>
627 /// <since_tizen> 3 </since_tizen>
628 public enum SamplingModeType
631 /// Iteratively box filter to generate an image of 1/2, 1/4, 1/8, etc. width and height and approximately the desired size. <br>
632 /// This is the default.
636 /// For each output pixel, read one input pixel.
640 /// For each output pixel, read a quad of four input pixels and write a weighted average of them.
644 /// Iteratively box filter to generate an image of 1/2, 1/4, 1/8, etc. width and height and approximately the desired size, <br>
645 /// then for each output pixel, read one pixel from the last level of box filtering.<br>
649 /// 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.
653 /// 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.
657 /// For caching algorithms where a client strongly prefers a cache-hit to reuse a cached image.
663 /// This specifies policy types that could be used by the transform for the offset or size.
665 /// <since_tizen> 3 </since_tizen>
666 public enum VisualTransformPolicyType
669 /// Relative to the control (percentage [0.0f to 1.0f] of the control).
673 /// Absolute value in world units.
679 /// This specifies all the transform property types.
681 /// <since_tizen> 3 </since_tizen>
682 public enum VisualTransformPropertyType
685 /// Offset of the visual, which can be either relative (percentage [0.0f to 1.0f] of the parent) or absolute (in world units).
689 /// Size of the visual, which can be either relative (percentage [0.0f to 1.0f] of the parent) or absolute (in world units).
693 /// The origin of the visual within its control area.
697 /// The anchor-point of the visual.
701 /// Whether the x or y offset values are relative (percentage [0.0f to 1.0f] of the control) or absolute (in world units).
705 /// Whether the width or the height size values are relative (percentage [0.0f to 1.0f] of the control) or absolute (in world units).
711 /// This specifies visual types.
713 /// <since_tizen> 3 </since_tizen>
717 /// The index for the visual type.
719 /// <since_tizen> 3 </since_tizen>
723 /// Renders a solid color as an internal border to the control's quad.
727 /// Renders a solid color to the control's quad.
731 /// Renders a smooth transition of colors to the control's quad.
735 /// Renders an image into the control's quad.
739 /// Renders a mesh using an "obj" file, optionally with textures provided by an "mtl" file.
743 /// Renders a simple 3D shape, such as a cube or a sphere.
747 /// Renders a simple wire-frame outlining a quad.
755 /// Renders an n-patch image.
759 /// Renders an SVG image.
763 /// Renders a animated image (animated GIF).
769 /// This specifies visual properties.
771 /// <since_tizen> 3 </since_tizen>
772 public struct Property
774 public static readonly int Type = NDalic.VISUAL_PROPERTY_TYPE;
775 public static readonly int Shader = NDalic.VISUAL_PROPERTY_SHADER;
776 public static readonly int Transform = NDalic.VISUAL_PROPERTY_TRANSFORM;
777 public static readonly int PremultipliedAlpha = NDalic.VISUAL_PROPERTY_PREMULTIPLIED_ALPHA;
778 public static readonly int MixColor = NDalic.VISUAL_PROPERTY_MIX_COLOR;
779 public static readonly int Opacity = NDalic.VISUAL_PROPERTY_MIX_COLOR + 1;
783 /// This specifies shader properties.
785 /// <since_tizen> 3 </since_tizen>
786 public struct ShaderProperty
788 public static readonly int VertexShader = NDalic.VISUAL_SHADER_VERTEX;
789 public static readonly int FragmentShader = NDalic.VISUAL_SHADER_FRAGMENT;
790 public static readonly int ShaderSubdivideGridX = NDalic.VISUAL_SHADER_SUBDIVIDE_GRID_X;
791 public static readonly int ShaderSubdivideGridY = NDalic.VISUAL_SHADER_SUBDIVIDE_GRID_Y;
792 public static readonly int ShaderHints = NDalic.VISUAL_SHADER_HINTS;
796 /// This specifies visaul align types.
798 /// <since_tizen> 3 </since_tizen>
799 public enum AlignType
814 /// This specifies properties of the BorderVisual.
816 /// <since_tizen> 3 </since_tizen>
817 public struct BorderVisualProperty
819 public static readonly int Color = NDalic.BORDER_VISUAL_COLOR;
820 public static readonly int Size = NDalic.BORDER_VISUAL_SIZE;
821 public static readonly int AntiAliasing = NDalic.BORDER_VISUAL_ANTI_ALIASING;
825 /// This specifies properties of the ColorVisual.
827 /// <since_tizen> 3 </since_tizen>
828 public struct ColorVisualProperty
830 public static readonly int MixColor = NDalic.COLOR_VISUAL_MIX_COLOR;
834 /// This specifies properties of the GradientVisual.
836 /// <since_tizen> 3 </since_tizen>
837 public struct GradientVisualProperty
839 public static readonly int StartPosition = NDalic.GRADIENT_VISUAL_START_POSITION;
840 public static readonly int EndPosition = NDalic.GRADIENT_VISUAL_END_POSITION;
841 public static readonly int Center = NDalic.GRADIENT_VISUAL_CENTER;
842 public static readonly int Radius = NDalic.GRADIENT_VISUAL_RADIUS;
843 public static readonly int StopOffset = NDalic.GRADIENT_VISUAL_STOP_OFFSET;
844 public static readonly int StopColor = NDalic.GRADIENT_VISUAL_STOP_COLOR;
845 public static readonly int Units = NDalic.GRADIENT_VISUAL_UNITS;
846 public static readonly int SpreadMethod = NDalic.GRADIENT_VISUAL_SPREAD_METHOD;
850 /// This specifies properties of the ImageVisual.
852 /// <since_tizen> 3 </since_tizen>
853 public struct ImageVisualProperty
855 public static readonly int URL = NDalic.IMAGE_VISUAL_URL;
856 public static readonly int AlphaMaskURL = NDalic.IMAGE_VISUAL_ALPHA_MASK_URL;
857 public static readonly int FittingMode = NDalic.IMAGE_VISUAL_FITTING_MODE;
858 public static readonly int SamplingMode = NDalic.IMAGE_VISUAL_SAMPLING_MODE;
859 public static readonly int DesiredWidth = NDalic.IMAGE_VISUAL_DESIRED_WIDTH;
860 public static readonly int DesiredHeight = NDalic.IMAGE_VISUAL_DESIRED_HEIGHT;
861 public static readonly int SynchronousLoading = NDalic.IMAGE_VISUAL_SYNCHRONOUS_LOADING;
862 public static readonly int BorderOnly = NDalic.IMAGE_VISUAL_BORDER_ONLY;
863 public static readonly int PixelArea = NDalic.IMAGE_VISUAL_PIXEL_AREA;
864 public static readonly int WrapModeU = NDalic.IMAGE_VISUAL_WRAP_MODE_U;
865 public static readonly int WrapModeV = NDalic.IMAGE_VISUAL_WRAP_MODE_V;
866 public static readonly int Border = NDalic.IMAGE_VISUAL_BORDER;
867 public static readonly int MaskContentScale = NDalic.IMAGE_VISUAL_MASK_CONTENT_SCALE;
868 public static readonly int CropToMask = NDalic.IMAGE_VISUAL_CROP_TO_MASK;
869 public static readonly int BatchSize = NDalic.IMAGE_VISUAL_BATCH_SIZE;
870 public static readonly int CacheSize = NDalic.IMAGE_VISUAL_CACHE_SIZE;
871 public static readonly int FrameDelay = NDalic.IMAGE_VISUAL_FRAME_DELAY;
876 /// This specifies properties of the MeshVisual.
878 /// <since_tizen> 3 </since_tizen>
879 public struct MeshVisualProperty
881 public static readonly int ObjectURL = NDalic.MESH_VISUAL_OBJECT_URL;
882 public static readonly int MaterialtURL = NDalic.MESH_VISUAL_MATERIAL_URL;
883 public static readonly int TexturesPath = NDalic.MESH_VISUAL_TEXTURES_PATH;
884 public static readonly int ShadingMode = NDalic.MESH_VISUAL_SHADING_MODE;
885 public static readonly int UseMipmapping = NDalic.MESH_VISUAL_USE_MIPMAPPING;
886 public static readonly int UseSoftNormals = NDalic.MESH_VISUAL_USE_SOFT_NORMALS;
887 public static readonly int LightPosition = NDalic.MESH_VISUAL_LIGHT_POSITION;
891 /// This specifies properties of the PrimitiveVisual.
893 /// <since_tizen> 3 </since_tizen>
894 public struct PrimitiveVisualProperty
896 public static readonly int Shape = NDalic.PRIMITIVE_VISUAL_SHAPE;
897 public static readonly int MixColor = NDalic.PRIMITIVE_VISUAL_MIX_COLOR;
898 public static readonly int Slices = NDalic.PRIMITIVE_VISUAL_SLICES;
899 public static readonly int Stacks = NDalic.PRIMITIVE_VISUAL_STACKS;
900 public static readonly int ScaleTopRadius = NDalic.PRIMITIVE_VISUAL_SCALE_TOP_RADIUS;
901 public static readonly int ScaleBottomRadius = NDalic.PRIMITIVE_VISUAL_SCALE_BOTTOM_RADIUS;
902 public static readonly int ScaleHeight = NDalic.PRIMITIVE_VISUAL_SCALE_HEIGHT;
903 public static readonly int ScaleRadius = NDalic.PRIMITIVE_VISUAL_SCALE_RADIUS;
904 public static readonly int ScaleDimensions = NDalic.PRIMITIVE_VISUAL_SCALE_DIMENSIONS;
905 public static readonly int BevelPercentage = NDalic.PRIMITIVE_VISUAL_BEVEL_PERCENTAGE;
906 public static readonly int BevelSmoothness = NDalic.PRIMITIVE_VISUAL_BEVEL_SMOOTHNESS;
907 public static readonly int LightPosition = NDalic.PRIMITIVE_VISUAL_LIGHT_POSITION;
911 /// This specifies properties of the TextVisual.
913 /// <since_tizen> 3 </since_tizen>
914 public struct TextVisualProperty
916 public static readonly int Text = NDalic.TEXT_VISUAL_TEXT;
917 public static readonly int FontFamily = NDalic.TEXT_VISUAL_FONT_FAMILY;
918 public static readonly int FontStyle = NDalic.TEXT_VISUAL_FONT_STYLE;
919 public static readonly int PointSize = NDalic.TEXT_VISUAL_POINT_SIZE;
920 public static readonly int MultiLine = NDalic.TEXT_VISUAL_MULTI_LINE;
921 public static readonly int HorizontalAlignment = NDalic.TEXT_VISUAL_HORIZONTAL_ALIGNMENT;
922 public static readonly int VerticalAlignment = NDalic.TEXT_VISUAL_VERTICAL_ALIGNMENT;
923 public static readonly int TextColor = NDalic.TEXT_VISUAL_TEXT_COLOR;
924 public static readonly int EnableMarkup = NDalic.TEXT_VISUAL_ENABLE_MARKUP;
928 /// This specifies properties of the NpatchImageVisual.
930 /// <since_tizen> 3 </since_tizen>
931 public struct NpatchImageVisualProperty
933 public static readonly int URL = NDalic.IMAGE_VISUAL_URL;
934 public static readonly int FittingMode = NDalic.IMAGE_VISUAL_FITTING_MODE;
935 public static readonly int SamplingMode = NDalic.IMAGE_VISUAL_SAMPLING_MODE;
936 public static readonly int DesiredWidth = NDalic.IMAGE_VISUAL_DESIRED_WIDTH;
937 public static readonly int DesiredHeight = NDalic.IMAGE_VISUAL_DESIRED_HEIGHT;
938 public static readonly int SynchronousLoading = NDalic.IMAGE_VISUAL_SYNCHRONOUS_LOADING;
939 public static readonly int BorderOnly = NDalic.IMAGE_VISUAL_BORDER_ONLY;
940 public static readonly int PixelArea = NDalic.IMAGE_VISUAL_PIXEL_AREA;
941 public static readonly int WrapModeU = NDalic.IMAGE_VISUAL_WRAP_MODE_U;
942 public static readonly int WrapModeV = NDalic.IMAGE_VISUAL_WRAP_MODE_V;
943 public static readonly int Border = NDalic.IMAGE_VISUAL_WRAP_MODE_V + 1;
947 /// The HiddenInput property.
949 /// <since_tizen> 3 </since_tizen>
950 public struct HiddenInputProperty
952 public static readonly int Mode = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_MODE_get();
953 public static readonly int SubstituteCharacter = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_SUBSTITUTE_CHARACTER_get();
954 public static readonly int SubstituteCount = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_SUBSTITUTE_COUNT_get();
955 public static readonly int ShowDuration = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_SHOW_DURATION_get();
959 /// The type for HiddenInput mode.
961 /// <since_tizen> 3 </since_tizen>
962 public enum HiddenInputModeType
969 /// Hide all the input text.
973 /// Hide n characters from start.
977 /// Show n characters from start.
981 /// Show last character for the duration (use ShowDuration property to modify duration).
987 /// ParentOrigin constants.
989 /// <since_tizen> 3 </since_tizen>
990 public struct ParentOrigin
992 public static float Top
996 float ret = NDalicPINVOKE.ParentOriginTop_get();
997 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1001 public static float Bottom
1005 float ret = NDalicPINVOKE.ParentOriginBottom_get();
1006 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1010 public static float Left
1014 float ret = NDalicPINVOKE.ParentOriginLeft_get();
1015 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1019 public static float Right
1023 float ret = NDalicPINVOKE.ParentOriginRight_get();
1024 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1028 public static float Middle
1032 float ret = NDalicPINVOKE.ParentOriginMiddle_get();
1033 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1037 public static Position TopLeft
1041 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopLeft_get();
1042 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1043 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1047 public static Position TopCenter
1051 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopCenter_get();
1052 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1053 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1057 public static Position TopRight
1061 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopRight_get();
1062 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1063 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1067 public static Position CenterLeft
1071 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenterLeft_get();
1072 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1073 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1077 public static Position Center
1081 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenter_get();
1082 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1083 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1087 public static Position CenterRight
1091 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenterRight_get();
1092 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1093 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1097 public static Position BottomLeft
1101 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomLeft_get();
1102 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1103 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1107 public static Position BottomCenter
1111 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomCenter_get();
1112 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1113 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1117 public static Position BottomRight
1121 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomRight_get();
1122 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1123 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1130 /// PivotPoint constants.
1132 /// <since_tizen> 3 </since_tizen>
1133 public struct PivotPoint
1135 public static float Top
1139 float ret = NDalicPINVOKE.AnchorPointTop_get();
1140 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1144 public static float Bottom
1148 float ret = NDalicPINVOKE.AnchorPointBottom_get();
1149 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1153 public static float Left
1157 float ret = NDalicPINVOKE.AnchorPointLeft_get();
1158 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1162 public static float Right
1166 float ret = NDalicPINVOKE.AnchorPointRight_get();
1167 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1171 public static float Middle
1175 float ret = NDalicPINVOKE.AnchorPointMiddle_get();
1176 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1180 public static Position TopLeft
1184 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopLeft_get();
1185 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1186 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1190 public static Position TopCenter
1194 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopCenter_get();
1195 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1196 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1200 public static Position TopRight
1204 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopRight_get();
1205 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1206 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1210 public static Position CenterLeft
1214 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterLeft_get();
1215 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1216 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1220 public static Position Center
1224 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenter_get();
1225 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1226 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1230 public static Position CenterRight
1234 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterRight_get();
1235 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1236 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1240 public static Position BottomLeft
1244 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomLeft_get();
1245 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1246 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1250 public static Position BottomCenter
1254 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomCenter_get();
1255 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1256 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1260 public static Position BottomRight
1264 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomRight_get();
1265 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1266 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1272 /// PositionAxis constants.
1274 /// <since_tizen> 3 </since_tizen>
1275 public struct PositionAxis
1277 public static Position X
1281 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_XAXIS_get();
1282 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1283 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1287 public static Position Y
1291 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_YAXIS_get();
1292 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1293 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1297 public static Position Z
1301 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_ZAXIS_get();
1302 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1303 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1307 public static Position NegativeX
1311 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_XAXIS_get();
1312 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1313 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1317 public static Position NegativeY
1321 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_YAXIS_get();
1322 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1323 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1327 public static Position NegativeZ
1331 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_ZAXIS_get();
1332 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1333 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1340 /// Auto scrolling stop behavior.
1342 /// <since_tizen> 3 </since_tizen>
1343 public enum AutoScrollStopMode
1346 /// Stop animation after current loop finished.
1350 /// Stop animation immediately and reset position.
1356 /// An enum of screen mode.
1358 /// <since_tizen> 3 </since_tizen>
1359 public enum ScreenMode {
1361 /// The mode which turns the screen off after a timeout.
1365 /// The mode which keeps the screen turned on.
1371 /// An enum of notification window's priority level.
1373 /// <since_tizen> 3 </since_tizen>
1374 public enum NotificationLevel {
1376 /// No notification level.<br>
1377 /// Default level.<br>
1378 /// This value makes the notification window place in the layer of the normal window.
1382 /// The base nofitication level.
1386 /// The medium notification level than base.
1390 /// The higher notification level than medium.
1394 /// The highest notification level.
1400 /// An enum of window types.
1402 /// <since_tizen> 3 </since_tizen>
1403 public enum WindowType {
1405 /// A default window type.<br>
1406 /// Indicates a normal or top-level window.
1407 /// Almost every window will be created with this type.
1411 /// A notification window, like a warning about battery life or a new email received.
1415 /// A persistent utility window, like a toolbox or a palette.
1419 /// Used for simple dialog windows.
1424 /// <since_tizen> 3 </since_tizen>
1425 public enum DisposeTypes
1427 Explicit, //Called By User
1428 Implicit, //Called by DisposeQueue
1434 [Obsolete("Please do not use! this will be deprecated")]
1435 public struct AnchorPoint
1437 public static float Top
1441 float ret = NDalicPINVOKE.AnchorPointTop_get();
1442 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1446 public static float Bottom
1450 float ret = NDalicPINVOKE.AnchorPointBottom_get();
1451 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1455 public static float Left
1459 float ret = NDalicPINVOKE.AnchorPointLeft_get();
1460 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1464 public static float Right
1468 float ret = NDalicPINVOKE.AnchorPointRight_get();
1469 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1473 public static float Middle
1477 float ret = NDalicPINVOKE.AnchorPointMiddle_get();
1478 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1482 public static Position TopLeft
1486 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopLeft_get();
1487 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1488 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1492 public static Position TopCenter
1496 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopCenter_get();
1497 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1498 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1502 public static Position TopRight
1506 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopRight_get();
1507 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1508 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1512 public static Position CenterLeft
1516 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterLeft_get();
1517 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1518 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1522 public static Position Center
1526 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenter_get();
1527 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1528 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1532 public static Position CenterRight
1536 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterRight_get();
1537 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1538 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1542 public static Position BottomLeft
1546 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomLeft_get();
1547 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1548 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1552 public static Position BottomCenter
1556 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomCenter_get();
1557 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1558 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1562 public static Position BottomRight
1566 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomRight_get();
1567 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1568 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1575 /// An enum of the scroll state of the text eidtor.
1577 /// <since_tizen> 3 </since_tizen>
1578 public enum ScrollState
1581 /// Scrolling is started.
1586 /// Scrolling is finished.
1592 /// An enum of the line wrap mode of text controls.
1594 /// <since_tizen> 4 </since_tizen>
1595 public enum LineWrapMode
1598 /// The word mode will move a word to the next line.
1603 /// character will move character by character to the next line.