1 // Copyright (c) 2018 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 number of times the AnimatedImageVisual will be looped
1264 /// Default -1. if < 0, loop unlimited. else, loop loopCount times.
1266 /// <since_tizen> 4 </since_tizen>
1267 public static readonly int LoopCount = NDalic.IMAGE_VISUAL_LOOP_COUNT;
1269 /// The policy to determine when an image should no longer be cached
1271 /// <since_tizen> 5 </since_tizen>
1272 /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
1273 [EditorBrowsable(EditorBrowsableState.Never)]
1274 public static readonly int ReleasePolicy = NDalic.IMAGE_VISUAL_RELEASE_POLICY;
1276 /// The policy to determine when an image should be loaded
1278 /// <since_tizen> 5 </since_tizen>
1279 /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
1280 [EditorBrowsable(EditorBrowsableState.Never)]
1281 public static readonly int LoadPolicy = NDalic.IMAGE_VISUAL_LOAD_POLICY;
1283 /// Determines if image orientation should be corrected so the image displays as it was intended
1285 /// <since_tizen> 5 </since_tizen>
1286 /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
1287 [EditorBrowsable(EditorBrowsableState.Never)]
1288 public static readonly int OrientationCorrection = NDalic.IMAGE_VISUAL_ORIENTATION_CORRECTION;
1290 /// Overlays the auxiliary image on top of an NPatch image.
1292 /// <since_tizen> 5 </since_tizen>
1293 /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
1294 [EditorBrowsable(EditorBrowsableState.Never)]
1295 public static readonly int AuxiliaryImageURL = NDalic.IMAGE_VISUAL_AUXILIARY_IMAGE_URL;
1297 /// Alpha value for the auxiliary image, without affecting the underlying NPatch image
1299 /// <since_tizen> 5 </since_tizen>
1300 /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
1301 [EditorBrowsable(EditorBrowsableState.Never)]
1302 public static readonly int AuxiliaryImageAlpha = NDalic.IMAGE_VISUAL_AUXILIARY_IMAGE_ALPHA;
1306 /// This specifies properties of the MeshVisual.
1308 /// <since_tizen> 3 </since_tizen>
1309 public struct MeshVisualProperty
1312 /// The location of the ".obj" file.
1314 /// <since_tizen> 3 </since_tizen>
1315 public static readonly int ObjectURL = NDalic.MESH_VISUAL_OBJECT_URL;
1317 /// The location of the ".mtl" file.
1319 /// <since_tizen> 3 </since_tizen>
1320 public static readonly int MaterialtURL = NDalic.MESH_VISUAL_MATERIAL_URL;
1322 /// Path to the directory the textures (including gloss and normal) are stored in.
1324 /// <since_tizen> 3 </since_tizen>
1325 public static readonly int TexturesPath = NDalic.MESH_VISUAL_TEXTURES_PATH;
1327 /// Sets the type of shading mode that the mesh will use.
1329 /// <since_tizen> 3 </since_tizen>
1330 public static readonly int ShadingMode = NDalic.MESH_VISUAL_SHADING_MODE;
1332 /// Whether to use mipmaps for textures or not.
1334 /// <since_tizen> 3 </since_tizen>
1335 public static readonly int UseMipmapping = NDalic.MESH_VISUAL_USE_MIPMAPPING;
1337 /// Whether to average normals at each point to smooth textures or not.
1339 /// <since_tizen> 3 </since_tizen>
1340 public static readonly int UseSoftNormals = NDalic.MESH_VISUAL_USE_SOFT_NORMALS;
1342 /// The position, in stage space, of the point light that applies lighting to the model.
1344 /// <since_tizen> 3 </since_tizen>
1345 public static readonly int LightPosition = NDalic.MESH_VISUAL_LIGHT_POSITION;
1349 /// This specifies properties of the PrimitiveVisual.
1351 /// <since_tizen> 3 </since_tizen>
1352 public struct PrimitiveVisualProperty
1355 /// The specific shape to render.
1357 /// <since_tizen> 3 </since_tizen>
1358 public static readonly int Shape = NDalic.PRIMITIVE_VISUAL_SHAPE;
1360 /// The color of the shape.
1362 /// <since_tizen> 3 </since_tizen>
1363 public static readonly int MixColor = NDalic.PRIMITIVE_VISUAL_MIX_COLOR;
1365 /// The number of slices as you go around the shape.
1367 /// <since_tizen> 3 </since_tizen>
1368 public static readonly int Slices = NDalic.PRIMITIVE_VISUAL_SLICES;
1370 /// The number of stacks as you go down the shape.
1372 /// <since_tizen> 3 </since_tizen>
1373 public static readonly int Stacks = NDalic.PRIMITIVE_VISUAL_STACKS;
1375 /// The scale of the radius of the top circle of a conical frustrum.
1377 /// <since_tizen> 3 </since_tizen>
1378 public static readonly int ScaleTopRadius = NDalic.PRIMITIVE_VISUAL_SCALE_TOP_RADIUS;
1380 /// The scale of the radius of the bottom circle of a conical frustrum.
1382 /// <since_tizen> 3 </since_tizen>
1383 public static readonly int ScaleBottomRadius = NDalic.PRIMITIVE_VISUAL_SCALE_BOTTOM_RADIUS;
1385 /// The scale of the height of a conic.
1387 /// <since_tizen> 3 </since_tizen>
1388 public static readonly int ScaleHeight = NDalic.PRIMITIVE_VISUAL_SCALE_HEIGHT;
1390 /// The scale of the radius of a cylinder.
1392 /// <since_tizen> 3 </since_tizen>
1393 public static readonly int ScaleRadius = NDalic.PRIMITIVE_VISUAL_SCALE_RADIUS;
1395 /// The dimensions of a cuboid. Scales in the same fashion as a 9-patch image.
1397 /// <since_tizen> 3 </since_tizen>
1398 public static readonly int ScaleDimensions = NDalic.PRIMITIVE_VISUAL_SCALE_DIMENSIONS;
1400 /// Determines how bevelled the cuboid should be, based off the smallest dimension.
1402 /// <since_tizen> 3 </since_tizen>
1403 public static readonly int BevelPercentage = NDalic.PRIMITIVE_VISUAL_BEVEL_PERCENTAGE;
1405 /// Defines how smooth the bevelled edges should be.
1407 /// <since_tizen> 3 </since_tizen>
1408 public static readonly int BevelSmoothness = NDalic.PRIMITIVE_VISUAL_BEVEL_SMOOTHNESS;
1410 /// The position, in stage space, of the point light that applies lighting to the model.
1412 /// <since_tizen> 3 </since_tizen>
1413 public static readonly int LightPosition = NDalic.PRIMITIVE_VISUAL_LIGHT_POSITION;
1417 /// This specifies properties of the TextVisual.
1419 /// <since_tizen> 3 </since_tizen>
1420 public struct TextVisualProperty
1423 /// The text to display in UTF-8 format.
1425 /// <since_tizen> 3 </since_tizen>
1426 public static readonly int Text = NDalic.TEXT_VISUAL_TEXT;
1428 /// The requested font family to use.
1430 /// <since_tizen> 3 </since_tizen>
1431 public static readonly int FontFamily = NDalic.TEXT_VISUAL_FONT_FAMILY;
1433 /// The requested font style to use.
1435 /// <since_tizen> 3 </since_tizen>
1436 public static readonly int FontStyle = NDalic.TEXT_VISUAL_FONT_STYLE;
1438 /// The size of font in points.
1440 /// <since_tizen> 3 </since_tizen>
1441 public static readonly int PointSize = NDalic.TEXT_VISUAL_POINT_SIZE;
1443 /// The single-line or multi-line layout option.
1445 /// <since_tizen> 3 </since_tizen>
1446 public static readonly int MultiLine = NDalic.TEXT_VISUAL_MULTI_LINE;
1448 /// The line horizontal alignment.
1450 /// <since_tizen> 3 </since_tizen>
1451 public static readonly int HorizontalAlignment = NDalic.TEXT_VISUAL_HORIZONTAL_ALIGNMENT;
1453 /// The line vertical alignment.
1455 /// <since_tizen> 3 </since_tizen>
1456 public static readonly int VerticalAlignment = NDalic.TEXT_VISUAL_VERTICAL_ALIGNMENT;
1458 /// The color of the text.
1460 /// <since_tizen> 3 </since_tizen>
1461 public static readonly int TextColor = NDalic.TEXT_VISUAL_TEXT_COLOR;
1463 /// Whether the mark-up processing is enabled.
1465 /// <since_tizen> 3 </since_tizen>
1466 public static readonly int EnableMarkup = NDalic.TEXT_VISUAL_ENABLE_MARKUP;
1470 /// This specifies properties of the NpatchImageVisual.
1472 /// <since_tizen> 3 </since_tizen>
1473 public struct NpatchImageVisualProperty
1476 /// The URL of the image.
1478 /// <since_tizen> 3 </since_tizen>
1479 public static readonly int URL = NDalic.IMAGE_VISUAL_URL;
1481 /// Fitting options, used when resizing images to fit desired dimensions.
1483 /// <since_tizen> 3 </since_tizen>
1484 public static readonly int FittingMode = NDalic.IMAGE_VISUAL_FITTING_MODE;
1486 /// Filtering options, used when resizing images to sample original pixels.
1488 /// <since_tizen> 3 </since_tizen>
1489 public static readonly int SamplingMode = NDalic.IMAGE_VISUAL_SAMPLING_MODE;
1491 /// The desired image width.
1493 /// <since_tizen> 3 </since_tizen>
1494 public static readonly int DesiredWidth = NDalic.IMAGE_VISUAL_DESIRED_WIDTH;
1496 /// The desired image height.
1498 /// <since_tizen> 3 </since_tizen>
1499 public static readonly int DesiredHeight = NDalic.IMAGE_VISUAL_DESIRED_HEIGHT;
1501 /// Whether to load the image synchronously.
1503 /// <since_tizen> 3 </since_tizen>
1504 public static readonly int SynchronousLoading = NDalic.IMAGE_VISUAL_SYNCHRONOUS_LOADING;
1506 /// If true, only draws the borders.
1508 /// <since_tizen> 3 </since_tizen>
1509 public static readonly int BorderOnly = NDalic.IMAGE_VISUAL_BORDER_ONLY;
1511 /// The image area to be displayed.
1513 /// <since_tizen> 3 </since_tizen>
1514 public static readonly int PixelArea = NDalic.IMAGE_VISUAL_PIXEL_AREA;
1516 /// The wrap mode for u coordinate.
1518 /// <since_tizen> 3 </since_tizen>
1519 public static readonly int WrapModeU = NDalic.IMAGE_VISUAL_WRAP_MODE_U;
1521 /// The wrap mode for v coordinate.
1523 /// <since_tizen> 3 </since_tizen>
1524 public static readonly int WrapModeV = NDalic.IMAGE_VISUAL_WRAP_MODE_V;
1526 /// The border of the image.
1528 /// <since_tizen> 3 </since_tizen>
1529 public static readonly int Border = NDalic.IMAGE_VISUAL_WRAP_MODE_V + 1;
1533 /// The HiddenInput property.
1535 /// <since_tizen> 3 </since_tizen>
1536 public struct HiddenInputProperty
1539 /// The mode for input text display.
1541 /// <since_tizen> 3 </since_tizen>
1542 public static readonly int Mode = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_MODE_get();
1544 /// All input characters are substituted by this character.
1546 /// <since_tizen> 3 </since_tizen>
1547 public static readonly int SubstituteCharacter = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_SUBSTITUTE_CHARACTER_get();
1549 /// Length of text to show or hide, available when HIDE_COUNT/SHOW_COUNT mode is used.
1551 /// <since_tizen> 3 </since_tizen>
1552 public static readonly int SubstituteCount = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_SUBSTITUTE_COUNT_get();
1554 /// Hide last character after this duration, available when SHOW_LAST_CHARACTER mode.
1556 /// <since_tizen> 4 </since_tizen>
1557 public static readonly int ShowLastCharacterDuration = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_SHOW_LAST_CHARACTER_DURATION_get();
1561 /// The type for HiddenInput mode.
1563 /// <since_tizen> 3 </since_tizen>
1564 public enum HiddenInputModeType
1567 /// Don't hide text.
1571 /// Hide all the input text.
1575 /// Hide n characters from start.
1579 /// Show n characters from start.
1583 /// Show last character for the duration(use ShowLastCharacterDuration property to modify duration).
1589 /// ParentOrigin constants.
1591 /// <since_tizen> 3 </since_tizen>
1592 public struct ParentOrigin
1597 /// <since_tizen> 3 </since_tizen>
1598 public static float Top
1602 float ret = NDalicPINVOKE.ParentOriginTop_get();
1603 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1611 /// <since_tizen> 3 </since_tizen>
1612 public static float Bottom
1616 float ret = NDalicPINVOKE.ParentOriginBottom_get();
1617 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1625 /// <since_tizen> 3 </since_tizen>
1626 public static float Left
1630 float ret = NDalicPINVOKE.ParentOriginLeft_get();
1631 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1639 /// <since_tizen> 3 </since_tizen>
1640 public static float Right
1644 float ret = NDalicPINVOKE.ParentOriginRight_get();
1645 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1653 /// <since_tizen> 3 </since_tizen>
1654 public static float Middle
1658 float ret = NDalicPINVOKE.ParentOriginMiddle_get();
1659 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1667 /// <since_tizen> 3 </since_tizen>
1668 public static Position TopLeft
1672 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopLeft_get();
1673 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1674 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1682 /// <since_tizen> 3 </since_tizen>
1683 public static Position TopCenter
1687 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopCenter_get();
1688 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1689 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1697 /// <since_tizen> 3 </since_tizen>
1698 public static Position TopRight
1702 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopRight_get();
1703 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1704 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1712 /// <since_tizen> 3 </since_tizen>
1713 public static Position CenterLeft
1717 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenterLeft_get();
1718 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1719 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1727 /// <since_tizen> 3 </since_tizen>
1728 public static Position Center
1732 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenter_get();
1733 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1734 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1742 /// <since_tizen> 3 </since_tizen>
1743 public static Position CenterRight
1747 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenterRight_get();
1748 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1749 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1757 /// <since_tizen> 3 </since_tizen>
1758 public static Position BottomLeft
1762 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomLeft_get();
1763 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1764 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1772 /// <since_tizen> 3 </since_tizen>
1773 public static Position BottomCenter
1777 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomCenter_get();
1778 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1779 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1787 /// <since_tizen> 3 </since_tizen>
1788 public static Position BottomRight
1792 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomRight_get();
1793 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1794 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1801 /// PivotPoint constants.
1803 /// <since_tizen> 3 </since_tizen>
1804 public struct PivotPoint
1809 /// <since_tizen> 3 </since_tizen>
1810 public static float Top
1814 float ret = NDalicPINVOKE.AnchorPointTop_get();
1815 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1822 /// <since_tizen> 3 </since_tizen>
1823 public static float Bottom
1827 float ret = NDalicPINVOKE.AnchorPointBottom_get();
1828 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1835 /// <since_tizen> 3 </since_tizen>
1836 public static float Left
1840 float ret = NDalicPINVOKE.AnchorPointLeft_get();
1841 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1848 /// <since_tizen> 3 </since_tizen>
1849 public static float Right
1853 float ret = NDalicPINVOKE.AnchorPointRight_get();
1854 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1861 /// <since_tizen> 3 </since_tizen>
1862 public static float Middle
1866 float ret = NDalicPINVOKE.AnchorPointMiddle_get();
1867 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1874 /// <since_tizen> 3 </since_tizen>
1875 public static Position TopLeft
1879 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopLeft_get();
1880 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1881 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1888 /// <since_tizen> 3 </since_tizen>
1889 public static Position TopCenter
1893 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopCenter_get();
1894 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1895 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1902 /// <since_tizen> 3 </since_tizen>
1903 public static Position TopRight
1907 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopRight_get();
1908 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1909 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1916 /// <since_tizen> 3 </since_tizen>
1917 public static Position CenterLeft
1921 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterLeft_get();
1922 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1923 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1930 /// <since_tizen> 3 </since_tizen>
1931 public static Position Center
1935 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenter_get();
1936 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1937 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1944 /// <since_tizen> 3 </since_tizen>
1945 public static Position CenterRight
1949 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterRight_get();
1950 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1951 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1958 /// <since_tizen> 3 </since_tizen>
1959 public static Position BottomLeft
1963 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomLeft_get();
1964 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1965 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1972 /// <since_tizen> 3 </since_tizen>
1973 public static Position BottomCenter
1977 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomCenter_get();
1978 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1979 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1986 /// <since_tizen> 3 </since_tizen>
1987 public static Position BottomRight
1991 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomRight_get();
1992 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1993 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1999 /// PositionAxis constants.
2001 /// <since_tizen> 3 </since_tizen>
2002 public struct PositionAxis
2007 /// <since_tizen> 3 </since_tizen>
2008 public static Position X
2012 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_XAXIS_get();
2013 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2014 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2021 /// <since_tizen> 3 </since_tizen>
2022 public static Position Y
2026 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_YAXIS_get();
2027 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2028 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2035 /// <since_tizen> 3 </since_tizen>
2036 public static Position Z
2040 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_ZAXIS_get();
2041 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2042 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2047 /// The Negative X axis
2049 /// <since_tizen> 3 </since_tizen>
2050 public static Position NegativeX
2054 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_XAXIS_get();
2055 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2056 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2061 /// The Negative Y axis
2063 /// <since_tizen> 3 </since_tizen>
2064 public static Position NegativeY
2068 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_YAXIS_get();
2069 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2070 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2075 /// The Negative Z axis
2077 /// <since_tizen> 3 </since_tizen>
2078 public static Position NegativeZ
2082 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_ZAXIS_get();
2083 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2084 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2091 /// Auto scrolling stop behavior.
2093 /// <since_tizen> 3 </since_tizen>
2094 public enum AutoScrollStopMode
2097 /// Stop animation after current loop finished.
2101 /// Stop animation immediately and reset position.
2107 /// An enum of screen mode.
2109 /// <since_tizen> 4 </since_tizen>
2110 public enum ScreenOffMode {
2112 /// The mode which turns the screen off after a timeout.
2116 /// The mode which keeps the screen turned on.
2122 /// An enum of notification window's priority level.
2124 /// <since_tizen> 3 </since_tizen>
2125 public enum NotificationLevel {
2127 /// No notification level.<br />
2128 /// Default level.<br />
2129 /// This value makes the notification window place in the layer of the normal window.
2133 /// The base nofitication level.
2137 /// The medium notification level than base.
2141 /// The higher notification level than medium.
2145 /// The highest notification level.
2151 /// An enum of window types.
2153 /// <since_tizen> 3 </since_tizen>
2154 public enum WindowType {
2156 /// A default window type.<br />
2157 /// Indicates a normal or top-level window.
2158 /// Almost every window will be created with this type.
2162 /// A notification window, like a warning about battery life or a new email received.
2166 /// A persistent utility window, like a toolbox or a palette.
2170 /// Used for simple dialog windows.
2175 /// <since_tizen> 3 </since_tizen>
2176 public enum DisposeTypes
2181 /// <since_tizen> 3 </since_tizen>
2184 /// Called by DisposeQueue
2186 /// <since_tizen> 3 </since_tizen>
2193 /// [Obsolete("Please do not use! this will be deprecated")]
2195 /// <since_tizen> 3 </since_tizen>
2196 [Obsolete("Please do not use! This will be deprecated! Please use PivotPoint instead!")]
2197 [EditorBrowsable(EditorBrowsableState.Never)]
2198 public struct AnchorPoint
2203 /// <since_tizen> 3 </since_tizen>
2204 public static float Top
2208 float ret = NDalicPINVOKE.AnchorPointTop_get();
2209 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2216 /// <since_tizen> 3 </since_tizen>
2217 public static float Bottom
2221 float ret = NDalicPINVOKE.AnchorPointBottom_get();
2222 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2229 /// <since_tizen> 3 </since_tizen>
2230 public static float Left
2234 float ret = NDalicPINVOKE.AnchorPointLeft_get();
2235 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2242 /// <since_tizen> 3 </since_tizen>
2243 public static float Right
2247 float ret = NDalicPINVOKE.AnchorPointRight_get();
2248 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2255 /// <since_tizen> 3 </since_tizen>
2256 public static float Middle
2260 float ret = NDalicPINVOKE.AnchorPointMiddle_get();
2261 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2268 /// <since_tizen> 3 </since_tizen>
2269 public static Position TopLeft
2273 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopLeft_get();
2274 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2275 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2282 /// <since_tizen> 3 </since_tizen>
2283 public static Position TopCenter
2287 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopCenter_get();
2288 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2289 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2296 /// <since_tizen> 3 </since_tizen>
2297 public static Position TopRight
2301 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopRight_get();
2302 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2303 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2310 /// <since_tizen> 3 </since_tizen>
2311 public static Position CenterLeft
2315 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterLeft_get();
2316 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2317 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2324 /// <since_tizen> 3 </since_tizen>
2325 public static Position Center
2329 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenter_get();
2330 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2331 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2338 /// <since_tizen> 3 </since_tizen>
2339 public static Position CenterRight
2343 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterRight_get();
2344 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2345 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2352 /// <since_tizen> 3 </since_tizen>
2353 public static Position BottomLeft
2357 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomLeft_get();
2358 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2359 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2366 /// <since_tizen> 3 </since_tizen>
2367 public static Position BottomCenter
2371 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomCenter_get();
2372 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2373 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2380 /// <since_tizen> 3 </since_tizen>
2381 public static Position BottomRight
2385 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomRight_get();
2386 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2387 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2394 /// An enum of the scroll state of the text eidtor.
2396 /// <since_tizen> 3 </since_tizen>
2397 public enum ScrollState
2400 /// Scrolling is started.
2405 /// Scrolling is finished.
2411 /// An enum of the line wrap mode of text controls.
2413 /// <since_tizen> 4 </since_tizen>
2414 public enum LineWrapMode
2417 /// The word mode will move a word to the next line.
2419 /// <since_tizen> 4 </since_tizen>
2423 /// character will move character by character to the next line.
2425 /// <since_tizen> 4 </since_tizen>
2430 /// An enum of text direction.
2432 /// <since_tizen> 5 </since_tizen>
2433 /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
2434 [EditorBrowsable(EditorBrowsableState.Never)]
2435 public enum TextDirection
2438 /// Text direction is from left to right.
2440 /// <since_tizen> 5 </since_tizen>
2441 /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
2442 [EditorBrowsable(EditorBrowsableState.Never)]
2446 /// Text direction is from right to left.
2448 /// <since_tizen> 5 </since_tizen>
2449 /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
2450 [EditorBrowsable(EditorBrowsableState.Never)]
2455 /// An enum of vertical line alignment.
2457 /// <since_tizen> 5 </since_tizen>
2458 /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
2459 [EditorBrowsable(EditorBrowsableState.Never)]
2460 public enum VerticalLineAlignment
2463 /// vertical line alignment is from top.
2465 /// <since_tizen> 5 </since_tizen>
2466 /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
2467 [EditorBrowsable(EditorBrowsableState.Never)]
2471 /// vertical line alignment is from center.
2473 /// <since_tizen> 5 </since_tizen>
2474 /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
2475 [EditorBrowsable(EditorBrowsableState.Never)]
2479 /// vertical line alignment is from bottom.
2481 /// <since_tizen> 5 </since_tizen>
2482 /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
2483 [EditorBrowsable(EditorBrowsableState.Never)]
2488 /// Enumeration type for the font's slant.
2490 /// <since_tizen> 5 </since_tizen>
2491 /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
2492 [EditorBrowsable(EditorBrowsableState.Never)]
2493 public enum FontSlantType
2498 /// <since_tizen> 5 </since_tizen>
2499 /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
2500 [EditorBrowsable(EditorBrowsableState.Never)]
2505 /// <since_tizen> 5 </since_tizen>
2506 /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
2507 [EditorBrowsable(EditorBrowsableState.Never)]
2512 /// <since_tizen> 5 </since_tizen>
2513 /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
2514 [EditorBrowsable(EditorBrowsableState.Never)]
2519 /// <since_tizen> 5 </since_tizen>
2520 /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
2521 [EditorBrowsable(EditorBrowsableState.Never)]
2526 /// <since_tizen> 5 </since_tizen>
2527 /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
2528 [EditorBrowsable(EditorBrowsableState.Never)]
2533 /// Enumeration type for the font's weight.
2535 /// <since_tizen> 5 </since_tizen>
2536 public enum FontWeightType
2541 /// <since_tizen> 5 </since_tizen>
2542 /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
2543 [EditorBrowsable(EditorBrowsableState.Never)]
2548 /// <since_tizen> 5 </since_tizen>
2549 /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
2550 [EditorBrowsable(EditorBrowsableState.Never)]
2555 /// <since_tizen> 5 </since_tizen>
2556 /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
2557 [EditorBrowsable(EditorBrowsableState.Never)]
2562 /// <since_tizen> 5 </since_tizen>
2563 /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
2564 [EditorBrowsable(EditorBrowsableState.Never)]
2565 ExtraLight = UltraLight,
2569 /// <since_tizen> 5 </since_tizen>
2570 /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
2571 [EditorBrowsable(EditorBrowsableState.Never)]
2576 /// <since_tizen> 5 </since_tizen>
2577 /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
2578 [EditorBrowsable(EditorBrowsableState.Never)]
2583 /// <since_tizen> 5 </since_tizen>
2584 /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
2585 [EditorBrowsable(EditorBrowsableState.Never)]
2586 SemiLight = DemiLight,
2590 /// <since_tizen> 5 </since_tizen>
2591 /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
2592 [EditorBrowsable(EditorBrowsableState.Never)]
2597 /// <since_tizen> 5 </since_tizen>
2598 /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
2599 [EditorBrowsable(EditorBrowsableState.Never)]
2604 /// <since_tizen> 5 </since_tizen>
2605 /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
2606 [EditorBrowsable(EditorBrowsableState.Never)]
2611 /// <since_tizen> 5 </since_tizen>
2612 /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
2613 [EditorBrowsable(EditorBrowsableState.Never)]
2618 /// <since_tizen> 5 </since_tizen>
2619 /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
2620 [EditorBrowsable(EditorBrowsableState.Never)]
2625 /// <since_tizen> 5 </since_tizen>
2626 /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
2627 [EditorBrowsable(EditorBrowsableState.Never)]
2628 SemiBold = DemiBold,
2632 /// <since_tizen> 5 </since_tizen>
2633 /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
2634 [EditorBrowsable(EditorBrowsableState.Never)]
2639 /// <since_tizen> 5 </since_tizen>
2640 /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
2641 [EditorBrowsable(EditorBrowsableState.Never)]
2646 /// <since_tizen> 5 </since_tizen>
2647 /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
2648 [EditorBrowsable(EditorBrowsableState.Never)]
2649 ExtraBold = UltraBold,
2653 /// <since_tizen> 5 </since_tizen>
2654 /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
2655 [EditorBrowsable(EditorBrowsableState.Never)]
2660 /// <since_tizen> 5 </since_tizen>
2661 /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
2662 [EditorBrowsable(EditorBrowsableState.Never)]
2667 /// <since_tizen> 5 </since_tizen>
2668 /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
2669 [EditorBrowsable(EditorBrowsableState.Never)]
2674 /// Enumeration type for the font's width.
2676 /// <since_tizen> 5 </since_tizen>
2677 /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
2678 [EditorBrowsable(EditorBrowsableState.Never)]
2679 public enum FontWidthType
2684 /// <since_tizen> 5 </since_tizen>
2685 /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
2686 [EditorBrowsable(EditorBrowsableState.Never)]
2691 /// <since_tizen> 5 </since_tizen>
2692 /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
2693 [EditorBrowsable(EditorBrowsableState.Never)]
2698 /// <since_tizen> 5 </since_tizen>
2699 /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
2700 [EditorBrowsable(EditorBrowsableState.Never)]
2705 /// <since_tizen> 5 </since_tizen>
2706 /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
2707 [EditorBrowsable(EditorBrowsableState.Never)]
2712 /// <since_tizen> 5 </since_tizen>
2713 /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
2714 [EditorBrowsable(EditorBrowsableState.Never)]
2719 /// <since_tizen> 5 </since_tizen>
2720 /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
2721 [EditorBrowsable(EditorBrowsableState.Never)]
2726 /// <since_tizen> 5 </since_tizen>
2727 /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
2728 [EditorBrowsable(EditorBrowsableState.Never)]
2733 /// <since_tizen> 5 </since_tizen>
2734 /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
2735 [EditorBrowsable(EditorBrowsableState.Never)]
2740 /// <since_tizen> 5 </since_tizen>
2741 /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
2742 [EditorBrowsable(EditorBrowsableState.Never)]
2747 /// <since_tizen> 5 </since_tizen>
2748 /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
2749 [EditorBrowsable(EditorBrowsableState.Never)]
2754 /// Enumeration type for the glyph type
2756 /// <since_tizen> 5 </since_tizen>
2757 /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
2758 [EditorBrowsable(EditorBrowsableState.Never)]
2759 public enum GlyphType
2762 /// Glyph stored as pixels.
2764 /// <since_tizen> 5 </since_tizen>
2765 /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
2766 [EditorBrowsable(EditorBrowsableState.Never)]
2769 /// Glyph stored as vectors (scalable). This feature requires highp shader support and is not available on all platforms.
2771 /// <since_tizen> 5 </since_tizen>
2772 /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
2773 [EditorBrowsable(EditorBrowsableState.Never)]