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).
204 /// <since_tizen> 4 </since_tizen>
209 /// Enumeration for type determination of how the camera operates.
211 /// <since_tizen> 3 </since_tizen>
212 public enum CameraType
215 /// Camera orientation is taken from the CameraActor.
219 /// Camera is oriented to always look at a target.
225 /// Enumeration for the projection modes.
227 /// <since_tizen> 3 </since_tizen>
228 public enum ProjectionMode
231 /// Distance causes foreshortening; objects further from the camera appear smaller.
233 PerspectiveProjection,
235 /// Relative distance from the camera does not affect the size of objects.
237 OrthographicProjection
241 /// This specifies customView behavior types.
243 /// <since_tizen> 3 </since_tizen>
244 public enum CustomViewBehaviour
247 /// Use to provide default behavior (size negotiation is on, event callbacks are not called).
249 ViewBehaviourDefault = 0,
251 /// True if the control does not need size negotiation, i.e., it can be skipped in the algorithm.
253 DisableSizeNegotiation = 1 << 0,
255 /// Use to provide key navigation support.
257 RequiresKeyboardNavigationSupport = 1 << 5,
259 /// Use to make style change event disabled.
261 DisableStyleChangeSignals = 1 << 6,
263 /// Please do not use! This will be deprecated!
265 /// <since_tizen> 3 </since_tizen>
266 [Obsolete("Please do not use! This will be deprecated!")]
267 [EditorBrowsable(EditorBrowsableState.Never)]
268 LastViewBehaviourFlag
272 /// An enum of Device Class types.
274 /// <since_tizen> 3 </since_tizen>
275 public enum DeviceClassType
280 /// <since_tizen> 3 </since_tizen>
283 /// The user/seat (the user themselves).
285 /// <since_tizen> 3 </since_tizen>
288 /// A regular keyboard, numberpad or attached buttons.
290 /// <since_tizen> 3 </since_tizen>
293 /// A mouse, trackball or touchpad relative motion device.
295 /// <since_tizen> 3 </since_tizen>
298 /// A touchscreen with fingers or stylus.
300 /// <since_tizen> 3 </since_tizen>
303 /// A special pen device.
305 /// <since_tizen> 3 </since_tizen>
308 /// A pointing device based on laser, infrared or similar technology.
310 /// <since_tizen> 3 </since_tizen>
313 /// A gamepad controller or joystick.
315 /// <since_tizen> 3 </since_tizen>
320 /// An enum of Device Subclass types.
322 /// <since_tizen> 4 </since_tizen>
323 public enum DeviceSubClassType
328 /// <since_tizen> 4 </since_tizen>
331 /// The normal flat of your finger
333 /// <since_tizen> 4 </since_tizen>
338 /// <since_tizen> 4 </since_tizen>
343 /// <since_tizen> 4 </since_tizen>
346 /// The palm of a users hand
348 /// <since_tizen> 4 </since_tizen>
351 /// The side of your hand
353 /// <since_tizen> 4 </since_tizen>
356 /// The flat of your hand
358 /// <since_tizen> 4 </since_tizen>
363 /// <since_tizen> 4 </since_tizen>
366 /// A trackpad style mouse
368 /// <since_tizen> 4 </since_tizen>
371 /// A trackpoint style mouse
373 /// <since_tizen> 4 </since_tizen>
376 /// A trackball style mouse
378 /// <since_tizen> 4 </since_tizen>
381 /// A remote controller
383 /// <since_tizen> 4 </since_tizen>
386 /// A virtual keyboard
388 /// <since_tizen> 4 </since_tizen>
393 /// This specifies all the property types.<br />
394 /// Enumeration for the property types supported.
396 /// <since_tizen> 3 </since_tizen>
397 public enum PropertyType
416 /// A vector array of size=2 with float precision.
420 /// A vector array of size=3 with float precision.
424 /// A vector array of size=4 with float precision.
436 /// An integer array of size=4.
440 /// Either a quaternion or an axis angle rotation.
448 /// An array of PropertyValue.
452 /// A string key to PropertyValue mapping.
458 /// <since_tizen> 4 </since_tizen>
463 /// This specifies the property access mode types.<br />
464 /// Enumeration for the access mode for custom properties.
466 /// <since_tizen> 3 </since_tizen>
467 public enum PropertyAccessMode
470 /// If the property is read-only.
474 /// If the property is read or writeable.
478 /// If the property can be animated or constrained.
482 /// The number of access modes.
488 /// Types of style change. Enumeration for the StyleChange type.
490 /// <since_tizen> 3 </since_tizen>
491 public enum StyleChangeType
494 /// Denotes that the default font has changed.
498 /// Denotes that the default font size has changed.
500 DefaultFontSizeChange,
502 /// Denotes that the theme has changed.
508 /// Enumeration for horizontal alignment types.
510 /// <since_tizen> 3 </since_tizen>
511 public enum HorizontalAlignmentType
514 /// Align horizontally left.
518 /// Align horizontally center.
522 /// Align horizontally right.
528 /// Enumeration for vertical alignment types.
530 /// <since_tizen> 3 </since_tizen>
531 public enum VerticalAlignmentType
534 /// Align vertically top.
538 /// Align vertically center.
542 /// Align vertically bottom.
548 /// Enumeration for point state type.
550 /// <since_tizen> 3 </since_tizen>
551 public enum PointStateType
554 /// Touch or hover started.
558 /// Touch or hover finished.
570 /// Finger dragged or hovered.
574 /// Leave the boundary of an actor.
578 /// No change from last event. <br />
579 /// 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.
583 /// A system event has occurred which has interrupted the touch or hover event sequence.
589 /// Enumeration for the text horizontal aligning.
591 /// <since_tizen> 3 </since_tizen>
592 public enum HorizontalAlignment
595 /// Texts place at the begin of horizontal direction.
599 /// Texts place at the center of horizontal direction.
603 /// Texts place at the end of horizontal direction.
609 /// Enumeration for the text horizontal aligning.
611 /// <since_tizen> 3 </since_tizen>
612 public enum VerticalAlignment
615 /// Texts place at the top of vertical direction.
619 /// Texts place at the center of vertical direction.
623 /// Texts place at the bottom of vertical direction.
629 /// This specifies wrap mode types.<br />
630 /// 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.
632 /// <since_tizen> 3 </since_tizen>
633 public enum WrapModeType
636 /// The default value.
654 /// Specifies the Release Policy types <br />
655 /// Decides if the image should be cached in different conditions
657 /// <since_tizen> 5 </since_tizen>
658 /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
659 [EditorBrowsable(EditorBrowsableState.Never)]
660 public enum ReleasePolicyType
663 /// Image is released when visual detached from scene
667 /// Image is only released when visual is destroyed
671 /// Image is not released.
677 /// Specifies the Load Policy types <br />
678 /// Decides when the image texture should be loaded
680 /// <since_tizen> 5 </since_tizen>
681 /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
682 [EditorBrowsable(EditorBrowsableState.Never)]
683 public enum LoadPolicyType
686 /// Load texture once the image source has been provided. Even if not being used yet.
690 /// Only load texture once the visual is attached, when the image needs to be shown.
697 /// The type of coordinate system for certain attributes of the points in a gradient.
699 /// <since_tizen> 3 </since_tizen>
700 public enum GradientVisualUnitsType
703 /// 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).
707 /// 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).
713 /// This specifies SpreadMethod types.<br />
714 /// SpreadMethod defines what happens if the gradient starts or ends inside the bounds of the target rectangle.<br />
716 /// <since_tizen> 3 </since_tizen>
717 public enum GradientVisualSpreadMethodType
720 /// Uses the terminal colors of the gradient to fill the remainder of the quad.
724 /// Reflects the gradient pattern start-to-end, end-to-start, start-to-end, etc. until the quad is filled.
728 /// Repeats the gradient pattern start-to-end, start-to-end, start-to-end, etc. until the quad is filled.
734 /// The shading mode used by the mesh visual.
736 /// <since_tizen> 3 </since_tizen>
737 public enum MeshVisualShadingModeValue
740 /// *Simplest*. One color that is lit by ambient and diffuse lighting.
742 TexturelessWithDiffuseLighting,
744 /// Uses only the visual image textures provided with specular lighting in addition to ambient and diffuse lighting.
746 TexturedWithSpecularLighting,
748 /// Uses all textures provided including gloss, normal, and texture map along with specular, ambient, and diffuse lighting.
750 TexturedWithDetailedSpecularLighting
754 /// The primitive shape to render as a primitive visual.
756 /// <since_tizen> 3 </since_tizen>
757 public enum PrimitiveVisualShapeType
760 /// A perfectly round geometrical object in the three-dimensional space.
764 /// The area bound between two circles, i.e., a cone with the tip removed.
768 /// Equivalent to a conical frustrum with the top radius of zero.
769 /// </summary>Equivalent to a conical frustrum with the top radius of zero.
772 /// Equivalent to a conical frustrum with the top radius of zero.
776 /// Equivalent to a conical frustrum with equal radii for the top and bottom circles.
780 /// Equivalent to a bevelled cube with a bevel percentage of zero.
784 /// Equivalent to a bevelled cube with a bevel percentage of one.
790 /// This specifies fitting mode types. Fitting options, used when resizing images to fit desired dimensions.<br />
791 /// A fitting mode controls the region of a loaded image to be mapped to the desired image rectangle.<br />
792 /// All fitting modes preserve the aspect ratio of the image contents.<br />
794 /// <since_tizen> 3 </since_tizen>
795 public enum FittingModeType
798 /// Full-screen image display: Limit loaded image resolution to device resolution using the ShrinkToFit mode.
802 /// Thumbnail gallery grid: Limit loaded image resolution to screen tile using the ScaleToFill mode.
806 /// Image columns: Limit loaded image resolution to column width using the FitWidth mode.
810 /// Image rows: Limit loaded image resolution to row height using the FitHeight mode.
816 /// This specifies sampling mode types. Filtering options are used when resizing images to sample original pixels.<br />
817 /// A SamplingMode controls how pixels in an input image are sampled and combined to generate each pixel of a destination image during scaling.<br />
818 /// 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 />
819 /// but all other filter modes do if the desired dimensions are not more than the raw dimensions of the input image file.<br />
821 /// <since_tizen> 3 </since_tizen>
822 public enum SamplingModeType
825 /// Iteratively box filter to generate an image of 1/2, 1/4, 1/8, etc. width and height and approximately the desired size. <br />
826 /// This is the default.
830 /// For each output pixel, read one input pixel.
834 /// For each output pixel, read a quad of four input pixels and write a weighted average of them.
838 /// Iteratively box filter to generate an image of 1/2, 1/4, 1/8, etc. width and height and approximately the desired size, <br />
839 /// then for each output pixel, read one pixel from the last level of box filtering.<br />
843 /// 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.
847 /// 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.
851 /// For caching algorithms where a client strongly prefers a cache-hit to reuse a cached image.
857 /// This specifies policy types that could be used by the transform for the offset or size.
859 /// <since_tizen> 3 </since_tizen>
860 public enum VisualTransformPolicyType
863 /// Relative to the control (percentage [0.0f to 1.0f] of the control).
867 /// Absolute value in world units.
873 /// This specifies all the transform property types.
875 /// <since_tizen> 3 </since_tizen>
876 public enum VisualTransformPropertyType
879 /// Offset of the visual, which can be either relative (percentage [0.0f to 1.0f] of the parent) or absolute (in world units).
883 /// Size of the visual, which can be either relative (percentage [0.0f to 1.0f] of the parent) or absolute (in world units).
887 /// The origin of the visual within its control area.
891 /// The anchor-point of the visual.
895 /// Whether the x or y offset values are relative (percentage [0.0f to 1.0f] of the control) or absolute (in world units).
899 /// Whether the width or the height size values are relative (percentage [0.0f to 1.0f] of the control) or absolute (in world units).
905 /// This specifies visual types.
907 /// <since_tizen> 3 </since_tizen>
911 /// The index for the visual type.
913 /// <since_tizen> 3 </since_tizen>
917 /// Renders a solid color as an internal border to the control's quad.
921 /// Renders a solid color to the control's quad.
925 /// Renders a smooth transition of colors to the control's quad.
929 /// Renders an image into the control's quad.
933 /// Renders a mesh using an "obj" file, optionally with textures provided by an "mtl" file.
937 /// Renders a simple 3D shape, such as a cube or a sphere.
941 /// Renders a simple wire-frame outlining a quad.
949 /// Renders an n-patch image.
953 /// Renders an SVG image.
957 /// Renders a animated image (animated GIF).
963 /// This specifies visual properties.
965 /// <since_tizen> 3 </since_tizen>
966 public struct Property
971 /// <since_tizen> 3 </since_tizen>
972 public static readonly int Type = NDalic.VISUAL_PROPERTY_TYPE;
976 /// <since_tizen> 3 </since_tizen>
977 public static readonly int Shader = NDalic.VISUAL_PROPERTY_SHADER;
981 /// <since_tizen> 3 </since_tizen>
982 public static readonly int Transform = NDalic.VISUAL_PROPERTY_TRANSFORM;
984 /// PremultipliedAlpha.
986 /// <since_tizen> 3 </since_tizen>
987 public static readonly int PremultipliedAlpha = NDalic.VISUAL_PROPERTY_PREMULTIPLIED_ALPHA;
991 /// <since_tizen> 3 </since_tizen>
992 public static readonly int MixColor = NDalic.VISUAL_PROPERTY_MIX_COLOR;
996 /// <since_tizen> 3 </since_tizen>
997 public static readonly int Opacity = NDalic.VISUAL_PROPERTY_MIX_COLOR + 1;
1001 /// This specifies shader properties.
1003 /// <since_tizen> 3 </since_tizen>
1004 public struct ShaderProperty
1007 /// Vertex shader code
1009 /// <since_tizen> 3 </since_tizen>
1010 public static readonly int VertexShader = NDalic.VISUAL_SHADER_VERTEX;
1012 /// Fragment shader code
1014 /// <since_tizen> 3 </since_tizen>
1015 public static readonly int FragmentShader = NDalic.VISUAL_SHADER_FRAGMENT;
1017 /// How to subdivide the grid along X
1019 /// <since_tizen> 3 </since_tizen>
1020 public static readonly int ShaderSubdivideGridX = NDalic.VISUAL_SHADER_SUBDIVIDE_GRID_X;
1022 /// How to subdivide the grid along Y
1024 /// <since_tizen> 3 </since_tizen>
1025 public static readonly int ShaderSubdivideGridY = NDalic.VISUAL_SHADER_SUBDIVIDE_GRID_Y;
1027 /// Bitmask of hints
1029 /// <since_tizen> 3 </since_tizen>
1030 public static readonly int ShaderHints = NDalic.VISUAL_SHADER_HINTS;
1034 /// This specifies visaul align types.
1036 /// <since_tizen> 3 </since_tizen>
1037 public enum AlignType
1042 /// <since_tizen> 3 </since_tizen>
1047 /// <since_tizen> 3 </since_tizen>
1052 /// <since_tizen> 3 </since_tizen>
1057 /// <since_tizen> 3 </since_tizen>
1062 /// <since_tizen> 3 </since_tizen>
1067 /// <since_tizen> 3 </since_tizen>
1072 /// <since_tizen> 3 </since_tizen>
1077 /// <since_tizen> 3 </since_tizen>
1082 /// <since_tizen> 3 </since_tizen>
1088 /// This specifies properties of the BorderVisual.
1090 /// <since_tizen> 3 </since_tizen>
1091 public struct BorderVisualProperty
1094 /// The color of the border.
1096 /// <since_tizen> 3 </since_tizen>
1097 public static readonly int Color = NDalic.BORDER_VISUAL_COLOR;
1099 /// The width of the border (in pixels).
1101 /// <since_tizen> 3 </since_tizen>
1102 public static readonly int Size = NDalic.BORDER_VISUAL_SIZE;
1104 /// Whether anti-aliasing of the border is required.
1106 /// <since_tizen> 3 </since_tizen>
1107 public static readonly int AntiAliasing = NDalic.BORDER_VISUAL_ANTI_ALIASING;
1111 /// This specifies properties of the ColorVisual.
1113 /// <since_tizen> 3 </since_tizen>
1114 public struct ColorVisualProperty
1117 /// The solid color required.
1119 /// <since_tizen> 3 </since_tizen>
1120 public static readonly int MixColor = NDalic.COLOR_VISUAL_MIX_COLOR;
1124 /// This specifies properties of the GradientVisual.
1126 /// <since_tizen> 3 </since_tizen>
1127 public struct GradientVisualProperty
1130 /// The start position of a linear gradient.
1132 /// <since_tizen> 3 </since_tizen>
1133 public static readonly int StartPosition = NDalic.GRADIENT_VISUAL_START_POSITION;
1135 /// The end position of a linear gradient.
1137 /// <since_tizen> 3 </since_tizen>
1138 public static readonly int EndPosition = NDalic.GRADIENT_VISUAL_END_POSITION;
1140 /// The center point of a radial gradient.
1142 /// <since_tizen> 3 </since_tizen>
1143 public static readonly int Center = NDalic.GRADIENT_VISUAL_CENTER;
1145 /// The size of the radius of a radial gradient.
1147 /// <since_tizen> 3 </since_tizen>
1148 public static readonly int Radius = NDalic.GRADIENT_VISUAL_RADIUS;
1150 /// All the stop offsets.
1152 /// <since_tizen> 3 </since_tizen>
1153 public static readonly int StopOffset = NDalic.GRADIENT_VISUAL_STOP_OFFSET;
1155 /// The color at the stop offsets.
1157 /// <since_tizen> 3 </since_tizen>
1158 public static readonly int StopColor = NDalic.GRADIENT_VISUAL_STOP_COLOR;
1160 /// Defines the coordinate system for certain attributes of the points in a gradient.
1162 /// <since_tizen> 3 </since_tizen>
1163 public static readonly int Units = NDalic.GRADIENT_VISUAL_UNITS;
1165 /// Indicates what happens if the gradient starts or ends inside the bounds of the target rectangle.
1167 /// <since_tizen> 3 </since_tizen>
1168 public static readonly int SpreadMethod = NDalic.GRADIENT_VISUAL_SPREAD_METHOD;
1172 /// This specifies properties of the ImageVisual.
1174 /// <since_tizen> 3 </since_tizen>
1175 public struct ImageVisualProperty
1178 /// The URL of the image.
1180 /// <since_tizen> 3 </since_tizen>
1181 public static readonly int URL = NDalic.IMAGE_VISUAL_URL;
1183 /// The URL of the alpha mask image.
1185 /// <since_tizen> 3 </since_tizen>
1186 public static readonly int AlphaMaskURL = NDalic.IMAGE_VISUAL_ALPHA_MASK_URL;
1188 /// Fitting options, used when resizing images to fit desired dimensions.
1190 /// <since_tizen> 3 </since_tizen>
1191 public static readonly int FittingMode = NDalic.IMAGE_VISUAL_FITTING_MODE;
1193 /// Filtering options, used when resizing images to sample original pixels.
1195 /// <since_tizen> 3 </since_tizen>
1196 public static readonly int SamplingMode = NDalic.IMAGE_VISUAL_SAMPLING_MODE;
1198 /// The desired image width.
1200 /// <since_tizen> 3 </since_tizen>
1201 public static readonly int DesiredWidth = NDalic.IMAGE_VISUAL_DESIRED_WIDTH;
1203 /// The desired image height.
1205 /// <since_tizen> 3 </since_tizen>
1206 public static readonly int DesiredHeight = NDalic.IMAGE_VISUAL_DESIRED_HEIGHT;
1208 /// Whether to load the image synchronously.
1210 /// <since_tizen> 3 </since_tizen>
1211 public static readonly int SynchronousLoading = NDalic.IMAGE_VISUAL_SYNCHRONOUS_LOADING;
1213 /// If true, only draws the borders.
1215 /// <since_tizen> 3 </since_tizen>
1216 public static readonly int BorderOnly = NDalic.IMAGE_VISUAL_BORDER_ONLY;
1218 /// The image area to be displayed.
1220 /// <since_tizen> 3 </since_tizen>
1221 public static readonly int PixelArea = NDalic.IMAGE_VISUAL_PIXEL_AREA;
1223 /// The wrap mode for u coordinate.
1225 /// <since_tizen> 3 </since_tizen>
1226 public static readonly int WrapModeU = NDalic.IMAGE_VISUAL_WRAP_MODE_U;
1228 /// The wrap mode for v coordinate.
1230 /// <since_tizen> 3 </since_tizen>
1231 public static readonly int WrapModeV = NDalic.IMAGE_VISUAL_WRAP_MODE_V;
1233 /// The border of the image.
1235 /// <since_tizen> 3 </since_tizen>
1236 public static readonly int Border = NDalic.IMAGE_VISUAL_BORDER;
1238 /// The scale factor to apply to the content image before masking.
1240 /// <since_tizen> 4 </since_tizen>
1241 public static readonly int MaskContentScale = NDalic.IMAGE_VISUAL_MASK_CONTENT_SCALE;
1243 /// Whether to crop image to mask or scale mask to fit image
1245 /// <since_tizen> 4 </since_tizen>
1246 public static readonly int CropToMask = NDalic.IMAGE_VISUAL_CROP_TO_MASK;
1248 /// Defines the batch size for pre-loading images in the AnimatedImageVisual
1250 /// <since_tizen> 4 </since_tizen>
1251 public static readonly int BatchSize = NDalic.IMAGE_VISUAL_BATCH_SIZE;
1253 /// Defines the cache size for loading images in the AnimatedImageVisual
1255 /// <since_tizen> 4 </since_tizen>
1256 public static readonly int CacheSize = NDalic.IMAGE_VISUAL_CACHE_SIZE;
1258 /// The number of milliseconds between each frame in the AnimatedImageVisual
1260 /// <since_tizen> 4 </since_tizen>
1261 public static readonly int FrameDelay = NDalic.IMAGE_VISUAL_FRAME_DELAY;
1263 /// The policy to determine when an image should no longer be cached
1265 /// <since_tizen> 5 </since_tizen>
1266 /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
1267 [EditorBrowsable(EditorBrowsableState.Never)]
1268 public static readonly int ReleasePolicy = NDalic.IMAGE_VISUAL_RELEASE_POLICY;
1270 /// The policy to determine when an image should be loaded
1272 /// <since_tizen> 5 </since_tizen>
1273 /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
1274 [EditorBrowsable(EditorBrowsableState.Never)]
1275 public static readonly int LoadPolicy = NDalic.IMAGE_VISUAL_LOAD_POLICY;
1277 /// Determines if image orientation should be corrected so the image displays as it was intended
1279 /// <since_tizen> 5 </since_tizen>
1280 /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
1281 [EditorBrowsable(EditorBrowsableState.Never)]
1282 public static readonly int OrientationCorrection = NDalic.IMAGE_VISUAL_ORIENTATION_CORRECTION;
1286 /// This specifies properties of the MeshVisual.
1288 /// <since_tizen> 3 </since_tizen>
1289 public struct MeshVisualProperty
1292 /// The location of the ".obj" file.
1294 /// <since_tizen> 3 </since_tizen>
1295 public static readonly int ObjectURL = NDalic.MESH_VISUAL_OBJECT_URL;
1297 /// The location of the ".mtl" file.
1299 /// <since_tizen> 3 </since_tizen>
1300 public static readonly int MaterialtURL = NDalic.MESH_VISUAL_MATERIAL_URL;
1302 /// Path to the directory the textures (including gloss and normal) are stored in.
1304 /// <since_tizen> 3 </since_tizen>
1305 public static readonly int TexturesPath = NDalic.MESH_VISUAL_TEXTURES_PATH;
1307 /// Sets the type of shading mode that the mesh will use.
1309 /// <since_tizen> 3 </since_tizen>
1310 public static readonly int ShadingMode = NDalic.MESH_VISUAL_SHADING_MODE;
1312 /// Whether to use mipmaps for textures or not.
1314 /// <since_tizen> 3 </since_tizen>
1315 public static readonly int UseMipmapping = NDalic.MESH_VISUAL_USE_MIPMAPPING;
1317 /// Whether to average normals at each point to smooth textures or not.
1319 /// <since_tizen> 3 </since_tizen>
1320 public static readonly int UseSoftNormals = NDalic.MESH_VISUAL_USE_SOFT_NORMALS;
1322 /// The position, in stage space, of the point light that applies lighting to the model.
1324 /// <since_tizen> 3 </since_tizen>
1325 public static readonly int LightPosition = NDalic.MESH_VISUAL_LIGHT_POSITION;
1329 /// This specifies properties of the PrimitiveVisual.
1331 /// <since_tizen> 3 </since_tizen>
1332 public struct PrimitiveVisualProperty
1335 /// The specific shape to render.
1337 /// <since_tizen> 3 </since_tizen>
1338 public static readonly int Shape = NDalic.PRIMITIVE_VISUAL_SHAPE;
1340 /// The color of the shape.
1342 /// <since_tizen> 3 </since_tizen>
1343 public static readonly int MixColor = NDalic.PRIMITIVE_VISUAL_MIX_COLOR;
1345 /// The number of slices as you go around the shape.
1347 /// <since_tizen> 3 </since_tizen>
1348 public static readonly int Slices = NDalic.PRIMITIVE_VISUAL_SLICES;
1350 /// The number of stacks as you go down the shape.
1352 /// <since_tizen> 3 </since_tizen>
1353 public static readonly int Stacks = NDalic.PRIMITIVE_VISUAL_STACKS;
1355 /// The scale of the radius of the top circle of a conical frustrum.
1357 /// <since_tizen> 3 </since_tizen>
1358 public static readonly int ScaleTopRadius = NDalic.PRIMITIVE_VISUAL_SCALE_TOP_RADIUS;
1360 /// The scale of the radius of the bottom circle of a conical frustrum.
1362 /// <since_tizen> 3 </since_tizen>
1363 public static readonly int ScaleBottomRadius = NDalic.PRIMITIVE_VISUAL_SCALE_BOTTOM_RADIUS;
1365 /// The scale of the height of a conic.
1367 /// <since_tizen> 3 </since_tizen>
1368 public static readonly int ScaleHeight = NDalic.PRIMITIVE_VISUAL_SCALE_HEIGHT;
1370 /// The scale of the radius of a cylinder.
1372 /// <since_tizen> 3 </since_tizen>
1373 public static readonly int ScaleRadius = NDalic.PRIMITIVE_VISUAL_SCALE_RADIUS;
1375 /// The dimensions of a cuboid. Scales in the same fashion as a 9-patch image.
1377 /// <since_tizen> 3 </since_tizen>
1378 public static readonly int ScaleDimensions = NDalic.PRIMITIVE_VISUAL_SCALE_DIMENSIONS;
1380 /// Determines how bevelled the cuboid should be, based off the smallest dimension.
1382 /// <since_tizen> 3 </since_tizen>
1383 public static readonly int BevelPercentage = NDalic.PRIMITIVE_VISUAL_BEVEL_PERCENTAGE;
1385 /// Defines how smooth the bevelled edges should be.
1387 /// <since_tizen> 3 </since_tizen>
1388 public static readonly int BevelSmoothness = NDalic.PRIMITIVE_VISUAL_BEVEL_SMOOTHNESS;
1390 /// The position, in stage space, of the point light that applies lighting to the model.
1392 /// <since_tizen> 3 </since_tizen>
1393 public static readonly int LightPosition = NDalic.PRIMITIVE_VISUAL_LIGHT_POSITION;
1397 /// This specifies properties of the TextVisual.
1399 /// <since_tizen> 3 </since_tizen>
1400 public struct TextVisualProperty
1403 /// The text to display in UTF-8 format.
1405 /// <since_tizen> 3 </since_tizen>
1406 public static readonly int Text = NDalic.TEXT_VISUAL_TEXT;
1408 /// The requested font family to use.
1410 /// <since_tizen> 3 </since_tizen>
1411 public static readonly int FontFamily = NDalic.TEXT_VISUAL_FONT_FAMILY;
1413 /// The requested font style to use.
1415 /// <since_tizen> 3 </since_tizen>
1416 public static readonly int FontStyle = NDalic.TEXT_VISUAL_FONT_STYLE;
1418 /// The size of font in points.
1420 /// <since_tizen> 3 </since_tizen>
1421 public static readonly int PointSize = NDalic.TEXT_VISUAL_POINT_SIZE;
1423 /// The single-line or multi-line layout option.
1425 /// <since_tizen> 3 </since_tizen>
1426 public static readonly int MultiLine = NDalic.TEXT_VISUAL_MULTI_LINE;
1428 /// The line horizontal alignment.
1430 /// <since_tizen> 3 </since_tizen>
1431 public static readonly int HorizontalAlignment = NDalic.TEXT_VISUAL_HORIZONTAL_ALIGNMENT;
1433 /// The line vertical alignment.
1435 /// <since_tizen> 3 </since_tizen>
1436 public static readonly int VerticalAlignment = NDalic.TEXT_VISUAL_VERTICAL_ALIGNMENT;
1438 /// The color of the text.
1440 /// <since_tizen> 3 </since_tizen>
1441 public static readonly int TextColor = NDalic.TEXT_VISUAL_TEXT_COLOR;
1443 /// Whether the mark-up processing is enabled.
1445 /// <since_tizen> 3 </since_tizen>
1446 public static readonly int EnableMarkup = NDalic.TEXT_VISUAL_ENABLE_MARKUP;
1450 /// This specifies properties of the NpatchImageVisual.
1452 /// <since_tizen> 3 </since_tizen>
1453 public struct NpatchImageVisualProperty
1456 /// The URL of the image.
1458 /// <since_tizen> 3 </since_tizen>
1459 public static readonly int URL = NDalic.IMAGE_VISUAL_URL;
1461 /// Fitting options, used when resizing images to fit desired dimensions.
1463 /// <since_tizen> 3 </since_tizen>
1464 public static readonly int FittingMode = NDalic.IMAGE_VISUAL_FITTING_MODE;
1466 /// Filtering options, used when resizing images to sample original pixels.
1468 /// <since_tizen> 3 </since_tizen>
1469 public static readonly int SamplingMode = NDalic.IMAGE_VISUAL_SAMPLING_MODE;
1471 /// The desired image width.
1473 /// <since_tizen> 3 </since_tizen>
1474 public static readonly int DesiredWidth = NDalic.IMAGE_VISUAL_DESIRED_WIDTH;
1476 /// The desired image height.
1478 /// <since_tizen> 3 </since_tizen>
1479 public static readonly int DesiredHeight = NDalic.IMAGE_VISUAL_DESIRED_HEIGHT;
1481 /// Whether to load the image synchronously.
1483 /// <since_tizen> 3 </since_tizen>
1484 public static readonly int SynchronousLoading = NDalic.IMAGE_VISUAL_SYNCHRONOUS_LOADING;
1486 /// If true, only draws the borders.
1488 /// <since_tizen> 3 </since_tizen>
1489 public static readonly int BorderOnly = NDalic.IMAGE_VISUAL_BORDER_ONLY;
1491 /// The image area to be displayed.
1493 /// <since_tizen> 3 </since_tizen>
1494 public static readonly int PixelArea = NDalic.IMAGE_VISUAL_PIXEL_AREA;
1496 /// The wrap mode for u coordinate.
1498 /// <since_tizen> 3 </since_tizen>
1499 public static readonly int WrapModeU = NDalic.IMAGE_VISUAL_WRAP_MODE_U;
1501 /// The wrap mode for v coordinate.
1503 /// <since_tizen> 3 </since_tizen>
1504 public static readonly int WrapModeV = NDalic.IMAGE_VISUAL_WRAP_MODE_V;
1506 /// The border of the image.
1508 /// <since_tizen> 3 </since_tizen>
1509 public static readonly int Border = NDalic.IMAGE_VISUAL_WRAP_MODE_V + 1;
1513 /// The HiddenInput property.
1515 /// <since_tizen> 3 </since_tizen>
1516 public struct HiddenInputProperty
1519 /// The mode for input text display.
1521 /// <since_tizen> 3 </since_tizen>
1522 public static readonly int Mode = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_MODE_get();
1524 /// All input characters are substituted by this character.
1526 /// <since_tizen> 3 </since_tizen>
1527 public static readonly int SubstituteCharacter = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_SUBSTITUTE_CHARACTER_get();
1529 /// Length of text to show or hide, available when HIDE_COUNT/SHOW_COUNT mode is used.
1531 /// <since_tizen> 3 </since_tizen>
1532 public static readonly int SubstituteCount = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_SUBSTITUTE_COUNT_get();
1534 /// Hide last character after this duration, available when SHOW_LAST_CHARACTER mode.
1536 /// <since_tizen> 4 </since_tizen>
1537 public static readonly int ShowLastCharacterDuration = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_SHOW_LAST_CHARACTER_DURATION_get();
1541 /// The type for HiddenInput mode.
1543 /// <since_tizen> 3 </since_tizen>
1544 public enum HiddenInputModeType
1547 /// Don't hide text.
1551 /// Hide all the input text.
1555 /// Hide n characters from start.
1559 /// Show n characters from start.
1563 /// Show last character for the duration(use ShowLastCharacterDuration property to modify duration).
1569 /// ParentOrigin constants.
1571 /// <since_tizen> 3 </since_tizen>
1572 public struct ParentOrigin
1577 /// <since_tizen> 3 </since_tizen>
1578 public static float Top
1582 float ret = NDalicPINVOKE.ParentOriginTop_get();
1583 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1591 /// <since_tizen> 3 </since_tizen>
1592 public static float Bottom
1596 float ret = NDalicPINVOKE.ParentOriginBottom_get();
1597 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1605 /// <since_tizen> 3 </since_tizen>
1606 public static float Left
1610 float ret = NDalicPINVOKE.ParentOriginLeft_get();
1611 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1619 /// <since_tizen> 3 </since_tizen>
1620 public static float Right
1624 float ret = NDalicPINVOKE.ParentOriginRight_get();
1625 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1633 /// <since_tizen> 3 </since_tizen>
1634 public static float Middle
1638 float ret = NDalicPINVOKE.ParentOriginMiddle_get();
1639 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1647 /// <since_tizen> 3 </since_tizen>
1648 public static Position TopLeft
1652 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopLeft_get();
1653 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1654 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1662 /// <since_tizen> 3 </since_tizen>
1663 public static Position TopCenter
1667 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopCenter_get();
1668 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1669 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1677 /// <since_tizen> 3 </since_tizen>
1678 public static Position TopRight
1682 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopRight_get();
1683 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1684 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1692 /// <since_tizen> 3 </since_tizen>
1693 public static Position CenterLeft
1697 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenterLeft_get();
1698 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1699 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1707 /// <since_tizen> 3 </since_tizen>
1708 public static Position Center
1712 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenter_get();
1713 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1714 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1722 /// <since_tizen> 3 </since_tizen>
1723 public static Position CenterRight
1727 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenterRight_get();
1728 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1729 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1737 /// <since_tizen> 3 </since_tizen>
1738 public static Position BottomLeft
1742 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomLeft_get();
1743 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1744 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1752 /// <since_tizen> 3 </since_tizen>
1753 public static Position BottomCenter
1757 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomCenter_get();
1758 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1759 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1767 /// <since_tizen> 3 </since_tizen>
1768 public static Position BottomRight
1772 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomRight_get();
1773 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1774 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1781 /// PivotPoint constants.
1783 /// <since_tizen> 3 </since_tizen>
1784 public struct PivotPoint
1789 /// <since_tizen> 3 </since_tizen>
1790 public static float Top
1794 float ret = NDalicPINVOKE.AnchorPointTop_get();
1795 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1802 /// <since_tizen> 3 </since_tizen>
1803 public static float Bottom
1807 float ret = NDalicPINVOKE.AnchorPointBottom_get();
1808 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1815 /// <since_tizen> 3 </since_tizen>
1816 public static float Left
1820 float ret = NDalicPINVOKE.AnchorPointLeft_get();
1821 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1828 /// <since_tizen> 3 </since_tizen>
1829 public static float Right
1833 float ret = NDalicPINVOKE.AnchorPointRight_get();
1834 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1841 /// <since_tizen> 3 </since_tizen>
1842 public static float Middle
1846 float ret = NDalicPINVOKE.AnchorPointMiddle_get();
1847 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1854 /// <since_tizen> 3 </since_tizen>
1855 public static Position TopLeft
1859 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopLeft_get();
1860 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1861 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1868 /// <since_tizen> 3 </since_tizen>
1869 public static Position TopCenter
1873 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopCenter_get();
1874 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1875 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1882 /// <since_tizen> 3 </since_tizen>
1883 public static Position TopRight
1887 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopRight_get();
1888 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1889 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1896 /// <since_tizen> 3 </since_tizen>
1897 public static Position CenterLeft
1901 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterLeft_get();
1902 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1903 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1910 /// <since_tizen> 3 </since_tizen>
1911 public static Position Center
1915 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenter_get();
1916 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1917 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1924 /// <since_tizen> 3 </since_tizen>
1925 public static Position CenterRight
1929 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterRight_get();
1930 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1931 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1938 /// <since_tizen> 3 </since_tizen>
1939 public static Position BottomLeft
1943 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomLeft_get();
1944 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1945 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1952 /// <since_tizen> 3 </since_tizen>
1953 public static Position BottomCenter
1957 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomCenter_get();
1958 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1959 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1966 /// <since_tizen> 3 </since_tizen>
1967 public static Position BottomRight
1971 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomRight_get();
1972 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1973 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1979 /// PositionAxis constants.
1981 /// <since_tizen> 3 </since_tizen>
1982 public struct PositionAxis
1987 /// <since_tizen> 3 </since_tizen>
1988 public static Position X
1992 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_XAXIS_get();
1993 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1994 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2001 /// <since_tizen> 3 </since_tizen>
2002 public static Position Y
2006 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_YAXIS_get();
2007 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2008 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2015 /// <since_tizen> 3 </since_tizen>
2016 public static Position Z
2020 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_ZAXIS_get();
2021 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2022 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2027 /// The Negative X axis
2029 /// <since_tizen> 3 </since_tizen>
2030 public static Position NegativeX
2034 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_XAXIS_get();
2035 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2036 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2041 /// The Negative Y axis
2043 /// <since_tizen> 3 </since_tizen>
2044 public static Position NegativeY
2048 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_YAXIS_get();
2049 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2050 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2055 /// The Negative Z axis
2057 /// <since_tizen> 3 </since_tizen>
2058 public static Position NegativeZ
2062 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_ZAXIS_get();
2063 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2064 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2071 /// Auto scrolling stop behavior.
2073 /// <since_tizen> 3 </since_tizen>
2074 public enum AutoScrollStopMode
2077 /// Stop animation after current loop finished.
2081 /// Stop animation immediately and reset position.
2087 /// An enum of screen mode.
2089 /// <since_tizen> 4 </since_tizen>
2090 public enum ScreenOffMode {
2092 /// The mode which turns the screen off after a timeout.
2096 /// The mode which keeps the screen turned on.
2102 /// An enum of notification window's priority level.
2104 /// <since_tizen> 3 </since_tizen>
2105 public enum NotificationLevel {
2107 /// No notification level.<br />
2108 /// Default level.<br />
2109 /// This value makes the notification window place in the layer of the normal window.
2113 /// The base nofitication level.
2117 /// The medium notification level than base.
2121 /// The higher notification level than medium.
2125 /// The highest notification level.
2131 /// An enum of window types.
2133 /// <since_tizen> 3 </since_tizen>
2134 public enum WindowType {
2136 /// A default window type.<br />
2137 /// Indicates a normal or top-level window.
2138 /// Almost every window will be created with this type.
2142 /// A notification window, like a warning about battery life or a new email received.
2146 /// A persistent utility window, like a toolbox or a palette.
2150 /// Used for simple dialog windows.
2155 /// <since_tizen> 3 </since_tizen>
2156 public enum DisposeTypes
2161 /// <since_tizen> 3 </since_tizen>
2164 /// Called by DisposeQueue
2166 /// <since_tizen> 3 </since_tizen>
2173 /// [Obsolete("Please do not use! this will be deprecated")]
2175 /// <since_tizen> 3 </since_tizen>
2176 [Obsolete("Please do not use! This will be deprecated! Please use PivotPoint instead!")]
2177 [EditorBrowsable(EditorBrowsableState.Never)]
2178 public struct AnchorPoint
2183 /// <since_tizen> 3 </since_tizen>
2184 public static float Top
2188 float ret = NDalicPINVOKE.AnchorPointTop_get();
2189 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2196 /// <since_tizen> 3 </since_tizen>
2197 public static float Bottom
2201 float ret = NDalicPINVOKE.AnchorPointBottom_get();
2202 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2209 /// <since_tizen> 3 </since_tizen>
2210 public static float Left
2214 float ret = NDalicPINVOKE.AnchorPointLeft_get();
2215 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2222 /// <since_tizen> 3 </since_tizen>
2223 public static float Right
2227 float ret = NDalicPINVOKE.AnchorPointRight_get();
2228 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2235 /// <since_tizen> 3 </since_tizen>
2236 public static float Middle
2240 float ret = NDalicPINVOKE.AnchorPointMiddle_get();
2241 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2248 /// <since_tizen> 3 </since_tizen>
2249 public static Position TopLeft
2253 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopLeft_get();
2254 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2255 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2262 /// <since_tizen> 3 </since_tizen>
2263 public static Position TopCenter
2267 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopCenter_get();
2268 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2269 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2276 /// <since_tizen> 3 </since_tizen>
2277 public static Position TopRight
2281 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopRight_get();
2282 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2283 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2290 /// <since_tizen> 3 </since_tizen>
2291 public static Position CenterLeft
2295 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterLeft_get();
2296 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2297 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2304 /// <since_tizen> 3 </since_tizen>
2305 public static Position Center
2309 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenter_get();
2310 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2311 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2318 /// <since_tizen> 3 </since_tizen>
2319 public static Position CenterRight
2323 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterRight_get();
2324 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2325 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2332 /// <since_tizen> 3 </since_tizen>
2333 public static Position BottomLeft
2337 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomLeft_get();
2338 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2339 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2346 /// <since_tizen> 3 </since_tizen>
2347 public static Position BottomCenter
2351 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomCenter_get();
2352 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2353 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2360 /// <since_tizen> 3 </since_tizen>
2361 public static Position BottomRight
2365 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomRight_get();
2366 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2367 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2374 /// An enum of the scroll state of the text eidtor.
2376 /// <since_tizen> 3 </since_tizen>
2377 public enum ScrollState
2380 /// Scrolling is started.
2385 /// Scrolling is finished.
2391 /// An enum of the line wrap mode of text controls.
2393 /// <since_tizen> 4 </since_tizen>
2394 public enum LineWrapMode
2397 /// The word mode will move a word to the next line.
2399 /// <since_tizen> 4 </since_tizen>
2403 /// character will move character by character to the next line.
2405 /// <since_tizen> 4 </since_tizen>