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.
14 using System.ComponentModel;
19 /// This specifies whether the Actor uses its own color, or inherits.
24 /// Actor will use its own color.
28 /// Actor will use its parent color.
32 /// Actor will blend its color with its parents color.
34 UseOwnMultiplyParentColor,
36 /// Actor will blend its alpha with its parents alpha. This means when parent fades in or out child does as well. This is the default.
38 UseOwnMultiplyParentAlpha
42 /// This specifies the dimesion of width or heigh for size negotiation.
44 public enum DimensionType
55 /// Mask to cover all flags
61 /// Enumeration for the instance of how the actor and it's children will be drawn.
63 public enum DrawModeType
66 /// The default draw-mode
70 /// Draw the actor and its children as an overlay
74 /// Will be replaced by separate ClippingMode enum. Draw the actor and its children into the stencil buffer
80 /// Enumeration for size negotiation resize policies.
82 public enum ResizePolicyType
85 /// Size is fixed as set by SetSize
89 /// Size is to use the actor's natural size
91 /// <see cref="View.GetNaturalSize"/>
94 /// Size is to fill up to the actor's parent's bounds. Aspect ratio is not maintained.
98 /// The actors size will be ( ParentSize * SizeRelativeToParentFactor ).
100 SizeRelativeToParent,
102 /// The actors size will be ( ParentSize + SizeRelativeToParentFactor ).
104 SizeFixedOffsetFromParent,
106 /// Size will adjust to wrap around all children
110 /// One dimension is dependent on the other
114 /// The size will be assigned to the actor
120 /// Enumeration for policies to determine how an actor should resize itself when having its size set in size negotiation.
122 public enum SizeScalePolicyType
125 /// Use the size that was set
129 /// Fit within the size set maintaining natural size aspect ratio
133 /// Fit within the size set maintaining natural size aspect ratio
139 /// Enumeration for ClippingMode describing how this Actor's children will be clipped against it.
141 public enum ClippingModeType
144 /// This Actor will not clip its children.
148 /// This Actor will clip all children to within its boundaries (the actor will also be visible itself).
154 /// Enumeration for type determination of how camera operates.
156 public enum CameraType
159 /// Camera orientation is taken from CameraActor.
163 /// Camera is oriented to always look at a target.
169 /// Enumeration for projection modes.
171 public enum ProjectionMode
174 /// Distance causes foreshortening; objects further from the camera appear smaller.
176 PerspectiveProjection,
178 /// Relative distance from the camera does not affect the size of objects.
180 OrthographicProjection
184 /// This specifies ccustomView behaviour types.
186 public enum CustomViewBehaviour
189 /// Use to provide default behaviour (size negotiation is on, event callbacks are not called)
191 ViewBehaviourDefault = 0,
193 /// True if control does not need size negotiation, i.e. it can be skipped in the algorithm
195 DisableSizeNegotiation = 1 << 0,
197 /// Use to provide key navigation support.
199 RequiresKeyboardNavigationSupport = 1 << 5,
201 /// Use to make style change event disabled.
203 DisableStyleChangeSignals = 1 << 6,
204 [EditorBrowsable(EditorBrowsableState.Never)]
205 LastViewBehaviourFlag
208 public enum DeviceClassType
221 /// This specifies all the property types. <br>
222 /// Enumeration for the property types supported.
224 public enum PropertyType
243 /// a vector array of size=2 with float precision
247 /// a vector array of size=3 with float precision
251 /// a vector array of size=4 with float precision
263 /// an integer array of size=4
267 /// either a quaternion or an axis angle rotation
275 /// an array of PropertyValue
279 /// a string key to PropertyValue mapping
285 /// This specifies the property access mode types. <br>
286 /// Enumeration for the access mode for custom properties.
288 public enum PropertyAccessMode
291 /// if the property is read-only
295 /// If the property is read/writeable
299 /// If the property can be animated or constrained
303 /// The number of access modes
309 /// Types of style change. Enumeration for StyleChange type.
311 public enum StyleChangeType
314 /// Denotes that the default font has changed.
318 /// Denotes that the default font size has changed.
320 DefaultFontSizeChange,
322 /// Denotes that the theme has changed.
328 /// Enumeration for horizontal alignment types.
330 public enum HorizontalAlignmentType
333 /// Align horizontally left
337 /// Align horizontally center
341 /// Align horizontally right
347 /// Enumeration for vertical alignment types.
349 public enum VerticalAlignmentType
352 /// Align vertically top
356 /// Align vertically center
360 /// Align vertically bottom
366 /// Enumeration for point state type.
368 public enum PointStateType
371 /// Touch or hover started
375 /// Touch or hover finished
387 /// Finger dragged or hovered
391 /// Leave the boundary of an actor
395 /// No change from last event. <br>
396 /// 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.
400 /// A system event has occurred which has interrupted the touch or hover event sequence.
406 /// Enumeration for the text horizontal aligning.
408 public enum HorizontalAlignment
411 /// Texts place at the begin of horizontal direction.
415 /// Texts place at the center of horizontal direction.
419 /// Texts place at the end of horizontal direction.
425 /// Enumeration for the text horizontal aligning.
427 public enum VerticalAlignment
430 /// Texts place at the top of vertical direction.
434 /// Texts place at the center of vertical direction.
438 /// Texts place at the bottom of vertical direction.
444 /// This specifies wrap mode types <br>
445 /// 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.
447 public enum WrapModeType
468 /// The type of coordinate system for certain attributes of the points in a gradient.
470 public enum GradientVisualUnitsType
473 /// Uses the normals for the start, end & center points, i.e. top-left is (-0.5, -0.5) and bottom-right is (0.5, 0.5).
477 /// Uses the user coordinates for the start, end & center points, i.e. in a 200 by 200 control, top-left is (0, 0) and bottom-right is (200, 200).
483 /// This specifies SpreadMethod types.<br>
484 /// SpreadMethod defines what happens if the gradient starts or ends inside the bounds of the target rectangle.<br>
486 public enum GradientVisualSpreadMethodType
489 /// Uses the terminal colors of the gradient to fill the remainder of the quad.
493 /// Reflect the gradient pattern start-to-end, end-to-start, start-to-end etc. until the quad is filled.
497 /// Repeat the gradient pattern start-to-end, start-to-end, start-to-end etc. until the quad is filled.
503 /// The shading mode used by MeshVisual.
505 public enum MeshVisualShadingModeValue
508 /// *Simplest*. One color that is lit by ambient and diffuse lighting.
510 TexturelessWithDiffuseLighting,
512 /// Uses only the visual image textures provided with specular lighting in addition to ambient and diffuse lighting.
514 TexturedWithSpecularLighting,
516 /// Uses all textures provided including a gloss, normal and texture map along with specular, ambient and diffuse lighting.
518 TexturedWithDetailedSpecularLighting
522 /// The primitive shape to render as a PrimitiveVisual.
524 public enum PrimitiveVisualShapeType
527 /// A perfectly round geometrical object in three-dimensional space.
531 /// The area bound between two circles, i.e. a cone with the tip removed.
535 /// Equivalent to a conical frustrum with top radius of zero.
536 /// </summary>Equivalent to a conical frustrum with top radius of zero.
539 /// Equivalent to a conical frustrum with top radius of zero.
543 /// Equivalent to a conical frustrum with equal radii for the top and bottom circles.
547 /// Equivalent to a bevelled cube with a bevel percentage of zero.
551 /// Equivalent to a bevelled cube with a bevel percentage of one.
557 /// This specifies fitting mode types. Fitting options, used when resizing images to fit desired dimensions.<br>
558 /// A fitting mode controls the region of a loaded image to be mapped to the desired image rectangle.<br>
559 /// All fitting modes preserve the aspect ratio of the image contents.<br>
561 public enum FittingModeType
564 /// Full-screen image display: Limit loaded image resolution to device resolution using ShrinkToFit mode.
568 /// Thumbnail gallery grid: Limit loaded image resolution to screen tile using ScaleToFill mode.
572 /// Image columns: Limit loaded image resolution to column width using FitWidth mode.
576 /// Image rows: Limit loaded image resolution to row height using FitHeight mode.
582 /// This specifies sampling mode types. Filtering options, used when resizing images to sample original pixels.<br>
583 /// A SamplingMode controls how pixels in an input image are sampled and combined to generate each pixel of a destination image during a scaling.<br>
584 /// NoFilter and Box modes do not guarantee that the output pixel array exactly matches the rectangle specified by the desired dimensions and FittingMode,<br>
585 /// but all other filter modes do if the desired dimensions are `<=` the raw dimensions of the input image file.<br>
587 public enum SamplingModeType
590 /// Iteratively box filter to generate an image of 1/2, 1/4, 1/8, etc width and height and approximately the desired size. <br>
591 /// This is the default.
595 /// For each output pixel, read one input pixel.
599 /// For each output pixel, read a quad of four input pixels and write a weighted average of them.
603 /// Iteratively box filter to generate an image of 1/2, 1/4, 1/8 etc width and height and approximately the desired size, <br>
604 /// then for each output pixel, read one pixel from the last level of box filtering.<br>
608 /// 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.
612 /// 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.
616 /// For caching algorithms where a client strongly prefers a cache-hit to reuse a cached image.
622 /// This specifies policy types that could be used by the transform for the offset or size.
624 public enum VisualTransformPolicyType
627 /// Relative to the control (percentage [0.0f to 1.0f] of the control).
631 /// Absolute value in world units.
637 /// This specifies all the transform property types.
639 public enum VisualTransformPropertyType
642 /// Offset of the visual, which can be either relative (percentage [0.0f to 1.0f] of the parent) or absolute (in world units).
646 /// Size of the visual, which can be either relative (percentage [0.0f to 1.0f] of the parent) or absolute (in world units).
650 /// The origin of the visual within its control area.
654 /// The anchor-point of the visual
658 /// Whether the x or y OFFSET values are relative (percentage [0.0f to 1.0f] of the control) or absolute (in world units).
662 /// Whether the width or height SIZE values are relative (percentage [0.0f to 1.0f] of the control) or absolute (in world units).
668 /// This specifies visual types.
673 /// The index for the visual type.
678 /// Renders a solid color as an internal border to the control's quad.
682 /// Renders a solid color to the control's quad.
686 /// Renders a smooth transition of colors to the control's quad.
690 /// Renders an image into the control's quad.
694 /// Renders a mesh using an "obj" file, optionally with textures provided by an "mtl" file.
698 /// Renders a simple 3D shape, such as a cube or sphere.
702 /// Renders a simple wire-frame outlining a quad.
710 /// Renders an n-patch image.
714 /// Renders an SVG image.
718 /// Renders a animated image. (Animated GIF)
724 /// This specifies visual properties.
726 public struct Property
728 public static readonly int Type = NDalic.VISUAL_PROPERTY_TYPE;
729 public static readonly int Shader = NDalic.VISUAL_PROPERTY_SHADER;
730 public static readonly int Transform = NDalic.VISUAL_PROPERTY_TRANSFORM;
731 public static readonly int PremultipliedAlpha = NDalic.VISUAL_PROPERTY_PREMULTIPLIED_ALPHA;
732 public static readonly int MixColor = NDalic.VISUAL_PROPERTY_MIX_COLOR;
733 public static readonly int Opacity = NDalic.VISUAL_PROPERTY_MIX_COLOR + 1;
737 /// This specifies shader properties.
739 public struct ShaderProperty
741 public static readonly int VertexShader = NDalic.VISUAL_SHADER_VERTEX;
742 public static readonly int FragmentShader = NDalic.VISUAL_SHADER_FRAGMENT;
743 public static readonly int ShaderSubdivideGridX = NDalic.VISUAL_SHADER_SUBDIVIDE_GRID_X;
744 public static readonly int ShaderSubdivideGridY = NDalic.VISUAL_SHADER_SUBDIVIDE_GRID_Y;
745 public static readonly int ShaderHints = NDalic.VISUAL_SHADER_HINTS;
749 /// This specifies Visaul align types.
751 public enum AlignType
766 /// This specifies properties of BorderVisual.
768 public struct BorderVisualProperty
770 public static readonly int Color = NDalic.BORDER_VISUAL_COLOR;
771 public static readonly int Size = NDalic.BORDER_VISUAL_SIZE;
772 public static readonly int AntiAliasing = NDalic.BORDER_VISUAL_ANTI_ALIASING;
776 /// This specifies properties of ColorVisual.
778 public struct ColorVisualProperty
780 public static readonly int MixColor = NDalic.COLOR_VISUAL_MIX_COLOR;
784 /// This specifies properties of GradientVisual.
786 public struct GradientVisualProperty
788 public static readonly int StartPosition = NDalic.GRADIENT_VISUAL_START_POSITION;
789 public static readonly int EndPosition = NDalic.GRADIENT_VISUAL_END_POSITION;
790 public static readonly int Center = NDalic.GRADIENT_VISUAL_CENTER;
791 public static readonly int Radius = NDalic.GRADIENT_VISUAL_RADIUS;
792 public static readonly int StopOffset = NDalic.GRADIENT_VISUAL_STOP_OFFSET;
793 public static readonly int StopColor = NDalic.GRADIENT_VISUAL_STOP_COLOR;
794 public static readonly int Units = NDalic.GRADIENT_VISUAL_UNITS;
795 public static readonly int SpreadMethod = NDalic.GRADIENT_VISUAL_SPREAD_METHOD;
799 /// This specifies properties of ImageVisual.
801 public struct ImageVisualProperty
803 public static readonly int URL = NDalic.IMAGE_VISUAL_URL;
804 public static readonly int FittingMode = NDalic.IMAGE_VISUAL_FITTING_MODE;
805 public static readonly int SamplingMode = NDalic.IMAGE_VISUAL_SAMPLING_MODE;
806 public static readonly int DesiredWidth = NDalic.IMAGE_VISUAL_DESIRED_WIDTH;
807 public static readonly int DesiredHeight = NDalic.IMAGE_VISUAL_DESIRED_HEIGHT;
808 public static readonly int SynchronousLoading = NDalic.IMAGE_VISUAL_SYNCHRONOUS_LOADING;
809 public static readonly int BorderOnly = NDalic.IMAGE_VISUAL_BORDER_ONLY;
810 public static readonly int PixelArea = NDalic.IMAGE_VISUAL_PIXEL_AREA;
811 public static readonly int WrapModeU = NDalic.IMAGE_VISUAL_WRAP_MODE_U;
812 public static readonly int WrapModeV = NDalic.IMAGE_VISUAL_WRAP_MODE_V;
813 public static readonly int Border = NDalic.IMAGE_VISUAL_BORDER;
817 /// This specifies properties of MeshVisual.
819 public struct MeshVisualProperty
821 public static readonly int ObjectURL = NDalic.MESH_VISUAL_OBJECT_URL;
822 public static readonly int MaterialtURL = NDalic.MESH_VISUAL_MATERIAL_URL;
823 public static readonly int TexturesPath = NDalic.MESH_VISUAL_TEXTURES_PATH;
824 public static readonly int ShadingMode = NDalic.MESH_VISUAL_SHADING_MODE;
825 public static readonly int UseMipmapping = NDalic.MESH_VISUAL_USE_MIPMAPPING;
826 public static readonly int UseSoftNormals = NDalic.MESH_VISUAL_USE_SOFT_NORMALS;
827 public static readonly int LightPosition = NDalic.MESH_VISUAL_LIGHT_POSITION;
831 /// This specifies properties of PrimitiveVisual.
833 public struct PrimitiveVisualProperty
835 public static readonly int Shape = NDalic.PRIMITIVE_VISUAL_SHAPE;
836 public static readonly int MixColor = NDalic.PRIMITIVE_VISUAL_MIX_COLOR;
837 public static readonly int Slices = NDalic.PRIMITIVE_VISUAL_SLICES;
838 public static readonly int Stacks = NDalic.PRIMITIVE_VISUAL_STACKS;
839 public static readonly int ScaleTopRadius = NDalic.PRIMITIVE_VISUAL_SCALE_TOP_RADIUS;
840 public static readonly int ScaleBottomRadius = NDalic.PRIMITIVE_VISUAL_SCALE_BOTTOM_RADIUS;
841 public static readonly int ScaleHeight = NDalic.PRIMITIVE_VISUAL_SCALE_HEIGHT;
842 public static readonly int ScaleRadius = NDalic.PRIMITIVE_VISUAL_SCALE_RADIUS;
843 public static readonly int ScaleDimensions = NDalic.PRIMITIVE_VISUAL_SCALE_DIMENSIONS;
844 public static readonly int BevelPercentage = NDalic.PRIMITIVE_VISUAL_BEVEL_PERCENTAGE;
845 public static readonly int BevelSmoothness = NDalic.PRIMITIVE_VISUAL_BEVEL_SMOOTHNESS;
846 public static readonly int LightPosition = NDalic.PRIMITIVE_VISUAL_LIGHT_POSITION;
850 /// This specifies properties of TextVisual.
852 public struct TextVisualProperty
854 public static readonly int Text = NDalic.TEXT_VISUAL_TEXT;
855 public static readonly int FontFamily = NDalic.TEXT_VISUAL_FONT_FAMILY;
856 public static readonly int FontStyle = NDalic.TEXT_VISUAL_FONT_STYLE;
857 public static readonly int PointSize = NDalic.TEXT_VISUAL_POINT_SIZE;
858 public static readonly int MultiLine = NDalic.TEXT_VISUAL_MULTI_LINE;
859 public static readonly int HorizontalAlignment = NDalic.TEXT_VISUAL_HORIZONTAL_ALIGNMENT;
860 public static readonly int VerticalAlignment = NDalic.TEXT_VISUAL_VERTICAL_ALIGNMENT;
861 public static readonly int TextColor = NDalic.TEXT_VISUAL_TEXT_COLOR;
862 public static readonly int EnableMarkup = NDalic.TEXT_VISUAL_ENABLE_MARKUP;
866 /// This specifies properties of NpatchImageVisual.
868 public struct NpatchImageVisualProperty
870 public static readonly int URL = NDalic.IMAGE_VISUAL_URL;
871 public static readonly int FittingMode = NDalic.IMAGE_VISUAL_FITTING_MODE;
872 public static readonly int SamplingMode = NDalic.IMAGE_VISUAL_SAMPLING_MODE;
873 public static readonly int DesiredWidth = NDalic.IMAGE_VISUAL_DESIRED_WIDTH;
874 public static readonly int DesiredHeight = NDalic.IMAGE_VISUAL_DESIRED_HEIGHT;
875 public static readonly int SynchronousLoading = NDalic.IMAGE_VISUAL_SYNCHRONOUS_LOADING;
876 public static readonly int BorderOnly = NDalic.IMAGE_VISUAL_BORDER_ONLY;
877 public static readonly int PixelArea = NDalic.IMAGE_VISUAL_PIXEL_AREA;
878 public static readonly int WrapModeU = NDalic.IMAGE_VISUAL_WRAP_MODE_U;
879 public static readonly int WrapModeV = NDalic.IMAGE_VISUAL_WRAP_MODE_V;
880 public static readonly int Border = NDalic.IMAGE_VISUAL_WRAP_MODE_V + 1;
884 /// HiddenInput Property.
886 public struct HiddenInputProperty
888 public static readonly int Mode = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_MODE_get();
889 public static readonly int SubstituteCharacter = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_SUBSTITUTE_CHARACTER_get();
890 public static readonly int SubstituteCount = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_SUBSTITUTE_COUNT_get();
891 public static readonly int ShowDuration = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_SHOW_DURATION_get();
895 /// The type for HiddenInput mode.
897 public enum HiddenInputModeType
904 /// Hide all the input text.
908 /// Hide n characters from start.
912 /// Show n characters from start.
916 /// Show last character for the duration(use ShowDuration property to modify duration).
922 /// ParentOrigin constants.
924 public struct ParentOrigin
926 public static float Top
930 float ret = NDalicPINVOKE.ParentOriginTop_get();
931 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
935 public static float Bottom
939 float ret = NDalicPINVOKE.ParentOriginBottom_get();
940 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
944 public static float Left
948 float ret = NDalicPINVOKE.ParentOriginLeft_get();
949 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
953 public static float Right
957 float ret = NDalicPINVOKE.ParentOriginRight_get();
958 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
962 public static float Middle
966 float ret = NDalicPINVOKE.ParentOriginMiddle_get();
967 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
971 public static Position TopLeft
975 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopLeft_get();
976 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
977 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
981 public static Position TopCenter
985 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopCenter_get();
986 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
987 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
991 public static Position TopRight
995 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopRight_get();
996 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
997 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1001 public static Position CenterLeft
1005 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenterLeft_get();
1006 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1007 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1011 public static Position Center
1015 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenter_get();
1016 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1017 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1021 public static Position CenterRight
1025 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenterRight_get();
1026 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1027 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1031 public static Position BottomLeft
1035 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomLeft_get();
1036 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1037 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1041 public static Position BottomCenter
1045 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomCenter_get();
1046 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1047 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1051 public static Position BottomRight
1055 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomRight_get();
1056 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1057 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1064 /// AnchorPoint constants.
1066 public struct AnchorPoint
1068 public static float Top
1072 float ret = NDalicPINVOKE.AnchorPointTop_get();
1073 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1077 public static float Bottom
1081 float ret = NDalicPINVOKE.AnchorPointBottom_get();
1082 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1086 public static float Left
1090 float ret = NDalicPINVOKE.AnchorPointLeft_get();
1091 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1095 public static float Right
1099 float ret = NDalicPINVOKE.AnchorPointRight_get();
1100 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1104 public static float Middle
1108 float ret = NDalicPINVOKE.AnchorPointMiddle_get();
1109 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1113 public static Position TopLeft
1117 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopLeft_get();
1118 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1119 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1123 public static Position TopCenter
1127 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopCenter_get();
1128 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1129 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1133 public static Position TopRight
1137 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopRight_get();
1138 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1139 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1143 public static Position CenterLeft
1147 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterLeft_get();
1148 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1149 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1153 public static Position Center
1157 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenter_get();
1158 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1159 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1163 public static Position CenterRight
1167 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterRight_get();
1168 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1169 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1173 public static Position BottomLeft
1177 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomLeft_get();
1178 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1179 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1183 public static Position BottomCenter
1187 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomCenter_get();
1188 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1189 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1193 public static Position BottomRight
1197 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomRight_get();
1198 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1199 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1205 /// PositionAxis constants.
1207 public struct PositionAxis
1209 public static Position X
1213 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_XAXIS_get();
1214 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1215 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1219 public static Position Y
1223 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_YAXIS_get();
1224 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1225 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1229 public static Position Z
1233 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_ZAXIS_get();
1234 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1235 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1239 public static Position NegativeX
1243 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_XAXIS_get();
1244 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1245 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1249 public static Position NegativeY
1253 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_YAXIS_get();
1254 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1255 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1259 public static Position NegativeZ
1263 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_ZAXIS_get();
1264 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1265 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1272 /// Auto scrolling stop behaviour.
1274 public enum AutoScrollStopMode
1277 /// Stop animation after current loop finished.
1281 /// Stop animation immediatly and reset position.
1287 /// An enum of screen mode.
1289 public enum ScreenMode {
1291 /// The mode which turns the screen off after a timeout.
1295 /// The mode which keeps the screen turned on.
1301 /// An enum of notification window's priority level.
1303 public enum NotificationLevel {
1305 /// No notification level.<br>
1306 /// Default level.<br>
1307 /// This value makes the notification window place in the layer of the normal window.
1311 /// Base nofitication level.
1315 /// Medium notification level than base.
1319 /// Higher notification level than medium.
1323 /// The highest notification level.
1329 /// An enum of Window types.
1331 public enum WindowType {
1333 /// A default window type.<br>
1334 /// Indicates a normal, top-level window.
1335 /// Almost every window will be created with this type.
1339 /// A notification window, like a warning about battery life or a new E-Mail received.
1343 /// A persistent utility window, like a toolbox or palette.
1347 /// Used for simple dialog windows.
1352 public enum DisposeTypes
1354 Explicit, //Called By User
1355 Implicit, //Called by DisposeQueue