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 public enum ReleasePolicyType
661 /// Image is released when visual detached from scene.
665 /// Image is only released when visual is destroyed.
669 /// Image is not released.
675 /// Specifies the load policy types.<br />
676 /// Decides when the image texture should be loaded.
678 /// <since_tizen> 5 </since_tizen>
679 public enum LoadPolicyType
682 /// Load texture once the image source has been provided. Even if not being used yet.
686 /// Only load texture once the visual is attached, when the image needs to be shown.
692 /// The type of coordinate system for certain attributes of the points in a gradient.
694 /// <since_tizen> 3 </since_tizen>
695 public enum GradientVisualUnitsType
698 /// 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).
702 /// 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).
708 /// This specifies SpreadMethod types.<br />
709 /// SpreadMethod defines what happens if the gradient starts or ends inside the bounds of the target rectangle.<br />
711 /// <since_tizen> 3 </since_tizen>
712 public enum GradientVisualSpreadMethodType
715 /// Uses the terminal colors of the gradient to fill the remainder of the quad.
719 /// Reflects the gradient pattern start-to-end, end-to-start, start-to-end, etc. until the quad is filled.
723 /// Repeats the gradient pattern start-to-end, start-to-end, start-to-end, etc. until the quad is filled.
729 /// The shading mode used by the mesh visual.
731 /// <since_tizen> 3 </since_tizen>
732 public enum MeshVisualShadingModeValue
735 /// *Simplest*. One color that is lit by ambient and diffuse lighting.
737 TexturelessWithDiffuseLighting,
739 /// Uses only the visual image textures provided with specular lighting in addition to ambient and diffuse lighting.
741 TexturedWithSpecularLighting,
743 /// Uses all textures provided including gloss, normal, and texture map along with specular, ambient, and diffuse lighting.
745 TexturedWithDetailedSpecularLighting
749 /// The primitive shape to render as a primitive visual.
751 /// <since_tizen> 3 </since_tizen>
752 public enum PrimitiveVisualShapeType
755 /// A perfectly round geometrical object in the three-dimensional space.
759 /// The area bound between two circles, i.e., a cone with the tip removed.
763 /// Equivalent to a conical frustrum with the top radius of zero.
764 /// </summary>Equivalent to a conical frustrum with the top radius of zero.
767 /// Equivalent to a conical frustrum with the top radius of zero.
771 /// Equivalent to a conical frustrum with equal radii for the top and bottom circles.
775 /// Equivalent to a bevelled cube with a bevel percentage of zero.
779 /// Equivalent to a bevelled cube with a bevel percentage of one.
785 /// This specifies fitting mode types. Fitting options, used when resizing images to fit desired dimensions.<br />
786 /// A fitting mode controls the region of a loaded image to be mapped to the desired image rectangle.<br />
787 /// All fitting modes preserve the aspect ratio of the image contents.<br />
789 /// <since_tizen> 3 </since_tizen>
790 public enum FittingModeType
793 /// Full-screen image display: Limit loaded image resolution to device resolution using the ShrinkToFit mode.
797 /// Thumbnail gallery grid: Limit loaded image resolution to screen tile using the ScaleToFill mode.
801 /// Image columns: Limit loaded image resolution to column width using the FitWidth mode.
805 /// Image rows: Limit loaded image resolution to row height using the FitHeight mode.
811 /// The values of this enum determine how the visual should fit into the view.
813 /// <since_tizen> 5 </since_tizen>
814 public enum VisualFittingModeType
817 /// The visual should be scaled to fit, preserving aspect ratio.
821 /// The visual should be stretched to fill, not preserving aspect ratio.
827 /// This specifies sampling mode types. Filtering options are used when resizing images to sample original pixels.<br />
828 /// A SamplingMode controls how pixels in an input image are sampled and combined to generate each pixel of a destination image during scaling.<br />
829 /// 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 />
830 /// but all other filter modes do if the desired dimensions are not more than the raw dimensions of the input image file.<br />
832 /// <since_tizen> 3 </since_tizen>
833 public enum SamplingModeType
836 /// Iteratively box filter to generate an image of 1/2, 1/4, 1/8, etc. width and height and approximately the desired size. <br />
837 /// This is the default.
841 /// For each output pixel, read one input pixel.
845 /// For each output pixel, read a quad of four input pixels and write a weighted average of them.
849 /// Iteratively box filter to generate an image of 1/2, 1/4, 1/8, etc. width and height and approximately the desired size, <br />
850 /// then for each output pixel, read one pixel from the last level of box filtering.<br />
854 /// 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.
858 /// 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.
862 /// For caching algorithms where a client strongly prefers a cache-hit to reuse a cached image.
868 /// This specifies policy types that could be used by the transform for the offset or size.
870 /// <since_tizen> 3 </since_tizen>
871 public enum VisualTransformPolicyType
874 /// Relative to the control (percentage [0.0f to 1.0f] of the control).
878 /// Absolute value in world units.
884 /// This specifies all the transform property types.
886 /// <since_tizen> 3 </since_tizen>
887 public enum VisualTransformPropertyType
890 /// Offset of the visual, which can be either relative (percentage [0.0f to 1.0f] of the parent) or absolute (in world units).
894 /// Size of the visual, which can be either relative (percentage [0.0f to 1.0f] of the parent) or absolute (in world units).
898 /// The origin of the visual within its control area.
902 /// The anchor-point of the visual.
906 /// Whether the x or y offset values are relative (percentage [0.0f to 1.0f] of the control) or absolute (in world units).
910 /// Whether the width or the height size values are relative (percentage [0.0f to 1.0f] of the control) or absolute (in world units).
916 /// The type for HiddenInput mode.
918 /// <since_tizen> 3 </since_tizen>
919 public enum HiddenInputModeType
926 /// Hide all the input text.
930 /// Hide n characters from start.
934 /// Show n characters from start.
938 /// Show last character for the duration(use ShowLastCharacterDuration property to modify duration).
944 /// Auto scrolling stop behavior.
946 /// <since_tizen> 3 </since_tizen>
947 public enum AutoScrollStopMode
950 /// Stop animation after current loop finished.
954 /// Stop animation immediately and reset position.
960 /// An enum of screen mode.
962 /// <since_tizen> 4 </since_tizen>
963 public enum ScreenOffMode
966 /// The mode which turns the screen off after a timeout.
970 /// The mode which keeps the screen turned on.
976 /// An enum of notification window's priority level.
978 /// <since_tizen> 3 </since_tizen>
979 public enum NotificationLevel
982 /// No notification level.<br />
983 /// Default level.<br />
984 /// This value makes the notification window place in the layer of the normal window.
988 /// The base nofitication level.
992 /// The medium notification level than base.
996 /// The higher notification level than medium.
1000 /// The highest notification level.
1006 /// An enum of window types.
1008 /// <since_tizen> 3 </since_tizen>
1009 public enum WindowType
1012 /// A default window type.<br />
1013 /// Indicates a normal or top-level window.
1014 /// Almost every window will be created with this type.
1018 /// A notification window, like a warning about battery life or a new email received.
1022 /// A persistent utility window, like a toolbox or a palette.
1026 /// Used for simple dialog windows.
1031 /// <since_tizen> 3 </since_tizen>
1032 public enum DisposeTypes
1037 /// <since_tizen> 3 </since_tizen>
1040 /// Called by DisposeQueue
1042 /// <since_tizen> 3 </since_tizen>
1047 /// An enum of the scroll state of the text eidtor.
1049 /// <since_tizen> 3 </since_tizen>
1050 public enum ScrollState
1053 /// Scrolling is started.
1058 /// Scrolling is finished.
1064 /// An enum of the line wrap mode of text controls.
1066 /// <since_tizen> 4 </since_tizen>
1067 public enum LineWrapMode
1070 /// The word mode will move a word to the next line.
1072 /// <since_tizen> 4 </since_tizen>
1076 /// character will move character by character to the next line.
1078 /// <since_tizen> 4 </since_tizen>
1083 /// An enum of text directions.
1085 /// <since_tizen> 5 </since_tizen>
1086 public enum TextDirection
1089 /// Text direction is from left to right.
1091 /// <since_tizen> 5 </since_tizen>
1095 /// Text direction is from right to left.
1097 /// <since_tizen> 5 </since_tizen>
1102 /// An enum of vertical line alignments.
1104 /// <since_tizen> 5 </since_tizen>
1105 public enum VerticalLineAlignment
1108 /// vertical line alignment is from top.
1110 /// <since_tizen> 5 </since_tizen>
1114 /// vertical line alignment is from center.
1116 /// <since_tizen> 5 </since_tizen>
1120 /// vertical line alignment is from bottom.
1122 /// <since_tizen> 5 </since_tizen>
1127 /// Enumeration type for the font's slant.
1129 /// <since_tizen> 5 </since_tizen>
1130 public enum FontSlantType
1135 /// <since_tizen> 5 </since_tizen>
1140 /// <since_tizen> 5 </since_tizen>
1145 /// <since_tizen> 5 </since_tizen>
1150 /// <since_tizen> 5 </since_tizen>
1155 /// <since_tizen> 5 </since_tizen>
1160 /// Enumeration type for the font's weight.
1162 /// <since_tizen> 5 </since_tizen>
1163 public enum FontWeightType
1168 /// <since_tizen> 5 </since_tizen>
1173 /// <since_tizen> 5 </since_tizen>
1178 /// <since_tizen> 5 </since_tizen>
1183 /// <since_tizen> 5 </since_tizen>
1184 ExtraLight = UltraLight,
1188 /// <since_tizen> 5 </since_tizen>
1193 /// <since_tizen> 5 </since_tizen>
1198 /// <since_tizen> 5 </since_tizen>
1199 SemiLight = DemiLight,
1203 /// <since_tizen> 5 </since_tizen>
1208 /// <since_tizen> 5 </since_tizen>
1213 /// <since_tizen> 5 </since_tizen>
1218 /// <since_tizen> 5 </since_tizen>
1223 /// <since_tizen> 5 </since_tizen>
1228 /// <since_tizen> 5 </since_tizen>
1229 SemiBold = DemiBold,
1233 /// <since_tizen> 5 </since_tizen>
1238 /// <since_tizen> 5 </since_tizen>
1243 /// <since_tizen> 5 </since_tizen>
1244 ExtraBold = UltraBold,
1248 /// <since_tizen> 5 </since_tizen>
1253 /// <since_tizen> 5 </since_tizen>
1258 /// <since_tizen> 5 </since_tizen>
1263 /// Enumeration type for the font's width.
1265 /// <since_tizen> 5 </since_tizen>
1266 public enum FontWidthType
1271 /// <since_tizen> 5 </since_tizen>
1276 /// <since_tizen> 5 </since_tizen>
1281 /// <since_tizen> 5 </since_tizen>
1286 /// <since_tizen> 5 </since_tizen>
1291 /// <since_tizen> 5 </since_tizen>
1296 /// <since_tizen> 5 </since_tizen>
1301 /// <since_tizen> 5 </since_tizen>
1306 /// <since_tizen> 5 </since_tizen>
1311 /// <since_tizen> 5 </since_tizen>
1316 /// <since_tizen> 5 </since_tizen>
1321 /// Enumeration type for the glyph type.
1323 /// <since_tizen> 5 </since_tizen>
1324 public enum GlyphType
1327 /// Glyph stored as pixels.
1329 /// <since_tizen> 5 </since_tizen>
1332 /// Glyph stored as vectors (scalable). This feature requires highp shader support and is not available on all platforms.
1334 /// <since_tizen> 5 </since_tizen>
1339 /// Enumeration for Setting the rendering behavior of a Window.
1341 /// <since_tizen> 5 </since_tizen>
1342 public enum RenderingBehaviorType
1345 /// Default. Only renders if required.
1349 /// Renders continuously.
1355 /// This specifies visual types.
1357 /// <since_tizen> 3 </since_tizen>
1358 public struct Visual
1361 /// The index for the visual type.
1363 /// <since_tizen> 3 </since_tizen>
1367 /// Renders a solid color as an internal border to the control's quad.
1371 /// Renders a solid color to the control's quad.
1375 /// Renders a smooth transition of colors to the control's quad.
1379 /// Renders an image into the control's quad.
1383 /// Renders a mesh using an "obj" file, optionally with textures provided by an "mtl" file.
1387 /// Renders a simple 3D shape, such as a cube or a sphere.
1391 /// Renders a simple wire-frame outlining a quad.
1399 /// Renders an NPatch image.
1403 /// Renders an SVG image.
1407 /// Renders a animated image (animated GIF).
1413 /// This specifies visual properties.
1415 /// <since_tizen> 3 </since_tizen>
1416 public struct Property
1421 /// <since_tizen> 3 </since_tizen>
1422 public static readonly int Type = NDalic.VISUAL_PROPERTY_TYPE;
1426 /// <since_tizen> 3 </since_tizen>
1427 public static readonly int Shader = NDalic.VISUAL_PROPERTY_SHADER;
1431 /// <since_tizen> 3 </since_tizen>
1432 public static readonly int Transform = NDalic.VISUAL_PROPERTY_TRANSFORM;
1434 /// PremultipliedAlpha.
1436 /// <since_tizen> 3 </since_tizen>
1437 public static readonly int PremultipliedAlpha = NDalic.VISUAL_PROPERTY_PREMULTIPLIED_ALPHA;
1441 /// <since_tizen> 3 </since_tizen>
1442 public static readonly int MixColor = NDalic.VISUAL_PROPERTY_MIX_COLOR;
1446 /// <since_tizen> 3 </since_tizen>
1447 public static readonly int Opacity = NDalic.VISUAL_PROPERTY_MIX_COLOR + 1;
1449 /// The fitting mode of the visual.
1451 /// <since_tizen> 5 </since_tizen>
1452 public static readonly int VisualFittingMode = NDalic.VISUAL_PROPERTY_MIX_COLOR + 2;
1456 /// This specifies shader properties.
1458 /// <since_tizen> 3 </since_tizen>
1459 public struct ShaderProperty
1462 /// Vertex shader code
1464 /// <since_tizen> 3 </since_tizen>
1465 public static readonly int VertexShader = NDalic.VISUAL_SHADER_VERTEX;
1467 /// Fragment shader code
1469 /// <since_tizen> 3 </since_tizen>
1470 public static readonly int FragmentShader = NDalic.VISUAL_SHADER_FRAGMENT;
1472 /// How to subdivide the grid along X
1474 /// <since_tizen> 3 </since_tizen>
1475 public static readonly int ShaderSubdivideGridX = NDalic.VISUAL_SHADER_SUBDIVIDE_GRID_X;
1477 /// How to subdivide the grid along Y
1479 /// <since_tizen> 3 </since_tizen>
1480 public static readonly int ShaderSubdivideGridY = NDalic.VISUAL_SHADER_SUBDIVIDE_GRID_Y;
1482 /// Bitmask of hints
1484 /// <since_tizen> 3 </since_tizen>
1485 public static readonly int ShaderHints = NDalic.VISUAL_SHADER_HINTS;
1489 /// This specifies visaul align types.
1491 /// <since_tizen> 3 </since_tizen>
1492 public enum AlignType
1497 /// <since_tizen> 3 </since_tizen>
1502 /// <since_tizen> 3 </since_tizen>
1507 /// <since_tizen> 3 </since_tizen>
1512 /// <since_tizen> 3 </since_tizen>
1517 /// <since_tizen> 3 </since_tizen>
1522 /// <since_tizen> 3 </since_tizen>
1527 /// <since_tizen> 3 </since_tizen>
1532 /// <since_tizen> 3 </since_tizen>
1537 /// <since_tizen> 3 </since_tizen>
1543 /// This specifies properties of the BorderVisual.
1545 /// <since_tizen> 3 </since_tizen>
1546 public struct BorderVisualProperty
1549 /// The color of the border.
1551 /// <since_tizen> 3 </since_tizen>
1552 public static readonly int Color = NDalic.BORDER_VISUAL_COLOR;
1554 /// The width of the border (in pixels).
1556 /// <since_tizen> 3 </since_tizen>
1557 public static readonly int Size = NDalic.BORDER_VISUAL_SIZE;
1559 /// Whether anti-aliasing of the border is required.
1561 /// <since_tizen> 3 </since_tizen>
1562 public static readonly int AntiAliasing = NDalic.BORDER_VISUAL_ANTI_ALIASING;
1566 /// This specifies properties of the ColorVisual.
1568 /// <since_tizen> 3 </since_tizen>
1569 public struct ColorVisualProperty
1572 /// The solid color required.
1574 /// <since_tizen> 3 </since_tizen>
1575 public static readonly int MixColor = NDalic.COLOR_VISUAL_MIX_COLOR;
1577 /// Whether to render if the MixColor is transparent.
1579 /// <since_tizen> 5 </since_tizen>
1580 public static readonly int RenderIfTransparent = NDalic.COLOR_VISUAL_MIX_COLOR + 1;
1584 /// This specifies properties of the GradientVisual.
1586 /// <since_tizen> 3 </since_tizen>
1587 public struct GradientVisualProperty
1590 /// The start position of a linear gradient.
1592 /// <since_tizen> 3 </since_tizen>
1593 public static readonly int StartPosition = NDalic.GRADIENT_VISUAL_START_POSITION;
1595 /// The end position of a linear gradient.
1597 /// <since_tizen> 3 </since_tizen>
1598 public static readonly int EndPosition = NDalic.GRADIENT_VISUAL_END_POSITION;
1600 /// The center point of a radial gradient.
1602 /// <since_tizen> 3 </since_tizen>
1603 public static readonly int Center = NDalic.GRADIENT_VISUAL_CENTER;
1605 /// The size of the radius of a radial gradient.
1607 /// <since_tizen> 3 </since_tizen>
1608 public static readonly int Radius = NDalic.GRADIENT_VISUAL_RADIUS;
1610 /// All the stop offsets.
1612 /// <since_tizen> 3 </since_tizen>
1613 public static readonly int StopOffset = NDalic.GRADIENT_VISUAL_STOP_OFFSET;
1615 /// The color at the stop offsets.
1617 /// <since_tizen> 3 </since_tizen>
1618 public static readonly int StopColor = NDalic.GRADIENT_VISUAL_STOP_COLOR;
1620 /// Defines the coordinate system for certain attributes of the points in a gradient.
1622 /// <since_tizen> 3 </since_tizen>
1623 public static readonly int Units = NDalic.GRADIENT_VISUAL_UNITS;
1625 /// Indicates what happens if the gradient starts or ends inside the bounds of the target rectangle.
1627 /// <since_tizen> 3 </since_tizen>
1628 public static readonly int SpreadMethod = NDalic.GRADIENT_VISUAL_SPREAD_METHOD;
1632 /// This specifies properties of the ImageVisual.
1634 /// <since_tizen> 3 </since_tizen>
1635 public struct ImageVisualProperty
1638 /// The URL of the image.
1640 /// <since_tizen> 3 </since_tizen>
1641 public static readonly int URL = NDalic.IMAGE_VISUAL_URL;
1643 /// The URL of the alpha mask image.
1645 /// <since_tizen> 3 </since_tizen>
1646 public static readonly int AlphaMaskURL = NDalic.IMAGE_VISUAL_ALPHA_MASK_URL;
1648 /// Fitting options, used when resizing images to fit desired dimensions.
1650 /// <since_tizen> 3 </since_tizen>
1651 public static readonly int FittingMode = NDalic.IMAGE_VISUAL_FITTING_MODE;
1653 /// Filtering options, used when resizing images to sample original pixels.
1655 /// <since_tizen> 3 </since_tizen>
1656 public static readonly int SamplingMode = NDalic.IMAGE_VISUAL_SAMPLING_MODE;
1658 /// The desired image width.
1660 /// <since_tizen> 3 </since_tizen>
1661 public static readonly int DesiredWidth = NDalic.IMAGE_VISUAL_DESIRED_WIDTH;
1663 /// The desired image height.
1665 /// <since_tizen> 3 </since_tizen>
1666 public static readonly int DesiredHeight = NDalic.IMAGE_VISUAL_DESIRED_HEIGHT;
1668 /// Whether to load the image synchronously.
1670 /// <since_tizen> 3 </since_tizen>
1671 public static readonly int SynchronousLoading = NDalic.IMAGE_VISUAL_SYNCHRONOUS_LOADING;
1673 /// If true, only draws the borders.
1675 /// <since_tizen> 3 </since_tizen>
1676 public static readonly int BorderOnly = NDalic.IMAGE_VISUAL_BORDER_ONLY;
1678 /// The image area to be displayed.
1680 /// <since_tizen> 3 </since_tizen>
1681 public static readonly int PixelArea = NDalic.IMAGE_VISUAL_PIXEL_AREA;
1683 /// The wrap mode for u coordinate.
1685 /// <since_tizen> 3 </since_tizen>
1686 public static readonly int WrapModeU = NDalic.IMAGE_VISUAL_WRAP_MODE_U;
1688 /// The wrap mode for v coordinate.
1690 /// <since_tizen> 3 </since_tizen>
1691 public static readonly int WrapModeV = NDalic.IMAGE_VISUAL_WRAP_MODE_V;
1693 /// The border of the image.
1695 /// <since_tizen> 3 </since_tizen>
1696 public static readonly int Border = NDalic.IMAGE_VISUAL_BORDER;
1698 /// Whether to use the texture atlas.
1700 /// <since_tizen> 5 </since_tizen>
1701 public static readonly int Atlasing = NDalic.IMAGE_VISUAL_BORDER + 1;
1703 /// The scale factor to apply to the content image before masking.
1705 /// <since_tizen> 4 </since_tizen>
1706 public static readonly int MaskContentScale = NDalic.IMAGE_VISUAL_MASK_CONTENT_SCALE;
1708 /// Whether to crop image to mask or scale mask to fit image
1710 /// <since_tizen> 4 </since_tizen>
1711 public static readonly int CropToMask = NDalic.IMAGE_VISUAL_CROP_TO_MASK;
1713 /// Defines the batch size for pre-loading images in the AnimatedImageVisual
1715 /// <since_tizen> 4 </since_tizen>
1716 public static readonly int BatchSize = NDalic.IMAGE_VISUAL_BATCH_SIZE;
1718 /// Defines the cache size for loading images in the AnimatedImageVisual
1720 /// <since_tizen> 4 </since_tizen>
1721 public static readonly int CacheSize = NDalic.IMAGE_VISUAL_CACHE_SIZE;
1723 /// The number of milliseconds between each frame in the AnimatedImageVisual
1725 /// <since_tizen> 4 </since_tizen>
1726 public static readonly int FrameDelay = NDalic.IMAGE_VISUAL_FRAME_DELAY;
1728 /// The number of times the AnimatedImageVisual will be looped.
1729 /// The default is -1. If the value is less than 0, loop unlimited. Otherwise, loop loopCount times.
1731 /// <since_tizen> 5 </since_tizen>
1732 public static readonly int LoopCount = NDalic.IMAGE_VISUAL_LOOP_COUNT;
1734 /// The policy to determine when an image should no longer be cached.
1736 /// <since_tizen> 5 </since_tizen>
1737 public static readonly int ReleasePolicy = NDalic.IMAGE_VISUAL_RELEASE_POLICY;
1739 /// The policy to determine when an image should be loaded.
1741 /// <since_tizen> 5 </since_tizen>
1742 public static readonly int LoadPolicy = NDalic.IMAGE_VISUAL_LOAD_POLICY;
1744 /// Determines if image orientation should be corrected so that the image displays as it was intended.
1746 /// <since_tizen> 5 </since_tizen>
1747 public static readonly int OrientationCorrection = NDalic.IMAGE_VISUAL_ORIENTATION_CORRECTION;
1749 /// Overlays the auxiliary image on top of an NPatch image.
1751 /// <since_tizen> 5 </since_tizen>
1752 public static readonly int AuxiliaryImageURL = NDalic.IMAGE_VISUAL_AUXILIARY_IMAGE_URL;
1754 /// Alpha value for the auxiliary image, without affecting the underlying NPatch image
1756 /// <since_tizen> 5 </since_tizen>
1757 public static readonly int AuxiliaryImageAlpha = NDalic.IMAGE_VISUAL_AUXILIARY_IMAGE_ALPHA;
1761 /// This specifies properties of the MeshVisual.
1763 /// <since_tizen> 3 </since_tizen>
1764 public struct MeshVisualProperty
1767 /// The location of the ".obj" file.
1769 /// <since_tizen> 3 </since_tizen>
1770 public static readonly int ObjectURL = NDalic.MESH_VISUAL_OBJECT_URL;
1772 /// The location of the ".mtl" file.
1774 /// <since_tizen> 3 </since_tizen>
1775 public static readonly int MaterialtURL = NDalic.MESH_VISUAL_MATERIAL_URL;
1777 /// Path to the directory the textures (including gloss and normal) are stored in.
1779 /// <since_tizen> 3 </since_tizen>
1780 public static readonly int TexturesPath = NDalic.MESH_VISUAL_TEXTURES_PATH;
1782 /// Sets the type of shading mode that the mesh will use.
1784 /// <since_tizen> 3 </since_tizen>
1785 public static readonly int ShadingMode = NDalic.MESH_VISUAL_SHADING_MODE;
1787 /// Whether to use mipmaps for textures or not.
1789 /// <since_tizen> 3 </since_tizen>
1790 public static readonly int UseMipmapping = NDalic.MESH_VISUAL_USE_MIPMAPPING;
1792 /// Whether to average normals at each point to smooth textures or not.
1794 /// <since_tizen> 3 </since_tizen>
1795 public static readonly int UseSoftNormals = NDalic.MESH_VISUAL_USE_SOFT_NORMALS;
1797 /// The position, in stage space, of the point light that applies lighting to the model.
1799 /// <since_tizen> 3 </since_tizen>
1800 public static readonly int LightPosition = NDalic.MESH_VISUAL_LIGHT_POSITION;
1804 /// This specifies properties of the PrimitiveVisual.
1806 /// <since_tizen> 3 </since_tizen>
1807 public struct PrimitiveVisualProperty
1810 /// The specific shape to render.
1812 /// <since_tizen> 3 </since_tizen>
1813 public static readonly int Shape = NDalic.PRIMITIVE_VISUAL_SHAPE;
1815 /// The color of the shape.
1817 /// <since_tizen> 3 </since_tizen>
1818 public static readonly int MixColor = NDalic.PRIMITIVE_VISUAL_MIX_COLOR;
1820 /// The number of slices as you go around the shape.
1822 /// <since_tizen> 3 </since_tizen>
1823 public static readonly int Slices = NDalic.PRIMITIVE_VISUAL_SLICES;
1825 /// The number of stacks as you go down the shape.
1827 /// <since_tizen> 3 </since_tizen>
1828 public static readonly int Stacks = NDalic.PRIMITIVE_VISUAL_STACKS;
1830 /// The scale of the radius of the top circle of a conical frustrum.
1832 /// <since_tizen> 3 </since_tizen>
1833 public static readonly int ScaleTopRadius = NDalic.PRIMITIVE_VISUAL_SCALE_TOP_RADIUS;
1835 /// The scale of the radius of the bottom circle of a conical frustrum.
1837 /// <since_tizen> 3 </since_tizen>
1838 public static readonly int ScaleBottomRadius = NDalic.PRIMITIVE_VISUAL_SCALE_BOTTOM_RADIUS;
1840 /// The scale of the height of a conic.
1842 /// <since_tizen> 3 </since_tizen>
1843 public static readonly int ScaleHeight = NDalic.PRIMITIVE_VISUAL_SCALE_HEIGHT;
1845 /// The scale of the radius of a cylinder.
1847 /// <since_tizen> 3 </since_tizen>
1848 public static readonly int ScaleRadius = NDalic.PRIMITIVE_VISUAL_SCALE_RADIUS;
1850 /// The dimensions of a cuboid. Scales in the same fashion as a 9-patch image.
1852 /// <since_tizen> 3 </since_tizen>
1853 public static readonly int ScaleDimensions = NDalic.PRIMITIVE_VISUAL_SCALE_DIMENSIONS;
1855 /// Determines how bevelled the cuboid should be, based off the smallest dimension.
1857 /// <since_tizen> 3 </since_tizen>
1858 public static readonly int BevelPercentage = NDalic.PRIMITIVE_VISUAL_BEVEL_PERCENTAGE;
1860 /// Defines how smooth the bevelled edges should be.
1862 /// <since_tizen> 3 </since_tizen>
1863 public static readonly int BevelSmoothness = NDalic.PRIMITIVE_VISUAL_BEVEL_SMOOTHNESS;
1865 /// The position, in stage space, of the point light that applies lighting to the model.
1867 /// <since_tizen> 3 </since_tizen>
1868 public static readonly int LightPosition = NDalic.PRIMITIVE_VISUAL_LIGHT_POSITION;
1872 /// This specifies properties of the TextVisual.
1874 /// <since_tizen> 3 </since_tizen>
1875 public struct TextVisualProperty
1878 /// The text to display in UTF-8 format.
1880 /// <since_tizen> 3 </since_tizen>
1881 public static readonly int Text = NDalic.TEXT_VISUAL_TEXT;
1883 /// The requested font family to use.
1885 /// <since_tizen> 3 </since_tizen>
1886 public static readonly int FontFamily = NDalic.TEXT_VISUAL_FONT_FAMILY;
1888 /// The requested font style to use.
1890 /// <since_tizen> 3 </since_tizen>
1891 public static readonly int FontStyle = NDalic.TEXT_VISUAL_FONT_STYLE;
1893 /// The size of font in points.
1895 /// <since_tizen> 3 </since_tizen>
1896 public static readonly int PointSize = NDalic.TEXT_VISUAL_POINT_SIZE;
1898 /// The single-line or multi-line layout option.
1900 /// <since_tizen> 3 </since_tizen>
1901 public static readonly int MultiLine = NDalic.TEXT_VISUAL_MULTI_LINE;
1903 /// The line horizontal alignment.
1905 /// <since_tizen> 3 </since_tizen>
1906 public static readonly int HorizontalAlignment = NDalic.TEXT_VISUAL_HORIZONTAL_ALIGNMENT;
1908 /// The line vertical alignment.
1910 /// <since_tizen> 3 </since_tizen>
1911 public static readonly int VerticalAlignment = NDalic.TEXT_VISUAL_VERTICAL_ALIGNMENT;
1913 /// The color of the text.
1915 /// <since_tizen> 3 </since_tizen>
1916 public static readonly int TextColor = NDalic.TEXT_VISUAL_TEXT_COLOR;
1918 /// Whether the mark-up processing is enabled.
1920 /// <since_tizen> 3 </since_tizen>
1921 public static readonly int EnableMarkup = NDalic.TEXT_VISUAL_ENABLE_MARKUP;
1923 /// The shadow parameters.
1925 /// <since_tizen> 5 </since_tizen>
1926 public static readonly int Shadow = NDalic.TEXT_VISUAL_ENABLE_MARKUP + 1;
1928 /// The default underline parameters.
1930 /// <since_tizen> 5 </since_tizen>
1931 public static readonly int Underline = NDalic.TEXT_VISUAL_ENABLE_MARKUP + 2;
1933 /// The default outline parameters.
1935 /// <since_tizen> 5 </since_tizen>
1936 public static readonly int Outline = NDalic.TEXT_VISUAL_ENABLE_MARKUP + 3;
1938 /// The default text background parameters.
1940 /// <since_tizen> 5 </since_tizen>
1941 public static readonly int Background = NDalic.TEXT_VISUAL_ENABLE_MARKUP + 4;
1945 /// This specifies properties of the NpatchImageVisual.
1947 /// <since_tizen> 3 </since_tizen>
1948 public struct NpatchImageVisualProperty
1951 /// The URL of the image.
1953 /// <since_tizen> 3 </since_tizen>
1954 public static readonly int URL = NDalic.IMAGE_VISUAL_URL;
1956 /// Fitting options, used when resizing images to fit desired dimensions.
1958 /// <since_tizen> 3 </since_tizen>
1959 public static readonly int FittingMode = NDalic.IMAGE_VISUAL_FITTING_MODE;
1961 /// Filtering options, used when resizing images to sample original pixels.
1963 /// <since_tizen> 3 </since_tizen>
1964 public static readonly int SamplingMode = NDalic.IMAGE_VISUAL_SAMPLING_MODE;
1966 /// The desired image width.
1968 /// <since_tizen> 3 </since_tizen>
1969 public static readonly int DesiredWidth = NDalic.IMAGE_VISUAL_DESIRED_WIDTH;
1971 /// The desired image height.
1973 /// <since_tizen> 3 </since_tizen>
1974 public static readonly int DesiredHeight = NDalic.IMAGE_VISUAL_DESIRED_HEIGHT;
1976 /// Whether to load the image synchronously.
1978 /// <since_tizen> 3 </since_tizen>
1979 public static readonly int SynchronousLoading = NDalic.IMAGE_VISUAL_SYNCHRONOUS_LOADING;
1981 /// If true, only draws the borders.
1983 /// <since_tizen> 3 </since_tizen>
1984 public static readonly int BorderOnly = NDalic.IMAGE_VISUAL_BORDER_ONLY;
1986 /// The image area to be displayed.
1988 /// <since_tizen> 3 </since_tizen>
1989 public static readonly int PixelArea = NDalic.IMAGE_VISUAL_PIXEL_AREA;
1991 /// The wrap mode for u coordinate.
1993 /// <since_tizen> 3 </since_tizen>
1994 public static readonly int WrapModeU = NDalic.IMAGE_VISUAL_WRAP_MODE_U;
1996 /// The wrap mode for v coordinate.
1998 /// <since_tizen> 3 </since_tizen>
1999 public static readonly int WrapModeV = NDalic.IMAGE_VISUAL_WRAP_MODE_V;
2001 /// The border of the image.
2003 /// <since_tizen> 3 </since_tizen>
2004 public static readonly int Border = NDalic.IMAGE_VISUAL_WRAP_MODE_V + 1;
2008 /// The HiddenInput property.
2010 /// <since_tizen> 3 </since_tizen>
2011 public struct HiddenInputProperty
2014 /// The mode for input text display.
2016 /// <since_tizen> 3 </since_tizen>
2017 public static readonly int Mode = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_MODE_get();
2019 /// All input characters are substituted by this character.
2021 /// <since_tizen> 3 </since_tizen>
2022 public static readonly int SubstituteCharacter = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_SUBSTITUTE_CHARACTER_get();
2024 /// Length of text to show or hide, available when HIDE_COUNT/SHOW_COUNT mode is used.
2026 /// <since_tizen> 3 </since_tizen>
2027 public static readonly int SubstituteCount = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_SUBSTITUTE_COUNT_get();
2029 /// Hide last character after this duration, available when SHOW_LAST_CHARACTER mode.
2031 /// <since_tizen> 4 </since_tizen>
2032 public static readonly int ShowLastCharacterDuration = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_SHOW_LAST_CHARACTER_DURATION_get();
2036 /// ParentOrigin constants.
2038 /// <since_tizen> 3 </since_tizen>
2039 public struct ParentOrigin
2044 /// <since_tizen> 3 </since_tizen>
2045 public static float Top
2049 float ret = NDalicPINVOKE.ParentOriginTop_get();
2050 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2058 /// <since_tizen> 3 </since_tizen>
2059 public static float Bottom
2063 float ret = NDalicPINVOKE.ParentOriginBottom_get();
2064 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2072 /// <since_tizen> 3 </since_tizen>
2073 public static float Left
2077 float ret = NDalicPINVOKE.ParentOriginLeft_get();
2078 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2086 /// <since_tizen> 3 </since_tizen>
2087 public static float Right
2091 float ret = NDalicPINVOKE.ParentOriginRight_get();
2092 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2100 /// <since_tizen> 3 </since_tizen>
2101 public static float Middle
2105 float ret = NDalicPINVOKE.ParentOriginMiddle_get();
2106 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2114 /// <since_tizen> 3 </since_tizen>
2115 public static Position TopLeft
2119 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopLeft_get();
2120 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2121 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2129 /// <since_tizen> 3 </since_tizen>
2130 public static Position TopCenter
2134 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopCenter_get();
2135 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2136 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2144 /// <since_tizen> 3 </since_tizen>
2145 public static Position TopRight
2149 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopRight_get();
2150 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2151 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2159 /// <since_tizen> 3 </since_tizen>
2160 public static Position CenterLeft
2164 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenterLeft_get();
2165 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2166 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2174 /// <since_tizen> 3 </since_tizen>
2175 public static Position Center
2179 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenter_get();
2180 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2181 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2189 /// <since_tizen> 3 </since_tizen>
2190 public static Position CenterRight
2194 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenterRight_get();
2195 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2196 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2204 /// <since_tizen> 3 </since_tizen>
2205 public static Position BottomLeft
2209 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomLeft_get();
2210 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2211 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2219 /// <since_tizen> 3 </since_tizen>
2220 public static Position BottomCenter
2224 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomCenter_get();
2225 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2226 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2234 /// <since_tizen> 3 </since_tizen>
2235 public static Position BottomRight
2239 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomRight_get();
2240 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2241 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2248 /// PivotPoint constants.
2250 /// <since_tizen> 3 </since_tizen>
2251 public struct PivotPoint
2256 /// <since_tizen> 3 </since_tizen>
2257 public static float Top
2261 float ret = NDalicPINVOKE.AnchorPointTop_get();
2262 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2269 /// <since_tizen> 3 </since_tizen>
2270 public static float Bottom
2274 float ret = NDalicPINVOKE.AnchorPointBottom_get();
2275 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2282 /// <since_tizen> 3 </since_tizen>
2283 public static float Left
2287 float ret = NDalicPINVOKE.AnchorPointLeft_get();
2288 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2295 /// <since_tizen> 3 </since_tizen>
2296 public static float Right
2300 float ret = NDalicPINVOKE.AnchorPointRight_get();
2301 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2308 /// <since_tizen> 3 </since_tizen>
2309 public static float Middle
2313 float ret = NDalicPINVOKE.AnchorPointMiddle_get();
2314 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2321 /// <since_tizen> 3 </since_tizen>
2322 public static Position TopLeft
2326 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopLeft_get();
2327 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2328 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2335 /// <since_tizen> 3 </since_tizen>
2336 public static Position TopCenter
2340 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopCenter_get();
2341 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2342 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2349 /// <since_tizen> 3 </since_tizen>
2350 public static Position TopRight
2354 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopRight_get();
2355 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2356 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2363 /// <since_tizen> 3 </since_tizen>
2364 public static Position CenterLeft
2368 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterLeft_get();
2369 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2370 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2377 /// <since_tizen> 3 </since_tizen>
2378 public static Position Center
2382 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenter_get();
2383 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2384 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2391 /// <since_tizen> 3 </since_tizen>
2392 public static Position CenterRight
2396 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterRight_get();
2397 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2398 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2405 /// <since_tizen> 3 </since_tizen>
2406 public static Position BottomLeft
2410 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomLeft_get();
2411 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2412 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2419 /// <since_tizen> 3 </since_tizen>
2420 public static Position BottomCenter
2424 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomCenter_get();
2425 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2426 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2433 /// <since_tizen> 3 </since_tizen>
2434 public static Position BottomRight
2438 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomRight_get();
2439 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2440 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2446 /// PositionAxis constants.
2448 /// <since_tizen> 3 </since_tizen>
2449 public struct PositionAxis
2454 /// <since_tizen> 3 </since_tizen>
2455 public static Position X
2459 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_XAXIS_get();
2460 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2461 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2468 /// <since_tizen> 3 </since_tizen>
2469 public static Position Y
2473 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_YAXIS_get();
2474 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2475 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2482 /// <since_tizen> 3 </since_tizen>
2483 public static Position Z
2487 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_ZAXIS_get();
2488 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2489 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2494 /// The Negative X axis
2496 /// <since_tizen> 3 </since_tizen>
2497 public static Position NegativeX
2501 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_XAXIS_get();
2502 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2503 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2508 /// The Negative Y axis
2510 /// <since_tizen> 3 </since_tizen>
2511 public static Position NegativeY
2515 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_YAXIS_get();
2516 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2517 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2522 /// The Negative Z axis
2524 /// <since_tizen> 3 </since_tizen>
2525 public static Position NegativeZ
2529 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_ZAXIS_get();
2530 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2531 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2538 /// [Obsolete("Please do not use! this will be deprecated")]
2540 /// <since_tizen> 3 </since_tizen>
2541 [Obsolete("Please do not use! This will be deprecated! Please use PivotPoint instead!")]
2542 [EditorBrowsable(EditorBrowsableState.Never)]
2543 public struct AnchorPoint
2548 /// <since_tizen> 3 </since_tizen>
2549 public static float Top
2553 float ret = NDalicPINVOKE.AnchorPointTop_get();
2554 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2561 /// <since_tizen> 3 </since_tizen>
2562 public static float Bottom
2566 float ret = NDalicPINVOKE.AnchorPointBottom_get();
2567 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2574 /// <since_tizen> 3 </since_tizen>
2575 public static float Left
2579 float ret = NDalicPINVOKE.AnchorPointLeft_get();
2580 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2587 /// <since_tizen> 3 </since_tizen>
2588 public static float Right
2592 float ret = NDalicPINVOKE.AnchorPointRight_get();
2593 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2600 /// <since_tizen> 3 </since_tizen>
2601 public static float Middle
2605 float ret = NDalicPINVOKE.AnchorPointMiddle_get();
2606 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2613 /// <since_tizen> 3 </since_tizen>
2614 public static Position TopLeft
2618 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopLeft_get();
2619 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2620 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2627 /// <since_tizen> 3 </since_tizen>
2628 public static Position TopCenter
2632 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopCenter_get();
2633 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2634 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2641 /// <since_tizen> 3 </since_tizen>
2642 public static Position TopRight
2646 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopRight_get();
2647 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2648 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2655 /// <since_tizen> 3 </since_tizen>
2656 public static Position CenterLeft
2660 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterLeft_get();
2661 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2662 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2669 /// <since_tizen> 3 </since_tizen>
2670 public static Position Center
2674 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenter_get();
2675 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2676 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2683 /// <since_tizen> 3 </since_tizen>
2684 public static Position CenterRight
2688 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterRight_get();
2689 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2690 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2697 /// <since_tizen> 3 </since_tizen>
2698 public static Position BottomLeft
2702 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomLeft_get();
2703 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2704 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2711 /// <since_tizen> 3 </since_tizen>
2712 public static Position BottomCenter
2716 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomCenter_get();
2717 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2718 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2725 /// <since_tizen> 3 </since_tizen>
2726 public static Position BottomRight
2730 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomRight_get();
2731 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2732 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();