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.
447 /// This specifies the property access mode types.<br />
448 /// Enumeration for the access mode for custom properties.
450 /// <since_tizen> 3 </since_tizen>
451 public enum PropertyAccessMode
454 /// If the property is read-only.
458 /// If the property is read or writeable.
462 /// If the property can be animated or constrained.
466 /// The number of access modes.
472 /// Types of style change. Enumeration for the StyleChange type.
474 /// <since_tizen> 3 </since_tizen>
475 public enum StyleChangeType
478 /// Denotes that the default font has changed.
482 /// Denotes that the default font size has changed.
484 DefaultFontSizeChange,
486 /// Denotes that the theme has changed.
492 /// Enumeration for horizontal alignment types.
494 /// <since_tizen> 3 </since_tizen>
495 public enum HorizontalAlignmentType
498 /// Align horizontally left.
502 /// Align horizontally center.
506 /// Align horizontally right.
512 /// Enumeration for vertical alignment types.
514 /// <since_tizen> 3 </since_tizen>
515 public enum VerticalAlignmentType
518 /// Align vertically top.
522 /// Align vertically center.
526 /// Align vertically bottom.
532 /// Enumeration for point state type.
534 /// <since_tizen> 3 </since_tizen>
535 public enum PointStateType
538 /// Touch or hover started.
542 /// Touch or hover finished.
554 /// Finger dragged or hovered.
558 /// Leave the boundary of an actor.
562 /// No change from last event. <br />
563 /// 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.
567 /// A system event has occurred which has interrupted the touch or hover event sequence.
573 /// Enumeration for the text horizontal aligning.
575 /// <since_tizen> 3 </since_tizen>
576 public enum HorizontalAlignment
579 /// Texts place at the begin of horizontal direction.
583 /// Texts place at the center of horizontal direction.
587 /// Texts place at the end of horizontal direction.
593 /// Enumeration for the text horizontal aligning.
595 /// <since_tizen> 3 </since_tizen>
596 public enum VerticalAlignment
599 /// Texts place at the top of vertical direction.
603 /// Texts place at the center of vertical direction.
607 /// Texts place at the bottom of vertical direction.
613 /// This specifies wrap mode types.<br />
614 /// 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.
616 /// <since_tizen> 3 </since_tizen>
617 public enum WrapModeType
620 /// The default value.
638 /// The type of coordinate system for certain attributes of the points in a gradient.
640 /// <since_tizen> 3 </since_tizen>
641 public enum GradientVisualUnitsType
644 /// 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).
648 /// 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).
654 /// This specifies SpreadMethod types.<br />
655 /// SpreadMethod defines what happens if the gradient starts or ends inside the bounds of the target rectangle.<br />
657 /// <since_tizen> 3 </since_tizen>
658 public enum GradientVisualSpreadMethodType
661 /// Uses the terminal colors of the gradient to fill the remainder of the quad.
665 /// Reflects the gradient pattern start-to-end, end-to-start, start-to-end, etc. until the quad is filled.
669 /// Repeats the gradient pattern start-to-end, start-to-end, start-to-end, etc. until the quad is filled.
675 /// The shading mode used by the mesh visual.
677 /// <since_tizen> 3 </since_tizen>
678 public enum MeshVisualShadingModeValue
681 /// *Simplest*. One color that is lit by ambient and diffuse lighting.
683 TexturelessWithDiffuseLighting,
685 /// Uses only the visual image textures provided with specular lighting in addition to ambient and diffuse lighting.
687 TexturedWithSpecularLighting,
689 /// Uses all textures provided including gloss, normal, and texture map along with specular, ambient, and diffuse lighting.
691 TexturedWithDetailedSpecularLighting
695 /// The primitive shape to render as a primitive visual.
697 /// <since_tizen> 3 </since_tizen>
698 public enum PrimitiveVisualShapeType
701 /// A perfectly round geometrical object in the three-dimensional space.
705 /// The area bound between two circles, i.e., a cone with the tip removed.
709 /// Equivalent to a conical frustrum with the top radius of zero.
710 /// </summary>Equivalent to a conical frustrum with the top radius of zero.
713 /// Equivalent to a conical frustrum with the top radius of zero.
717 /// Equivalent to a conical frustrum with equal radii for the top and bottom circles.
721 /// Equivalent to a bevelled cube with a bevel percentage of zero.
725 /// Equivalent to a bevelled cube with a bevel percentage of one.
731 /// This specifies fitting mode types. Fitting options, used when resizing images to fit desired dimensions.<br />
732 /// A fitting mode controls the region of a loaded image to be mapped to the desired image rectangle.<br />
733 /// All fitting modes preserve the aspect ratio of the image contents.<br />
735 /// <since_tizen> 3 </since_tizen>
736 public enum FittingModeType
739 /// Full-screen image display: Limit loaded image resolution to device resolution using the ShrinkToFit mode.
743 /// Thumbnail gallery grid: Limit loaded image resolution to screen tile using the ScaleToFill mode.
747 /// Image columns: Limit loaded image resolution to column width using the FitWidth mode.
751 /// Image rows: Limit loaded image resolution to row height using the FitHeight mode.
757 /// This specifies sampling mode types. Filtering options are used when resizing images to sample original pixels.<br />
758 /// A SamplingMode controls how pixels in an input image are sampled and combined to generate each pixel of a destination image during scaling.<br />
759 /// 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 />
760 /// but all other filter modes do if the desired dimensions are not more than the raw dimensions of the input image file.<br />
762 /// <since_tizen> 3 </since_tizen>
763 public enum SamplingModeType
766 /// Iteratively box filter to generate an image of 1/2, 1/4, 1/8, etc. width and height and approximately the desired size. <br />
767 /// This is the default.
771 /// For each output pixel, read one input pixel.
775 /// For each output pixel, read a quad of four input pixels and write a weighted average of them.
779 /// Iteratively box filter to generate an image of 1/2, 1/4, 1/8, etc. width and height and approximately the desired size, <br />
780 /// then for each output pixel, read one pixel from the last level of box filtering.<br />
784 /// 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.
788 /// 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.
792 /// For caching algorithms where a client strongly prefers a cache-hit to reuse a cached image.
798 /// This specifies policy types that could be used by the transform for the offset or size.
800 /// <since_tizen> 3 </since_tizen>
801 public enum VisualTransformPolicyType
804 /// Relative to the control (percentage [0.0f to 1.0f] of the control).
808 /// Absolute value in world units.
814 /// This specifies all the transform property types.
816 /// <since_tizen> 3 </since_tizen>
817 public enum VisualTransformPropertyType
820 /// Offset of the visual, which can be either relative (percentage [0.0f to 1.0f] of the parent) or absolute (in world units).
824 /// Size of the visual, which can be either relative (percentage [0.0f to 1.0f] of the parent) or absolute (in world units).
828 /// The origin of the visual within its control area.
832 /// The anchor-point of the visual.
836 /// Whether the x or y offset values are relative (percentage [0.0f to 1.0f] of the control) or absolute (in world units).
840 /// Whether the width or the height size values are relative (percentage [0.0f to 1.0f] of the control) or absolute (in world units).
846 /// This specifies visual types.
848 /// <since_tizen> 3 </since_tizen>
852 /// The index for the visual type.
854 /// <since_tizen> 3 </since_tizen>
858 /// Renders a solid color as an internal border to the control's quad.
862 /// Renders a solid color to the control's quad.
866 /// Renders a smooth transition of colors to the control's quad.
870 /// Renders an image into the control's quad.
874 /// Renders a mesh using an "obj" file, optionally with textures provided by an "mtl" file.
878 /// Renders a simple 3D shape, such as a cube or a sphere.
882 /// Renders a simple wire-frame outlining a quad.
890 /// Renders an n-patch image.
894 /// Renders an SVG image.
898 /// Renders a animated image (animated GIF).
904 /// This specifies visual properties.
906 /// <since_tizen> 3 </since_tizen>
907 public struct Property
912 /// <since_tizen> 3 </since_tizen>
913 public static readonly int Type = NDalic.VISUAL_PROPERTY_TYPE;
917 /// <since_tizen> 3 </since_tizen>
918 public static readonly int Shader = NDalic.VISUAL_PROPERTY_SHADER;
922 /// <since_tizen> 3 </since_tizen>
923 public static readonly int Transform = NDalic.VISUAL_PROPERTY_TRANSFORM;
925 /// PremultipliedAlpha.
927 /// <since_tizen> 3 </since_tizen>
928 public static readonly int PremultipliedAlpha = NDalic.VISUAL_PROPERTY_PREMULTIPLIED_ALPHA;
932 /// <since_tizen> 3 </since_tizen>
933 public static readonly int MixColor = NDalic.VISUAL_PROPERTY_MIX_COLOR;
937 /// <since_tizen> 3 </since_tizen>
938 public static readonly int Opacity = NDalic.VISUAL_PROPERTY_MIX_COLOR + 1;
942 /// This specifies shader properties.
944 /// <since_tizen> 3 </since_tizen>
945 public struct ShaderProperty
948 /// Vertex shader code
950 /// <since_tizen> 3 </since_tizen>
951 public static readonly int VertexShader = NDalic.VISUAL_SHADER_VERTEX;
953 /// Fragment shader code
955 /// <since_tizen> 3 </since_tizen>
956 public static readonly int FragmentShader = NDalic.VISUAL_SHADER_FRAGMENT;
958 /// How to subdivide the grid along X
960 /// <since_tizen> 3 </since_tizen>
961 public static readonly int ShaderSubdivideGridX = NDalic.VISUAL_SHADER_SUBDIVIDE_GRID_X;
963 /// How to subdivide the grid along Y
965 /// <since_tizen> 3 </since_tizen>
966 public static readonly int ShaderSubdivideGridY = NDalic.VISUAL_SHADER_SUBDIVIDE_GRID_Y;
970 /// <since_tizen> 3 </since_tizen>
971 public static readonly int ShaderHints = NDalic.VISUAL_SHADER_HINTS;
975 /// This specifies visaul align types.
977 /// <since_tizen> 3 </since_tizen>
978 public enum AlignType
983 /// <since_tizen> 3 </since_tizen>
988 /// <since_tizen> 3 </since_tizen>
993 /// <since_tizen> 3 </since_tizen>
998 /// <since_tizen> 3 </since_tizen>
1003 /// <since_tizen> 3 </since_tizen>
1008 /// <since_tizen> 3 </since_tizen>
1013 /// <since_tizen> 3 </since_tizen>
1018 /// <since_tizen> 3 </since_tizen>
1023 /// <since_tizen> 3 </since_tizen>
1029 /// This specifies properties of the BorderVisual.
1031 /// <since_tizen> 3 </since_tizen>
1032 public struct BorderVisualProperty
1035 /// The color of the border.
1037 /// <since_tizen> 3 </since_tizen>
1038 public static readonly int Color = NDalic.BORDER_VISUAL_COLOR;
1040 /// The width of the border (in pixels).
1042 /// <since_tizen> 3 </since_tizen>
1043 public static readonly int Size = NDalic.BORDER_VISUAL_SIZE;
1045 /// Whether anti-aliasing of the border is required.
1047 /// <since_tizen> 3 </since_tizen>
1048 public static readonly int AntiAliasing = NDalic.BORDER_VISUAL_ANTI_ALIASING;
1052 /// This specifies properties of the ColorVisual.
1054 /// <since_tizen> 3 </since_tizen>
1055 public struct ColorVisualProperty
1058 /// The solid color required.
1060 /// <since_tizen> 3 </since_tizen>
1061 public static readonly int MixColor = NDalic.COLOR_VISUAL_MIX_COLOR;
1065 /// This specifies properties of the GradientVisual.
1067 /// <since_tizen> 3 </since_tizen>
1068 public struct GradientVisualProperty
1071 /// The start position of a linear gradient.
1073 /// <since_tizen> 3 </since_tizen>
1074 public static readonly int StartPosition = NDalic.GRADIENT_VISUAL_START_POSITION;
1076 /// The end position of a linear gradient.
1078 /// <since_tizen> 3 </since_tizen>
1079 public static readonly int EndPosition = NDalic.GRADIENT_VISUAL_END_POSITION;
1081 /// The center point of a radial gradient.
1083 /// <since_tizen> 3 </since_tizen>
1084 public static readonly int Center = NDalic.GRADIENT_VISUAL_CENTER;
1086 /// The size of the radius of a radial gradient.
1088 /// <since_tizen> 3 </since_tizen>
1089 public static readonly int Radius = NDalic.GRADIENT_VISUAL_RADIUS;
1091 /// All the stop offsets.
1093 /// <since_tizen> 3 </since_tizen>
1094 public static readonly int StopOffset = NDalic.GRADIENT_VISUAL_STOP_OFFSET;
1096 /// The color at the stop offsets.
1098 /// <since_tizen> 3 </since_tizen>
1099 public static readonly int StopColor = NDalic.GRADIENT_VISUAL_STOP_COLOR;
1101 /// Defines the coordinate system for certain attributes of the points in a gradient.
1103 /// <since_tizen> 3 </since_tizen>
1104 public static readonly int Units = NDalic.GRADIENT_VISUAL_UNITS;
1106 /// Indicates what happens if the gradient starts or ends inside the bounds of the target rectangle.
1108 /// <since_tizen> 3 </since_tizen>
1109 public static readonly int SpreadMethod = NDalic.GRADIENT_VISUAL_SPREAD_METHOD;
1113 /// This specifies properties of the ImageVisual.
1115 /// <since_tizen> 3 </since_tizen>
1116 public struct ImageVisualProperty
1119 /// The URL of the image.
1121 public static readonly int URL = NDalic.IMAGE_VISUAL_URL;
1123 /// The URL of the alpha mask image.
1125 public static readonly int AlphaMaskURL = NDalic.IMAGE_VISUAL_ALPHA_MASK_URL;
1127 /// Fitting options, used when resizing images to fit desired dimensions.
1129 public static readonly int FittingMode = NDalic.IMAGE_VISUAL_FITTING_MODE;
1131 /// Filtering options, used when resizing images to sample original pixels.
1133 public static readonly int SamplingMode = NDalic.IMAGE_VISUAL_SAMPLING_MODE;
1135 /// The desired image width.
1137 public static readonly int DesiredWidth = NDalic.IMAGE_VISUAL_DESIRED_WIDTH;
1139 /// The desired image height.
1141 public static readonly int DesiredHeight = NDalic.IMAGE_VISUAL_DESIRED_HEIGHT;
1143 /// Whether to load the image synchronously.
1145 public static readonly int SynchronousLoading = NDalic.IMAGE_VISUAL_SYNCHRONOUS_LOADING;
1147 /// If true, only draws the borders.
1149 public static readonly int BorderOnly = NDalic.IMAGE_VISUAL_BORDER_ONLY;
1151 /// The image area to be displayed.
1153 public static readonly int PixelArea = NDalic.IMAGE_VISUAL_PIXEL_AREA;
1155 /// The wrap mode for u coordinate.
1157 public static readonly int WrapModeU = NDalic.IMAGE_VISUAL_WRAP_MODE_U;
1159 /// The wrap mode for v coordinate.
1161 public static readonly int WrapModeV = NDalic.IMAGE_VISUAL_WRAP_MODE_V;
1163 /// The border of the image.
1165 public static readonly int Border = NDalic.IMAGE_VISUAL_BORDER;
1167 /// The scale factor to apply to the content image before masking.
1169 public static readonly int MaskContentScale = NDalic.IMAGE_VISUAL_MASK_CONTENT_SCALE;
1171 /// Whether to crop image to mask or scale mask to fit image
1173 public static readonly int CropToMask = NDalic.IMAGE_VISUAL_CROP_TO_MASK;
1175 /// Defines the batch size for pre-loading images in the AnimatedImageVisual
1177 public static readonly int BatchSize = NDalic.IMAGE_VISUAL_BATCH_SIZE;
1179 /// Defines the cache size for loading images in the AnimatedImageVisual
1181 public static readonly int CacheSize = NDalic.IMAGE_VISUAL_CACHE_SIZE;
1183 /// The number of milliseconds between each frame in the AnimatedImageVisual
1185 public static readonly int FrameDelay = NDalic.IMAGE_VISUAL_FRAME_DELAY;
1190 /// This specifies properties of the MeshVisual.
1192 /// <since_tizen> 3 </since_tizen>
1193 public struct MeshVisualProperty
1196 /// The location of the ".obj" file.
1198 public static readonly int ObjectURL = NDalic.MESH_VISUAL_OBJECT_URL;
1200 /// The location of the ".mtl" file.
1202 public static readonly int MaterialtURL = NDalic.MESH_VISUAL_MATERIAL_URL;
1204 /// Path to the directory the textures (including gloss and normal) are stored in.
1206 public static readonly int TexturesPath = NDalic.MESH_VISUAL_TEXTURES_PATH;
1208 /// Sets the type of shading mode that the mesh will use.
1210 public static readonly int ShadingMode = NDalic.MESH_VISUAL_SHADING_MODE;
1212 /// Whether to use mipmaps for textures or not.
1214 public static readonly int UseMipmapping = NDalic.MESH_VISUAL_USE_MIPMAPPING;
1216 /// Whether to average normals at each point to smooth textures or not.
1218 public static readonly int UseSoftNormals = NDalic.MESH_VISUAL_USE_SOFT_NORMALS;
1220 /// The position, in stage space, of the point light that applies lighting to the model.
1222 public static readonly int LightPosition = NDalic.MESH_VISUAL_LIGHT_POSITION;
1226 /// This specifies properties of the PrimitiveVisual.
1228 /// <since_tizen> 3 </since_tizen>
1229 public struct PrimitiveVisualProperty
1232 /// The specific shape to render.
1234 public static readonly int Shape = NDalic.PRIMITIVE_VISUAL_SHAPE;
1236 /// The color of the shape.
1238 public static readonly int MixColor = NDalic.PRIMITIVE_VISUAL_MIX_COLOR;
1240 /// The number of slices as you go around the shape.
1242 public static readonly int Slices = NDalic.PRIMITIVE_VISUAL_SLICES;
1244 /// The number of stacks as you go down the shape.
1246 public static readonly int Stacks = NDalic.PRIMITIVE_VISUAL_STACKS;
1248 /// The scale of the radius of the top circle of a conical frustrum.
1250 public static readonly int ScaleTopRadius = NDalic.PRIMITIVE_VISUAL_SCALE_TOP_RADIUS;
1252 /// The scale of the radius of the bottom circle of a conical frustrum.
1254 public static readonly int ScaleBottomRadius = NDalic.PRIMITIVE_VISUAL_SCALE_BOTTOM_RADIUS;
1256 /// The scale of the height of a conic.
1258 public static readonly int ScaleHeight = NDalic.PRIMITIVE_VISUAL_SCALE_HEIGHT;
1260 /// The scale of the radius of a cylinder.
1262 public static readonly int ScaleRadius = NDalic.PRIMITIVE_VISUAL_SCALE_RADIUS;
1264 /// The dimensions of a cuboid. Scales in the same fashion as a 9-patch image.
1266 public static readonly int ScaleDimensions = NDalic.PRIMITIVE_VISUAL_SCALE_DIMENSIONS;
1268 /// Determines how bevelled the cuboid should be, based off the smallest dimension.
1270 public static readonly int BevelPercentage = NDalic.PRIMITIVE_VISUAL_BEVEL_PERCENTAGE;
1272 /// Defines how smooth the bevelled edges should be.
1274 public static readonly int BevelSmoothness = NDalic.PRIMITIVE_VISUAL_BEVEL_SMOOTHNESS;
1276 /// The position, in stage space, of the point light that applies lighting to the model.
1278 public static readonly int LightPosition = NDalic.PRIMITIVE_VISUAL_LIGHT_POSITION;
1282 /// This specifies properties of the TextVisual.
1284 /// <since_tizen> 3 </since_tizen>
1285 public struct TextVisualProperty
1288 /// The text to display in UTF-8 format.
1290 public static readonly int Text = NDalic.TEXT_VISUAL_TEXT;
1292 /// The requested font family to use.
1294 public static readonly int FontFamily = NDalic.TEXT_VISUAL_FONT_FAMILY;
1296 /// The requested font style to use.
1298 public static readonly int FontStyle = NDalic.TEXT_VISUAL_FONT_STYLE;
1300 /// The size of font in points.
1302 public static readonly int PointSize = NDalic.TEXT_VISUAL_POINT_SIZE;
1304 /// The single-line or multi-line layout option.
1306 public static readonly int MultiLine = NDalic.TEXT_VISUAL_MULTI_LINE;
1308 /// The line horizontal alignment.
1310 public static readonly int HorizontalAlignment = NDalic.TEXT_VISUAL_HORIZONTAL_ALIGNMENT;
1312 /// The line vertical alignment.
1314 public static readonly int VerticalAlignment = NDalic.TEXT_VISUAL_VERTICAL_ALIGNMENT;
1316 /// The color of the text.
1318 public static readonly int TextColor = NDalic.TEXT_VISUAL_TEXT_COLOR;
1320 /// Whether the mark-up processing is enabled.
1322 public static readonly int EnableMarkup = NDalic.TEXT_VISUAL_ENABLE_MARKUP;
1326 /// This specifies properties of the NpatchImageVisual.
1328 /// <since_tizen> 3 </since_tizen>
1329 public struct NpatchImageVisualProperty
1332 /// The URL of the image.
1334 public static readonly int URL = NDalic.IMAGE_VISUAL_URL;
1336 /// Fitting options, used when resizing images to fit desired dimensions.
1338 public static readonly int FittingMode = NDalic.IMAGE_VISUAL_FITTING_MODE;
1340 /// Filtering options, used when resizing images to sample original pixels.
1342 public static readonly int SamplingMode = NDalic.IMAGE_VISUAL_SAMPLING_MODE;
1344 /// The desired image width.
1346 public static readonly int DesiredWidth = NDalic.IMAGE_VISUAL_DESIRED_WIDTH;
1348 /// The desired image height.
1350 public static readonly int DesiredHeight = NDalic.IMAGE_VISUAL_DESIRED_HEIGHT;
1352 /// Whether to load the image synchronously.
1354 public static readonly int SynchronousLoading = NDalic.IMAGE_VISUAL_SYNCHRONOUS_LOADING;
1356 /// If true, only draws the borders.
1358 public static readonly int BorderOnly = NDalic.IMAGE_VISUAL_BORDER_ONLY;
1360 /// The image area to be displayed.
1362 public static readonly int PixelArea = NDalic.IMAGE_VISUAL_PIXEL_AREA;
1364 /// The wrap mode for u coordinate.
1366 public static readonly int WrapModeU = NDalic.IMAGE_VISUAL_WRAP_MODE_U;
1368 /// The wrap mode for v coordinate.
1370 public static readonly int WrapModeV = NDalic.IMAGE_VISUAL_WRAP_MODE_V;
1372 /// The border of the image.
1374 public static readonly int Border = NDalic.IMAGE_VISUAL_WRAP_MODE_V + 1;
1378 /// The HiddenInput property.
1380 /// <since_tizen> 3 </since_tizen>
1381 public struct HiddenInputProperty
1384 /// The mode for input text display.
1386 public static readonly int Mode = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_MODE_get();
1388 /// All input characters are substituted by this character.
1390 public static readonly int SubstituteCharacter = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_SUBSTITUTE_CHARACTER_get();
1392 /// Length of text to show or hide, available when HIDE_COUNT/SHOW_COUNT mode is used.
1394 public static readonly int SubstituteCount = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_SUBSTITUTE_COUNT_get();
1396 /// Hide last character after this duration, available when SHOW_LAST_CHARACTER mode.
1398 public static readonly int ShowLastCharacterDuration = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_SHOW_LAST_CHARACTER_DURATION_get();
1402 /// The type for HiddenInput mode.
1404 /// <since_tizen> 3 </since_tizen>
1405 public enum HiddenInputModeType
1408 /// Don't hide text.
1412 /// Hide all the input text.
1416 /// Hide n characters from start.
1420 /// Show n characters from start.
1424 /// Show last character for the duration(use ShowLastCharacterDuration property to modify duration).
1430 /// ParentOrigin constants.
1432 /// <since_tizen> 3 </since_tizen>
1433 public struct ParentOrigin
1438 /// <since_tizen> 3 </since_tizen>
1439 public static float Top
1443 float ret = NDalicPINVOKE.ParentOriginTop_get();
1444 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1452 /// <since_tizen> 3 </since_tizen>
1453 public static float Bottom
1457 float ret = NDalicPINVOKE.ParentOriginBottom_get();
1458 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1466 /// <since_tizen> 3 </since_tizen>
1467 public static float Left
1471 float ret = NDalicPINVOKE.ParentOriginLeft_get();
1472 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1480 /// <since_tizen> 3 </since_tizen>
1481 public static float Right
1485 float ret = NDalicPINVOKE.ParentOriginRight_get();
1486 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1494 /// <since_tizen> 3 </since_tizen>
1495 public static float Middle
1499 float ret = NDalicPINVOKE.ParentOriginMiddle_get();
1500 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1508 /// <since_tizen> 3 </since_tizen>
1509 public static Position TopLeft
1513 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopLeft_get();
1514 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1515 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1523 /// <since_tizen> 3 </since_tizen>
1524 public static Position TopCenter
1528 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopCenter_get();
1529 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1530 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1538 /// <since_tizen> 3 </since_tizen>
1539 public static Position TopRight
1543 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopRight_get();
1544 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1545 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1553 /// <since_tizen> 3 </since_tizen>
1554 public static Position CenterLeft
1558 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenterLeft_get();
1559 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1560 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1568 /// <since_tizen> 3 </since_tizen>
1569 public static Position Center
1573 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenter_get();
1574 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1575 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1583 /// <since_tizen> 3 </since_tizen>
1584 public static Position CenterRight
1588 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenterRight_get();
1589 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1590 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1598 /// <since_tizen> 3 </since_tizen>
1599 public static Position BottomLeft
1603 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomLeft_get();
1604 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1605 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1613 /// <since_tizen> 3 </since_tizen>
1614 public static Position BottomCenter
1618 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomCenter_get();
1619 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1620 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1628 /// <since_tizen> 3 </since_tizen>
1629 public static Position BottomRight
1633 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomRight_get();
1634 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1635 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1642 /// PivotPoint constants.
1644 /// <since_tizen> 3 </since_tizen>
1645 public struct PivotPoint
1650 /// <since_tizen> 3 </since_tizen>
1651 public static float Top
1655 float ret = NDalicPINVOKE.AnchorPointTop_get();
1656 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1663 /// <since_tizen> 3 </since_tizen>
1664 public static float Bottom
1668 float ret = NDalicPINVOKE.AnchorPointBottom_get();
1669 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1676 /// <since_tizen> 3 </since_tizen>
1677 public static float Left
1681 float ret = NDalicPINVOKE.AnchorPointLeft_get();
1682 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1689 /// <since_tizen> 3 </since_tizen>
1690 public static float Right
1694 float ret = NDalicPINVOKE.AnchorPointRight_get();
1695 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1702 /// <since_tizen> 3 </since_tizen>
1703 public static float Middle
1707 float ret = NDalicPINVOKE.AnchorPointMiddle_get();
1708 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1715 /// <since_tizen> 3 </since_tizen>
1716 public static Position TopLeft
1720 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopLeft_get();
1721 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1722 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1729 /// <since_tizen> 3 </since_tizen>
1730 public static Position TopCenter
1734 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopCenter_get();
1735 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1736 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1743 /// <since_tizen> 3 </since_tizen>
1744 public static Position TopRight
1748 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopRight_get();
1749 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1750 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1757 /// <since_tizen> 3 </since_tizen>
1758 public static Position CenterLeft
1762 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterLeft_get();
1763 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1764 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1771 /// <since_tizen> 3 </since_tizen>
1772 public static Position Center
1776 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenter_get();
1777 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1778 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1785 /// <since_tizen> 3 </since_tizen>
1786 public static Position CenterRight
1790 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterRight_get();
1791 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1792 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1799 /// <since_tizen> 3 </since_tizen>
1800 public static Position BottomLeft
1804 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomLeft_get();
1805 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1806 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1813 /// <since_tizen> 3 </since_tizen>
1814 public static Position BottomCenter
1818 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomCenter_get();
1819 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1820 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1827 /// <since_tizen> 3 </since_tizen>
1828 public static Position BottomRight
1832 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomRight_get();
1833 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1834 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1840 /// PositionAxis constants.
1842 /// <since_tizen> 3 </since_tizen>
1843 public struct PositionAxis
1848 /// <since_tizen> 3 </since_tizen>
1849 public static Position X
1853 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_XAXIS_get();
1854 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1855 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1862 /// <since_tizen> 3 </since_tizen>
1863 public static Position Y
1867 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_YAXIS_get();
1868 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1869 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1876 /// <since_tizen> 3 </since_tizen>
1877 public static Position Z
1881 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_ZAXIS_get();
1882 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1883 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1888 /// The Negative X axis
1890 /// <since_tizen> 3 </since_tizen>
1891 public static Position NegativeX
1895 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_XAXIS_get();
1896 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1897 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1902 /// The Negative Y axis
1904 /// <since_tizen> 3 </since_tizen>
1905 public static Position NegativeY
1909 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_YAXIS_get();
1910 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1911 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1916 /// The Negative Z axis
1918 /// <since_tizen> 3 </since_tizen>
1919 public static Position NegativeZ
1923 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_ZAXIS_get();
1924 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1925 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1932 /// Auto scrolling stop behavior.
1934 /// <since_tizen> 3 </since_tizen>
1935 public enum AutoScrollStopMode
1938 /// Stop animation after current loop finished.
1942 /// Stop animation immediately and reset position.
1948 /// An enum of screen mode.
1950 /// <since_tizen> 3 </since_tizen>
1951 public enum ScreenOffMode {
1953 /// The mode which turns the screen off after a timeout.
1957 /// The mode which keeps the screen turned on.
1963 /// An enum of notification window's priority level.
1965 /// <since_tizen> 3 </since_tizen>
1966 public enum NotificationLevel {
1968 /// No notification level.<br />
1969 /// Default level.<br />
1970 /// This value makes the notification window place in the layer of the normal window.
1974 /// The base nofitication level.
1978 /// The medium notification level than base.
1982 /// The higher notification level than medium.
1986 /// The highest notification level.
1992 /// An enum of window types.
1994 /// <since_tizen> 3 </since_tizen>
1995 public enum WindowType {
1997 /// A default window type.<br />
1998 /// Indicates a normal or top-level window.
1999 /// Almost every window will be created with this type.
2003 /// A notification window, like a warning about battery life or a new email received.
2007 /// A persistent utility window, like a toolbox or a palette.
2011 /// Used for simple dialog windows.
2016 /// <since_tizen> 3 </since_tizen>
2017 public enum DisposeTypes
2022 /// <since_tizen> 3 </since_tizen>
2025 /// Called by DisposeQueue
2027 /// <since_tizen> 3 </since_tizen>
2034 /// [Obsolete("Please do not use! this will be deprecated")]
2036 /// <since_tizen> 3 </since_tizen>
2037 [Obsolete("Please do not use! this will be deprecated")]
2038 public struct AnchorPoint
2043 /// <since_tizen> 3 </since_tizen>
2044 public static float Top
2048 float ret = NDalicPINVOKE.AnchorPointTop_get();
2049 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2056 /// <since_tizen> 3 </since_tizen>
2057 public static float Bottom
2061 float ret = NDalicPINVOKE.AnchorPointBottom_get();
2062 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2069 /// <since_tizen> 3 </since_tizen>
2070 public static float Left
2074 float ret = NDalicPINVOKE.AnchorPointLeft_get();
2075 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2082 /// <since_tizen> 3 </since_tizen>
2083 public static float Right
2087 float ret = NDalicPINVOKE.AnchorPointRight_get();
2088 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2095 /// <since_tizen> 3 </since_tizen>
2096 public static float Middle
2100 float ret = NDalicPINVOKE.AnchorPointMiddle_get();
2101 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2108 /// <since_tizen> 3 </since_tizen>
2109 public static Position TopLeft
2113 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopLeft_get();
2114 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2115 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2122 /// <since_tizen> 3 </since_tizen>
2123 public static Position TopCenter
2127 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopCenter_get();
2128 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2129 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2136 /// <since_tizen> 3 </since_tizen>
2137 public static Position TopRight
2141 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopRight_get();
2142 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2143 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2150 /// <since_tizen> 3 </since_tizen>
2151 public static Position CenterLeft
2155 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterLeft_get();
2156 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2157 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2164 /// <since_tizen> 3 </since_tizen>
2165 public static Position Center
2169 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenter_get();
2170 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2171 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2178 /// <since_tizen> 3 </since_tizen>
2179 public static Position CenterRight
2183 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterRight_get();
2184 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2185 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2192 /// <since_tizen> 3 </since_tizen>
2193 public static Position BottomLeft
2197 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomLeft_get();
2198 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2199 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2206 /// <since_tizen> 3 </since_tizen>
2207 public static Position BottomCenter
2211 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomCenter_get();
2212 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2213 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2220 /// <since_tizen> 3 </since_tizen>
2221 public static Position BottomRight
2225 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomRight_get();
2226 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2227 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2234 /// An enum of the scroll state of the text eidtor.
2236 /// <since_tizen> 3 </since_tizen>
2237 public enum ScrollState
2240 /// Scrolling is started.
2245 /// Scrolling is finished.
2251 /// An enum of the line wrap mode of text controls.
2253 /// <since_tizen> 4 </since_tizen>
2254 public enum LineWrapMode
2257 /// The word mode will move a word to the next line.
2262 /// character will move character by character to the next line.