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
27 /// Whether the content can be scrolled along the X axis or not.
29 /// <since_tizen> 3 </since_tizen>
32 /// When set, causes scroll view to snap to multiples of the
33 /// value of the interval while flicking along the X axis.
35 /// <since_tizen> 3 </since_tizen>
38 /// When set, the scroll view is unable to scroll beyond the
39 /// value of the boundary along the X axis.
41 /// <since_tizen> 3 </since_tizen>
44 /// Whether the content can be scrolled along the Y axis or not.
46 /// <since_tizen> 3 </since_tizen>
49 /// When set, causes scroll view to snap to multiples of the
50 /// value of the interval while flicking along the Y axis.
52 /// <since_tizen> 3 </since_tizen>
55 /// When set, the scroll view is unable to scroll beyond the
56 /// value of the boundary along the Y axis.
58 /// <since_tizen> 3 </since_tizen>
63 /// This specifies whether the actor uses its own color or inherits.
65 /// <since_tizen> 3 </since_tizen>
69 /// Actor will use its own color.
73 /// Actor will use its parent color.
77 /// Actor will blend its color with its parents color.
79 UseOwnMultiplyParentColor,
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.
83 UseOwnMultiplyParentAlpha
87 /// This specifies the dimension of the width or the height for size negotiation.
89 /// <since_tizen> 3 </since_tizen>
90 public enum DimensionType
101 /// Mask to cover all flags.
107 /// Enumeration for the instance of how the actor and it's children will be drawn.
109 /// <since_tizen> 3 </since_tizen>
110 public enum DrawModeType
113 /// The default draw-mode.
117 /// Draw the actor and its children as an overlay.
121 /// Will be replaced by separate ClippingMode enum. Draw the actor and its children into the stencil buffer.
127 /// Enumeration for size negotiation resize policies.
129 /// <since_tizen> 3 </since_tizen>
130 public enum ResizePolicyType
133 /// Size is fixed as set by SetSize.
137 /// Size is to use the actor's natural size.
139 /// <see cref="ViewImpl.GetNaturalSize"/>
142 /// Size is to fill up to the actor's parent's bounds. Aspect ratio is not maintained.
146 /// The actors size will be ( ParentSize * SizeRelativeToParentFactor ).
148 SizeRelativeToParent,
150 /// The actors size will be ( ParentSize + SizeRelativeToParentFactor ).
152 SizeFixedOffsetFromParent,
154 /// The size will adjust to wrap around all children.
158 /// One dimension is dependent on the other.
162 /// The size will be assigned to the actor.
168 /// Enumeration for policies to determine how an actor should resize itself when having its size set in size negotiation.
170 /// <since_tizen> 3 </since_tizen>
171 public enum SizeScalePolicyType
174 /// Use the size that was set.
178 /// Fit within the size set maintaining natural size aspect ratio.
182 /// Fit within the size set maintaining natural size aspect ratio.
188 /// Enumeration for the ClippingMode describing how this actor's children will be clipped against it.
190 /// <since_tizen> 3 </since_tizen>
191 public enum ClippingModeType
194 /// This actor will not clip its children.
198 /// This actor will clip all children to within its boundaries (the actor will also be visible itself).
202 /// This Actor will clip all children within a screen-aligned rectangle encompassing its boundaries (the actor will also be visible itself).
208 /// Enumeration for type determination of how the camera operates.
210 /// <since_tizen> 3 </since_tizen>
211 public enum CameraType
214 /// Camera orientation is taken from the CameraActor.
218 /// Camera is oriented to always look at a target.
224 /// Enumeration for the projection modes.
226 /// <since_tizen> 3 </since_tizen>
227 public enum ProjectionMode
230 /// Distance causes foreshortening; objects further from the camera appear smaller.
232 PerspectiveProjection,
234 /// Relative distance from the camera does not affect the size of objects.
236 OrthographicProjection
240 /// This specifies customView behavior types.
242 /// <since_tizen> 3 </since_tizen>
243 public enum CustomViewBehaviour
246 /// Use to provide default behavior (size negotiation is on, event callbacks are not called).
248 ViewBehaviourDefault = 0,
250 /// True if the control does not need size negotiation, i.e., it can be skipped in the algorithm.
252 DisableSizeNegotiation = 1 << 0,
254 /// Use to provide key navigation support.
256 RequiresKeyboardNavigationSupport = 1 << 5,
258 /// Use to make style change event disabled.
260 DisableStyleChangeSignals = 1 << 6,
262 /// [EditorBrowsable(EditorBrowsableState.Never)]
264 /// <since_tizen> 3 </since_tizen>
265 [EditorBrowsable(EditorBrowsableState.Never)]
266 LastViewBehaviourFlag
270 /// An enum of Device Class types.
272 /// <since_tizen> 3 </since_tizen>
273 public enum DeviceClassType
278 /// <since_tizen> 3 </since_tizen>
281 /// The user/seat (the user themselves).
283 /// <since_tizen> 3 </since_tizen>
286 /// A regular keyboard, numberpad or attached buttons.
288 /// <since_tizen> 3 </since_tizen>
291 /// A mouse, trackball or touchpad relative motion device.
293 /// <since_tizen> 3 </since_tizen>
296 /// A touchscreen with fingers or stylus.
298 /// <since_tizen> 3 </since_tizen>
301 /// A special pen device.
303 /// <since_tizen> 3 </since_tizen>
306 /// A pointing device based on laser, infrared or similar technology.
308 /// <since_tizen> 3 </since_tizen>
311 /// A gamepad controller or joystick.
313 /// <since_tizen> 3 </since_tizen>
318 /// An enum of Device Subclass types.
320 /// <since_tizen> 4 </since_tizen>
321 public enum DeviceSubClassType
328 /// The normal flat of your finger
340 /// The palm of a users hand
344 /// The side of your hand
348 /// The flat of your hand
356 /// A trackpad style mouse
360 /// A trackpoint style mouse
364 /// A trackball style mouse
368 /// A remote controller
372 /// A virtual keyboard
378 /// This specifies all the property types.<br />
379 /// Enumeration for the property types supported.
381 /// <since_tizen> 3 </since_tizen>
382 public enum PropertyType
401 /// A vector array of size=2 with float precision.
405 /// A vector array of size=3 with float precision.
409 /// A vector array of size=4 with float precision.
421 /// An integer array of size=4.
425 /// Either a quaternion or an axis angle rotation.
433 /// An array of PropertyValue.
437 /// A string key to PropertyValue mapping.
443 /// This specifies the property access mode types.<br />
444 /// Enumeration for the access mode for custom properties.
446 /// <since_tizen> 3 </since_tizen>
447 public enum PropertyAccessMode
450 /// If the property is read-only.
454 /// If the property is read or writeable.
458 /// If the property can be animated or constrained.
462 /// The number of access modes.
468 /// Types of style change. Enumeration for the StyleChange type.
470 /// <since_tizen> 3 </since_tizen>
471 public enum StyleChangeType
474 /// Denotes that the default font has changed.
478 /// Denotes that the default font size has changed.
480 DefaultFontSizeChange,
482 /// Denotes that the theme has changed.
488 /// Enumeration for horizontal alignment types.
490 /// <since_tizen> 3 </since_tizen>
491 public enum HorizontalAlignmentType
494 /// Align horizontally left.
498 /// Align horizontally center.
502 /// Align horizontally right.
508 /// Enumeration for vertical alignment types.
510 /// <since_tizen> 3 </since_tizen>
511 public enum VerticalAlignmentType
514 /// Align vertically top.
518 /// Align vertically center.
522 /// Align vertically bottom.
528 /// Enumeration for point state type.
530 /// <since_tizen> 3 </since_tizen>
531 public enum PointStateType
534 /// Touch or hover started.
538 /// Touch or hover finished.
550 /// Finger dragged or hovered.
554 /// Leave the boundary of an actor.
558 /// No change from last event. <br />
559 /// 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.
563 /// A system event has occurred which has interrupted the touch or hover event sequence.
569 /// Enumeration for the text horizontal aligning.
571 /// <since_tizen> 3 </since_tizen>
572 public enum HorizontalAlignment
575 /// Texts place at the begin of horizontal direction.
579 /// Texts place at the center of horizontal direction.
583 /// Texts place at the end of horizontal direction.
589 /// Enumeration for the text horizontal aligning.
591 /// <since_tizen> 3 </since_tizen>
592 public enum VerticalAlignment
595 /// Texts place at the top of vertical direction.
599 /// Texts place at the center of vertical direction.
603 /// Texts place at the bottom of vertical direction.
609 /// This specifies wrap mode types.<br />
610 /// 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.
612 /// <since_tizen> 3 </since_tizen>
613 public enum WrapModeType
616 /// The default value.
634 /// The type of coordinate system for certain attributes of the points in a gradient.
636 /// <since_tizen> 3 </since_tizen>
637 public enum GradientVisualUnitsType
640 /// 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).
644 /// 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).
650 /// This specifies SpreadMethod types.<br />
651 /// SpreadMethod defines what happens if the gradient starts or ends inside the bounds of the target rectangle.<br />
653 /// <since_tizen> 3 </since_tizen>
654 public enum GradientVisualSpreadMethodType
657 /// Uses the terminal colors of the gradient to fill the remainder of the quad.
661 /// Reflects the gradient pattern start-to-end, end-to-start, start-to-end, etc. until the quad is filled.
665 /// Repeats the gradient pattern start-to-end, start-to-end, start-to-end, etc. until the quad is filled.
671 /// The shading mode used by the mesh visual.
673 /// <since_tizen> 3 </since_tizen>
674 public enum MeshVisualShadingModeValue
677 /// *Simplest*. One color that is lit by ambient and diffuse lighting.
679 TexturelessWithDiffuseLighting,
681 /// Uses only the visual image textures provided with specular lighting in addition to ambient and diffuse lighting.
683 TexturedWithSpecularLighting,
685 /// Uses all textures provided including gloss, normal, and texture map along with specular, ambient, and diffuse lighting.
687 TexturedWithDetailedSpecularLighting
691 /// The primitive shape to render as a primitive visual.
693 /// <since_tizen> 3 </since_tizen>
694 public enum PrimitiveVisualShapeType
697 /// A perfectly round geometrical object in the three-dimensional space.
701 /// The area bound between two circles, i.e., a cone with the tip removed.
705 /// Equivalent to a conical frustrum with the top radius of zero.
706 /// </summary>Equivalent to a conical frustrum with the top radius of zero.
709 /// Equivalent to a conical frustrum with the top radius of zero.
713 /// Equivalent to a conical frustrum with equal radii for the top and bottom circles.
717 /// Equivalent to a bevelled cube with a bevel percentage of zero.
721 /// Equivalent to a bevelled cube with a bevel percentage of one.
727 /// This specifies fitting mode types. Fitting options, used when resizing images to fit desired dimensions.<br />
728 /// A fitting mode controls the region of a loaded image to be mapped to the desired image rectangle.<br />
729 /// All fitting modes preserve the aspect ratio of the image contents.<br />
731 /// <since_tizen> 3 </since_tizen>
732 public enum FittingModeType
735 /// Full-screen image display: Limit loaded image resolution to device resolution using the ShrinkToFit mode.
739 /// Thumbnail gallery grid: Limit loaded image resolution to screen tile using the ScaleToFill mode.
743 /// Image columns: Limit loaded image resolution to column width using the FitWidth mode.
747 /// Image rows: Limit loaded image resolution to row height using the FitHeight mode.
753 /// This specifies sampling mode types. Filtering options are used when resizing images to sample original pixels.<br />
754 /// A SamplingMode controls how pixels in an input image are sampled and combined to generate each pixel of a destination image during scaling.<br />
755 /// 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 />
756 /// but all other filter modes do if the desired dimensions are not more than the raw dimensions of the input image file.<br />
758 /// <since_tizen> 3 </since_tizen>
759 public enum SamplingModeType
762 /// Iteratively box filter to generate an image of 1/2, 1/4, 1/8, etc. width and height and approximately the desired size. <br />
763 /// This is the default.
767 /// For each output pixel, read one input pixel.
771 /// For each output pixel, read a quad of four input pixels and write a weighted average of them.
775 /// Iteratively box filter to generate an image of 1/2, 1/4, 1/8, etc. width and height and approximately the desired size, <br />
776 /// then for each output pixel, read one pixel from the last level of box filtering.<br />
780 /// 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.
784 /// 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.
788 /// For caching algorithms where a client strongly prefers a cache-hit to reuse a cached image.
794 /// This specifies policy types that could be used by the transform for the offset or size.
796 /// <since_tizen> 3 </since_tizen>
797 public enum VisualTransformPolicyType
800 /// Relative to the control (percentage [0.0f to 1.0f] of the control).
804 /// Absolute value in world units.
810 /// This specifies all the transform property types.
812 /// <since_tizen> 3 </since_tizen>
813 public enum VisualTransformPropertyType
816 /// Offset of the visual, which can be either relative (percentage [0.0f to 1.0f] of the parent) or absolute (in world units).
820 /// Size of the visual, which can be either relative (percentage [0.0f to 1.0f] of the parent) or absolute (in world units).
824 /// The origin of the visual within its control area.
828 /// The anchor-point of the visual.
832 /// Whether the x or y offset values are relative (percentage [0.0f to 1.0f] of the control) or absolute (in world units).
836 /// Whether the width or the height size values are relative (percentage [0.0f to 1.0f] of the control) or absolute (in world units).
842 /// This specifies visual types.
844 /// <since_tizen> 3 </since_tizen>
848 /// The index for the visual type.
850 /// <since_tizen> 3 </since_tizen>
854 /// Renders a solid color as an internal border to the control's quad.
858 /// Renders a solid color to the control's quad.
862 /// Renders a smooth transition of colors to the control's quad.
866 /// Renders an image into the control's quad.
870 /// Renders a mesh using an "obj" file, optionally with textures provided by an "mtl" file.
874 /// Renders a simple 3D shape, such as a cube or a sphere.
878 /// Renders a simple wire-frame outlining a quad.
886 /// Renders an n-patch image.
890 /// Renders an SVG image.
894 /// Renders a animated image (animated GIF).
900 /// This specifies visual properties.
902 /// <since_tizen> 3 </since_tizen>
903 public struct Property
908 /// <since_tizen> 3 </since_tizen>
909 public static readonly int Type = NDalic.VISUAL_PROPERTY_TYPE;
913 /// <since_tizen> 3 </since_tizen>
914 public static readonly int Shader = NDalic.VISUAL_PROPERTY_SHADER;
918 /// <since_tizen> 3 </since_tizen>
919 public static readonly int Transform = NDalic.VISUAL_PROPERTY_TRANSFORM;
921 /// PremultipliedAlpha.
923 /// <since_tizen> 3 </since_tizen>
924 public static readonly int PremultipliedAlpha = NDalic.VISUAL_PROPERTY_PREMULTIPLIED_ALPHA;
928 /// <since_tizen> 3 </since_tizen>
929 public static readonly int MixColor = NDalic.VISUAL_PROPERTY_MIX_COLOR;
933 /// <since_tizen> 3 </since_tizen>
934 public static readonly int Opacity = NDalic.VISUAL_PROPERTY_MIX_COLOR + 1;
938 /// This specifies shader properties.
940 /// <since_tizen> 3 </since_tizen>
941 public struct ShaderProperty
944 /// Vertex shader code
946 /// <since_tizen> 3 </since_tizen>
947 public static readonly int VertexShader = NDalic.VISUAL_SHADER_VERTEX;
949 /// Fragment shader code
951 /// <since_tizen> 3 </since_tizen>
952 public static readonly int FragmentShader = NDalic.VISUAL_SHADER_FRAGMENT;
954 /// How to subdivide the grid along X
956 /// <since_tizen> 3 </since_tizen>
957 public static readonly int ShaderSubdivideGridX = NDalic.VISUAL_SHADER_SUBDIVIDE_GRID_X;
959 /// How to subdivide the grid along Y
961 /// <since_tizen> 3 </since_tizen>
962 public static readonly int ShaderSubdivideGridY = NDalic.VISUAL_SHADER_SUBDIVIDE_GRID_Y;
966 /// <since_tizen> 3 </since_tizen>
967 public static readonly int ShaderHints = NDalic.VISUAL_SHADER_HINTS;
971 /// This specifies visaul align types.
973 /// <since_tizen> 3 </since_tizen>
974 public enum AlignType
979 /// <since_tizen> 3 </since_tizen>
984 /// <since_tizen> 3 </since_tizen>
989 /// <since_tizen> 3 </since_tizen>
994 /// <since_tizen> 3 </since_tizen>
999 /// <since_tizen> 3 </since_tizen>
1004 /// <since_tizen> 3 </since_tizen>
1009 /// <since_tizen> 3 </since_tizen>
1014 /// <since_tizen> 3 </since_tizen>
1019 /// <since_tizen> 3 </since_tizen>
1025 /// This specifies properties of the BorderVisual.
1027 /// <since_tizen> 3 </since_tizen>
1028 public struct BorderVisualProperty
1031 /// The color of the border.
1033 /// <since_tizen> 3 </since_tizen>
1034 public static readonly int Color = NDalic.BORDER_VISUAL_COLOR;
1036 /// The width of the border (in pixels).
1038 /// <since_tizen> 3 </since_tizen>
1039 public static readonly int Size = NDalic.BORDER_VISUAL_SIZE;
1041 /// Whether anti-aliasing of the border is required.
1043 /// <since_tizen> 3 </since_tizen>
1044 public static readonly int AntiAliasing = NDalic.BORDER_VISUAL_ANTI_ALIASING;
1048 /// This specifies properties of the ColorVisual.
1050 /// <since_tizen> 3 </since_tizen>
1051 public struct ColorVisualProperty
1054 /// The solid color required.
1056 /// <since_tizen> 3 </since_tizen>
1057 public static readonly int MixColor = NDalic.COLOR_VISUAL_MIX_COLOR;
1061 /// This specifies properties of the GradientVisual.
1063 /// <since_tizen> 3 </since_tizen>
1064 public struct GradientVisualProperty
1067 /// The start position of a linear gradient.
1069 /// <since_tizen> 3 </since_tizen>
1070 public static readonly int StartPosition = NDalic.GRADIENT_VISUAL_START_POSITION;
1072 /// The end position of a linear gradient.
1074 /// <since_tizen> 3 </since_tizen>
1075 public static readonly int EndPosition = NDalic.GRADIENT_VISUAL_END_POSITION;
1077 /// The center point of a radial gradient.
1079 /// <since_tizen> 3 </since_tizen>
1080 public static readonly int Center = NDalic.GRADIENT_VISUAL_CENTER;
1082 /// The size of the radius of a radial gradient.
1084 /// <since_tizen> 3 </since_tizen>
1085 public static readonly int Radius = NDalic.GRADIENT_VISUAL_RADIUS;
1087 /// All the stop offsets.
1089 /// <since_tizen> 3 </since_tizen>
1090 public static readonly int StopOffset = NDalic.GRADIENT_VISUAL_STOP_OFFSET;
1092 /// The color at the stop offsets.
1094 /// <since_tizen> 3 </since_tizen>
1095 public static readonly int StopColor = NDalic.GRADIENT_VISUAL_STOP_COLOR;
1097 /// Defines the coordinate system for certain attributes of the points in a gradient.
1099 /// <since_tizen> 3 </since_tizen>
1100 public static readonly int Units = NDalic.GRADIENT_VISUAL_UNITS;
1102 /// Indicates what happens if the gradient starts or ends inside the bounds of the target rectangle.
1104 /// <since_tizen> 3 </since_tizen>
1105 public static readonly int SpreadMethod = NDalic.GRADIENT_VISUAL_SPREAD_METHOD;
1109 /// This specifies properties of the ImageVisual.
1111 /// <since_tizen> 3 </since_tizen>
1112 public struct ImageVisualProperty
1115 /// The URL of the image.
1117 public static readonly int URL = NDalic.IMAGE_VISUAL_URL;
1119 /// The URL of the alpha mask image.
1121 public static readonly int AlphaMaskURL = NDalic.IMAGE_VISUAL_ALPHA_MASK_URL;
1123 /// Fitting options, used when resizing images to fit desired dimensions.
1125 public static readonly int FittingMode = NDalic.IMAGE_VISUAL_FITTING_MODE;
1127 /// Filtering options, used when resizing images to sample original pixels.
1129 public static readonly int SamplingMode = NDalic.IMAGE_VISUAL_SAMPLING_MODE;
1131 /// The desired image width.
1133 public static readonly int DesiredWidth = NDalic.IMAGE_VISUAL_DESIRED_WIDTH;
1135 /// The desired image height.
1137 public static readonly int DesiredHeight = NDalic.IMAGE_VISUAL_DESIRED_HEIGHT;
1139 /// Whether to load the image synchronously.
1141 public static readonly int SynchronousLoading = NDalic.IMAGE_VISUAL_SYNCHRONOUS_LOADING;
1143 /// If true, only draws the borders.
1145 public static readonly int BorderOnly = NDalic.IMAGE_VISUAL_BORDER_ONLY;
1147 /// The image area to be displayed.
1149 public static readonly int PixelArea = NDalic.IMAGE_VISUAL_PIXEL_AREA;
1151 /// The wrap mode for u coordinate.
1153 public static readonly int WrapModeU = NDalic.IMAGE_VISUAL_WRAP_MODE_U;
1155 /// The wrap mode for v coordinate.
1157 public static readonly int WrapModeV = NDalic.IMAGE_VISUAL_WRAP_MODE_V;
1159 /// The border of the image.
1161 public static readonly int Border = NDalic.IMAGE_VISUAL_BORDER;
1163 /// The scale factor to apply to the content image before masking.
1165 public static readonly int MaskContentScale = NDalic.IMAGE_VISUAL_MASK_CONTENT_SCALE;
1167 /// Whether to crop image to mask or scale mask to fit image
1169 public static readonly int CropToMask = NDalic.IMAGE_VISUAL_CROP_TO_MASK;
1171 /// Defines the batch size for pre-loading images in the AnimatedImageVisual
1173 public static readonly int BatchSize = NDalic.IMAGE_VISUAL_BATCH_SIZE;
1175 /// Defines the cache size for loading images in the AnimatedImageVisual
1177 public static readonly int CacheSize = NDalic.IMAGE_VISUAL_CACHE_SIZE;
1179 /// The number of milliseconds between each frame in the AnimatedImageVisual
1181 public static readonly int FrameDelay = NDalic.IMAGE_VISUAL_FRAME_DELAY;
1186 /// This specifies properties of the MeshVisual.
1188 /// <since_tizen> 3 </since_tizen>
1189 public struct MeshVisualProperty
1192 /// The location of the ".obj" file.
1194 public static readonly int ObjectURL = NDalic.MESH_VISUAL_OBJECT_URL;
1196 /// The location of the ".mtl" file.
1198 public static readonly int MaterialtURL = NDalic.MESH_VISUAL_MATERIAL_URL;
1200 /// Path to the directory the textures (including gloss and normal) are stored in.
1202 public static readonly int TexturesPath = NDalic.MESH_VISUAL_TEXTURES_PATH;
1204 /// Sets the type of shading mode that the mesh will use.
1206 public static readonly int ShadingMode = NDalic.MESH_VISUAL_SHADING_MODE;
1208 /// Whether to use mipmaps for textures or not.
1210 public static readonly int UseMipmapping = NDalic.MESH_VISUAL_USE_MIPMAPPING;
1212 /// Whether to average normals at each point to smooth textures or not.
1214 public static readonly int UseSoftNormals = NDalic.MESH_VISUAL_USE_SOFT_NORMALS;
1216 /// The position, in stage space, of the point light that applies lighting to the model.
1218 public static readonly int LightPosition = NDalic.MESH_VISUAL_LIGHT_POSITION;
1222 /// This specifies properties of the PrimitiveVisual.
1224 /// <since_tizen> 3 </since_tizen>
1225 public struct PrimitiveVisualProperty
1228 /// The specific shape to render.
1230 public static readonly int Shape = NDalic.PRIMITIVE_VISUAL_SHAPE;
1232 /// The color of the shape.
1234 public static readonly int MixColor = NDalic.PRIMITIVE_VISUAL_MIX_COLOR;
1236 /// The number of slices as you go around the shape.
1238 public static readonly int Slices = NDalic.PRIMITIVE_VISUAL_SLICES;
1240 /// The number of stacks as you go down the shape.
1242 public static readonly int Stacks = NDalic.PRIMITIVE_VISUAL_STACKS;
1244 /// The scale of the radius of the top circle of a conical frustrum.
1246 public static readonly int ScaleTopRadius = NDalic.PRIMITIVE_VISUAL_SCALE_TOP_RADIUS;
1248 /// The scale of the radius of the bottom circle of a conical frustrum.
1250 public static readonly int ScaleBottomRadius = NDalic.PRIMITIVE_VISUAL_SCALE_BOTTOM_RADIUS;
1252 /// The scale of the height of a conic.
1254 public static readonly int ScaleHeight = NDalic.PRIMITIVE_VISUAL_SCALE_HEIGHT;
1256 /// The scale of the radius of a cylinder.
1258 public static readonly int ScaleRadius = NDalic.PRIMITIVE_VISUAL_SCALE_RADIUS;
1260 /// The dimensions of a cuboid. Scales in the same fashion as a 9-patch image.
1262 public static readonly int ScaleDimensions = NDalic.PRIMITIVE_VISUAL_SCALE_DIMENSIONS;
1264 /// Determines how bevelled the cuboid should be, based off the smallest dimension.
1266 public static readonly int BevelPercentage = NDalic.PRIMITIVE_VISUAL_BEVEL_PERCENTAGE;
1268 /// Defines how smooth the bevelled edges should be.
1270 public static readonly int BevelSmoothness = NDalic.PRIMITIVE_VISUAL_BEVEL_SMOOTHNESS;
1272 /// The position, in stage space, of the point light that applies lighting to the model.
1274 public static readonly int LightPosition = NDalic.PRIMITIVE_VISUAL_LIGHT_POSITION;
1278 /// This specifies properties of the TextVisual.
1280 /// <since_tizen> 3 </since_tizen>
1281 public struct TextVisualProperty
1284 /// The text to display in UTF-8 format.
1286 public static readonly int Text = NDalic.TEXT_VISUAL_TEXT;
1288 /// The requested font family to use.
1290 public static readonly int FontFamily = NDalic.TEXT_VISUAL_FONT_FAMILY;
1292 /// The requested font style to use.
1294 public static readonly int FontStyle = NDalic.TEXT_VISUAL_FONT_STYLE;
1296 /// The size of font in points.
1298 public static readonly int PointSize = NDalic.TEXT_VISUAL_POINT_SIZE;
1300 /// The single-line or multi-line layout option.
1302 public static readonly int MultiLine = NDalic.TEXT_VISUAL_MULTI_LINE;
1304 /// The line horizontal alignment.
1306 public static readonly int HorizontalAlignment = NDalic.TEXT_VISUAL_HORIZONTAL_ALIGNMENT;
1308 /// The line vertical alignment.
1310 public static readonly int VerticalAlignment = NDalic.TEXT_VISUAL_VERTICAL_ALIGNMENT;
1312 /// The color of the text.
1314 public static readonly int TextColor = NDalic.TEXT_VISUAL_TEXT_COLOR;
1316 /// Whether the mark-up processing is enabled.
1318 public static readonly int EnableMarkup = NDalic.TEXT_VISUAL_ENABLE_MARKUP;
1322 /// This specifies properties of the NpatchImageVisual.
1324 /// <since_tizen> 3 </since_tizen>
1325 public struct NpatchImageVisualProperty
1328 /// The URL of the image.
1330 public static readonly int URL = NDalic.IMAGE_VISUAL_URL;
1332 /// Fitting options, used when resizing images to fit desired dimensions.
1334 public static readonly int FittingMode = NDalic.IMAGE_VISUAL_FITTING_MODE;
1336 /// Filtering options, used when resizing images to sample original pixels.
1338 public static readonly int SamplingMode = NDalic.IMAGE_VISUAL_SAMPLING_MODE;
1340 /// The desired image width.
1342 public static readonly int DesiredWidth = NDalic.IMAGE_VISUAL_DESIRED_WIDTH;
1344 /// The desired image height.
1346 public static readonly int DesiredHeight = NDalic.IMAGE_VISUAL_DESIRED_HEIGHT;
1348 /// Whether to load the image synchronously.
1350 public static readonly int SynchronousLoading = NDalic.IMAGE_VISUAL_SYNCHRONOUS_LOADING;
1352 /// If true, only draws the borders.
1354 public static readonly int BorderOnly = NDalic.IMAGE_VISUAL_BORDER_ONLY;
1356 /// The image area to be displayed.
1358 public static readonly int PixelArea = NDalic.IMAGE_VISUAL_PIXEL_AREA;
1360 /// The wrap mode for u coordinate.
1362 public static readonly int WrapModeU = NDalic.IMAGE_VISUAL_WRAP_MODE_U;
1364 /// The wrap mode for v coordinate.
1366 public static readonly int WrapModeV = NDalic.IMAGE_VISUAL_WRAP_MODE_V;
1368 /// The border of the image.
1370 public static readonly int Border = NDalic.IMAGE_VISUAL_WRAP_MODE_V + 1;
1374 /// The HiddenInput property.
1376 /// <since_tizen> 3 </since_tizen>
1377 public struct HiddenInputProperty
1380 /// The mode for input text display.
1382 public static readonly int Mode = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_MODE_get();
1384 /// All input characters are substituted by this character.
1386 public static readonly int SubstituteCharacter = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_SUBSTITUTE_CHARACTER_get();
1388 /// Length of text to show or hide, available when HIDE_COUNT/SHOW_COUNT mode is used.
1390 public static readonly int SubstituteCount = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_SUBSTITUTE_COUNT_get();
1392 /// Hide last character after this duration, available when SHOW_LAST_CHARACTER mode.
1394 public static readonly int ShowLastCharacterDuration = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_SHOW_LAST_CHARACTER_DURATION_get();
1398 /// The type for HiddenInput mode.
1400 /// <since_tizen> 3 </since_tizen>
1401 public enum HiddenInputModeType
1404 /// Don't hide text.
1408 /// Hide all the input text.
1412 /// Hide n characters from start.
1416 /// Show n characters from start.
1420 /// Show last character for the duration(use ShowLastCharacterDuration property to modify duration).
1426 /// ParentOrigin constants.
1428 /// <since_tizen> 3 </since_tizen>
1429 public struct ParentOrigin
1434 /// <since_tizen> 3 </since_tizen>
1435 public static float Top
1439 float ret = NDalicPINVOKE.ParentOriginTop_get();
1440 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1448 /// <since_tizen> 3 </since_tizen>
1449 public static float Bottom
1453 float ret = NDalicPINVOKE.ParentOriginBottom_get();
1454 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1462 /// <since_tizen> 3 </since_tizen>
1463 public static float Left
1467 float ret = NDalicPINVOKE.ParentOriginLeft_get();
1468 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1476 /// <since_tizen> 3 </since_tizen>
1477 public static float Right
1481 float ret = NDalicPINVOKE.ParentOriginRight_get();
1482 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1490 /// <since_tizen> 3 </since_tizen>
1491 public static float Middle
1495 float ret = NDalicPINVOKE.ParentOriginMiddle_get();
1496 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1504 /// <since_tizen> 3 </since_tizen>
1505 public static Position TopLeft
1509 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopLeft_get();
1510 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1511 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1519 /// <since_tizen> 3 </since_tizen>
1520 public static Position TopCenter
1524 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopCenter_get();
1525 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1526 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1534 /// <since_tizen> 3 </since_tizen>
1535 public static Position TopRight
1539 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopRight_get();
1540 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1541 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1549 /// <since_tizen> 3 </since_tizen>
1550 public static Position CenterLeft
1554 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenterLeft_get();
1555 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1556 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1564 /// <since_tizen> 3 </since_tizen>
1565 public static Position Center
1569 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenter_get();
1570 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1571 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1579 /// <since_tizen> 3 </since_tizen>
1580 public static Position CenterRight
1584 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenterRight_get();
1585 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1586 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1594 /// <since_tizen> 3 </since_tizen>
1595 public static Position BottomLeft
1599 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomLeft_get();
1600 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1601 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1609 /// <since_tizen> 3 </since_tizen>
1610 public static Position BottomCenter
1614 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomCenter_get();
1615 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1616 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1624 /// <since_tizen> 3 </since_tizen>
1625 public static Position BottomRight
1629 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomRight_get();
1630 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1631 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1638 /// PivotPoint constants.
1640 /// <since_tizen> 3 </since_tizen>
1641 public struct PivotPoint
1646 /// <since_tizen> 3 </since_tizen>
1647 public static float Top
1651 float ret = NDalicPINVOKE.AnchorPointTop_get();
1652 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1659 /// <since_tizen> 3 </since_tizen>
1660 public static float Bottom
1664 float ret = NDalicPINVOKE.AnchorPointBottom_get();
1665 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1672 /// <since_tizen> 3 </since_tizen>
1673 public static float Left
1677 float ret = NDalicPINVOKE.AnchorPointLeft_get();
1678 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1685 /// <since_tizen> 3 </since_tizen>
1686 public static float Right
1690 float ret = NDalicPINVOKE.AnchorPointRight_get();
1691 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1698 /// <since_tizen> 3 </since_tizen>
1699 public static float Middle
1703 float ret = NDalicPINVOKE.AnchorPointMiddle_get();
1704 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1711 /// <since_tizen> 3 </since_tizen>
1712 public static Position TopLeft
1716 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopLeft_get();
1717 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1718 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1725 /// <since_tizen> 3 </since_tizen>
1726 public static Position TopCenter
1730 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopCenter_get();
1731 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1732 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1739 /// <since_tizen> 3 </since_tizen>
1740 public static Position TopRight
1744 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopRight_get();
1745 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1746 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1753 /// <since_tizen> 3 </since_tizen>
1754 public static Position CenterLeft
1758 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterLeft_get();
1759 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1760 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1767 /// <since_tizen> 3 </since_tizen>
1768 public static Position Center
1772 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenter_get();
1773 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1774 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1781 /// <since_tizen> 3 </since_tizen>
1782 public static Position CenterRight
1786 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterRight_get();
1787 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1788 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1795 /// <since_tizen> 3 </since_tizen>
1796 public static Position BottomLeft
1800 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomLeft_get();
1801 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1802 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1809 /// <since_tizen> 3 </since_tizen>
1810 public static Position BottomCenter
1814 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomCenter_get();
1815 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1816 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1823 /// <since_tizen> 3 </since_tizen>
1824 public static Position BottomRight
1828 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomRight_get();
1829 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1830 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1836 /// PositionAxis constants.
1838 /// <since_tizen> 3 </since_tizen>
1839 public struct PositionAxis
1844 /// <since_tizen> 3 </since_tizen>
1845 public static Position X
1849 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_XAXIS_get();
1850 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1851 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1858 /// <since_tizen> 3 </since_tizen>
1859 public static Position Y
1863 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_YAXIS_get();
1864 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1865 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1872 /// <since_tizen> 3 </since_tizen>
1873 public static Position Z
1877 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_ZAXIS_get();
1878 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1879 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1884 /// The Negative X axis
1886 /// <since_tizen> 3 </since_tizen>
1887 public static Position NegativeX
1891 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_XAXIS_get();
1892 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1893 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1898 /// The Negative Y axis
1900 /// <since_tizen> 3 </since_tizen>
1901 public static Position NegativeY
1905 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_YAXIS_get();
1906 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1907 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1912 /// The Negative Z axis
1914 /// <since_tizen> 3 </since_tizen>
1915 public static Position NegativeZ
1919 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_ZAXIS_get();
1920 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1921 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1928 /// Auto scrolling stop behavior.
1930 /// <since_tizen> 3 </since_tizen>
1931 public enum AutoScrollStopMode
1934 /// Stop animation after current loop finished.
1938 /// Stop animation immediately and reset position.
1944 /// An enum of screen mode.
1946 /// <since_tizen> 3 </since_tizen>
1947 public enum ScreenOffMode {
1949 /// The mode which turns the screen off after a timeout.
1953 /// The mode which keeps the screen turned on.
1959 /// An enum of notification window's priority level.
1961 /// <since_tizen> 3 </since_tizen>
1962 public enum NotificationLevel {
1964 /// No notification level.<br />
1965 /// Default level.<br />
1966 /// This value makes the notification window place in the layer of the normal window.
1970 /// The base nofitication level.
1974 /// The medium notification level than base.
1978 /// The higher notification level than medium.
1982 /// The highest notification level.
1988 /// An enum of window types.
1990 /// <since_tizen> 3 </since_tizen>
1991 public enum WindowType {
1993 /// A default window type.<br />
1994 /// Indicates a normal or top-level window.
1995 /// Almost every window will be created with this type.
1999 /// A notification window, like a warning about battery life or a new email received.
2003 /// A persistent utility window, like a toolbox or a palette.
2007 /// Used for simple dialog windows.
2012 /// <since_tizen> 3 </since_tizen>
2013 public enum DisposeTypes
2018 /// <since_tizen> 3 </since_tizen>
2021 /// Called by DisposeQueue
2023 /// <since_tizen> 3 </since_tizen>
2030 /// [Obsolete("Please do not use! this will be deprecated")]
2032 /// <since_tizen> 3 </since_tizen>
2033 [Obsolete("Please do not use! this will be deprecated")]
2034 public struct AnchorPoint
2039 /// <since_tizen> 3 </since_tizen>
2040 public static float Top
2044 float ret = NDalicPINVOKE.AnchorPointTop_get();
2045 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2052 /// <since_tizen> 3 </since_tizen>
2053 public static float Bottom
2057 float ret = NDalicPINVOKE.AnchorPointBottom_get();
2058 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2065 /// <since_tizen> 3 </since_tizen>
2066 public static float Left
2070 float ret = NDalicPINVOKE.AnchorPointLeft_get();
2071 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2078 /// <since_tizen> 3 </since_tizen>
2079 public static float Right
2083 float ret = NDalicPINVOKE.AnchorPointRight_get();
2084 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2091 /// <since_tizen> 3 </since_tizen>
2092 public static float Middle
2096 float ret = NDalicPINVOKE.AnchorPointMiddle_get();
2097 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2104 /// <since_tizen> 3 </since_tizen>
2105 public static Position TopLeft
2109 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopLeft_get();
2110 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2111 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2118 /// <since_tizen> 3 </since_tizen>
2119 public static Position TopCenter
2123 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopCenter_get();
2124 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2125 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2132 /// <since_tizen> 3 </since_tizen>
2133 public static Position TopRight
2137 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopRight_get();
2138 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2139 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2146 /// <since_tizen> 3 </since_tizen>
2147 public static Position CenterLeft
2151 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterLeft_get();
2152 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2153 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2160 /// <since_tizen> 3 </since_tizen>
2161 public static Position Center
2165 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenter_get();
2166 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2167 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2174 /// <since_tizen> 3 </since_tizen>
2175 public static Position CenterRight
2179 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterRight_get();
2180 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2181 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2188 /// <since_tizen> 3 </since_tizen>
2189 public static Position BottomLeft
2193 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomLeft_get();
2194 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2195 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2202 /// <since_tizen> 3 </since_tizen>
2203 public static Position BottomCenter
2207 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomCenter_get();
2208 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2209 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2216 /// <since_tizen> 3 </since_tizen>
2217 public static Position BottomRight
2221 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomRight_get();
2222 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2223 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2230 /// An enum of the scroll state of the text eidtor.
2232 /// <since_tizen> 3 </since_tizen>
2233 public enum ScrollState
2236 /// Scrolling is started.
2241 /// Scrolling is finished.
2247 /// An enum of the line wrap mode of text controls.
2249 /// <since_tizen> 4 </since_tizen>
2250 public enum LineWrapMode
2253 /// The word mode will move a word to the next line.
2258 /// character will move character by character to the next line.