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.
693 /// The type of coordinate system for certain attributes of the points in a gradient.
695 /// <since_tizen> 3 </since_tizen>
696 public enum GradientVisualUnitsType
699 /// 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).
703 /// 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).
709 /// This specifies SpreadMethod types.<br />
710 /// SpreadMethod defines what happens if the gradient starts or ends inside the bounds of the target rectangle.<br />
712 /// <since_tizen> 3 </since_tizen>
713 public enum GradientVisualSpreadMethodType
716 /// Uses the terminal colors of the gradient to fill the remainder of the quad.
720 /// Reflects the gradient pattern start-to-end, end-to-start, start-to-end, etc. until the quad is filled.
724 /// Repeats the gradient pattern start-to-end, start-to-end, start-to-end, etc. until the quad is filled.
730 /// The shading mode used by the mesh visual.
732 /// <since_tizen> 3 </since_tizen>
733 public enum MeshVisualShadingModeValue
736 /// *Simplest*. One color that is lit by ambient and diffuse lighting.
738 TexturelessWithDiffuseLighting,
740 /// Uses only the visual image textures provided with specular lighting in addition to ambient and diffuse lighting.
742 TexturedWithSpecularLighting,
744 /// Uses all textures provided including gloss, normal, and texture map along with specular, ambient, and diffuse lighting.
746 TexturedWithDetailedSpecularLighting
750 /// The primitive shape to render as a primitive visual.
752 /// <since_tizen> 3 </since_tizen>
753 public enum PrimitiveVisualShapeType
756 /// A perfectly round geometrical object in the three-dimensional space.
760 /// The area bound between two circles, i.e., a cone with the tip removed.
764 /// Equivalent to a conical frustrum with the top radius of zero.
765 /// </summary>Equivalent to a conical frustrum with the top radius of zero.
768 /// Equivalent to a conical frustrum with the top radius of zero.
772 /// Equivalent to a conical frustrum with equal radii for the top and bottom circles.
776 /// Equivalent to a bevelled cube with a bevel percentage of zero.
780 /// Equivalent to a bevelled cube with a bevel percentage of one.
786 /// This specifies fitting mode types. Fitting options, used when resizing images to fit desired dimensions.<br />
787 /// A fitting mode controls the region of a loaded image to be mapped to the desired image rectangle.<br />
788 /// All fitting modes preserve the aspect ratio of the image contents.<br />
790 /// <since_tizen> 3 </since_tizen>
791 public enum FittingModeType
794 /// Full-screen image display: Limit loaded image resolution to device resolution using the ShrinkToFit mode.
798 /// Thumbnail gallery grid: Limit loaded image resolution to screen tile using the ScaleToFill mode.
802 /// Image columns: Limit loaded image resolution to column width using the FitWidth mode.
806 /// Image rows: Limit loaded image resolution to row height using the FitHeight mode.
812 /// The values of this enum determines how the visual should fit into the view.
814 /// <since_tizen> 5 </since_tizen>
815 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
816 [EditorBrowsable(EditorBrowsableState.Never)]
817 public enum VisualFittingModeType
820 /// The visual should be scaled to fit, preserving aspect ratio.
822 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
823 [EditorBrowsable(EditorBrowsableState.Never)]
826 /// The visual should be stretched to fill, not preserving aspect ratio.
828 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
829 [EditorBrowsable(EditorBrowsableState.Never)]
834 /// This specifies sampling mode types. Filtering options are used when resizing images to sample original pixels.<br />
835 /// A SamplingMode controls how pixels in an input image are sampled and combined to generate each pixel of a destination image during scaling.<br />
836 /// 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 />
837 /// but all other filter modes do if the desired dimensions are not more than the raw dimensions of the input image file.<br />
839 /// <since_tizen> 3 </since_tizen>
840 public enum SamplingModeType
843 /// Iteratively box filter to generate an image of 1/2, 1/4, 1/8, etc. width and height and approximately the desired size. <br />
844 /// This is the default.
848 /// For each output pixel, read one input pixel.
852 /// For each output pixel, read a quad of four input pixels and write a weighted average of them.
856 /// Iteratively box filter to generate an image of 1/2, 1/4, 1/8, etc. width and height and approximately the desired size, <br />
857 /// then for each output pixel, read one pixel from the last level of box filtering.<br />
861 /// 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.
865 /// 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.
869 /// For caching algorithms where a client strongly prefers a cache-hit to reuse a cached image.
875 /// This specifies policy types that could be used by the transform for the offset or size.
877 /// <since_tizen> 3 </since_tizen>
878 public enum VisualTransformPolicyType
881 /// Relative to the control (percentage [0.0f to 1.0f] of the control).
885 /// Absolute value in world units.
891 /// This specifies all the transform property types.
893 /// <since_tizen> 3 </since_tizen>
894 public enum VisualTransformPropertyType
897 /// Offset of the visual, which can be either relative (percentage [0.0f to 1.0f] of the parent) or absolute (in world units).
901 /// Size of the visual, which can be either relative (percentage [0.0f to 1.0f] of the parent) or absolute (in world units).
905 /// The origin of the visual within its control area.
909 /// The anchor-point of the visual.
913 /// Whether the x or y offset values are relative (percentage [0.0f to 1.0f] of the control) or absolute (in world units).
917 /// Whether the width or the height size values are relative (percentage [0.0f to 1.0f] of the control) or absolute (in world units).
923 /// This specifies visual types.
925 /// <since_tizen> 3 </since_tizen>
929 /// The index for the visual type.
931 /// <since_tizen> 3 </since_tizen>
935 /// Renders a solid color as an internal border to the control's quad.
939 /// Renders a solid color to the control's quad.
943 /// Renders a smooth transition of colors to the control's quad.
947 /// Renders an image into the control's quad.
951 /// Renders a mesh using an "obj" file, optionally with textures provided by an "mtl" file.
955 /// Renders a simple 3D shape, such as a cube or a sphere.
959 /// Renders a simple wire-frame outlining a quad.
967 /// Renders an NPatch image.
971 /// Renders an SVG image.
975 /// Renders a animated image (animated GIF).
981 /// This specifies visual properties.
983 /// <since_tizen> 3 </since_tizen>
984 public struct Property
989 /// <since_tizen> 3 </since_tizen>
990 public static readonly int Type = NDalic.VISUAL_PROPERTY_TYPE;
994 /// <since_tizen> 3 </since_tizen>
995 public static readonly int Shader = NDalic.VISUAL_PROPERTY_SHADER;
999 /// <since_tizen> 3 </since_tizen>
1000 public static readonly int Transform = NDalic.VISUAL_PROPERTY_TRANSFORM;
1002 /// PremultipliedAlpha.
1004 /// <since_tizen> 3 </since_tizen>
1005 public static readonly int PremultipliedAlpha = NDalic.VISUAL_PROPERTY_PREMULTIPLIED_ALPHA;
1009 /// <since_tizen> 3 </since_tizen>
1010 public static readonly int MixColor = NDalic.VISUAL_PROPERTY_MIX_COLOR;
1014 /// <since_tizen> 3 </since_tizen>
1015 public static readonly int Opacity = NDalic.VISUAL_PROPERTY_MIX_COLOR + 1;
1017 /// The fitting mode of the visual.
1019 /// <since_tizen> 5 </since_tizen>
1020 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1021 [EditorBrowsable(EditorBrowsableState.Never)]
1022 public static readonly int VisualFittingMode = NDalic.VISUAL_PROPERTY_MIX_COLOR + 2;
1026 /// This specifies shader properties.
1028 /// <since_tizen> 3 </since_tizen>
1029 public struct ShaderProperty
1032 /// Vertex shader code
1034 /// <since_tizen> 3 </since_tizen>
1035 public static readonly int VertexShader = NDalic.VISUAL_SHADER_VERTEX;
1037 /// Fragment shader code
1039 /// <since_tizen> 3 </since_tizen>
1040 public static readonly int FragmentShader = NDalic.VISUAL_SHADER_FRAGMENT;
1042 /// How to subdivide the grid along X
1044 /// <since_tizen> 3 </since_tizen>
1045 public static readonly int ShaderSubdivideGridX = NDalic.VISUAL_SHADER_SUBDIVIDE_GRID_X;
1047 /// How to subdivide the grid along Y
1049 /// <since_tizen> 3 </since_tizen>
1050 public static readonly int ShaderSubdivideGridY = NDalic.VISUAL_SHADER_SUBDIVIDE_GRID_Y;
1052 /// Bitmask of hints
1054 /// <since_tizen> 3 </since_tizen>
1055 public static readonly int ShaderHints = NDalic.VISUAL_SHADER_HINTS;
1059 /// This specifies visaul align types.
1061 /// <since_tizen> 3 </since_tizen>
1062 public enum AlignType
1067 /// <since_tizen> 3 </since_tizen>
1072 /// <since_tizen> 3 </since_tizen>
1077 /// <since_tizen> 3 </since_tizen>
1082 /// <since_tizen> 3 </since_tizen>
1087 /// <since_tizen> 3 </since_tizen>
1092 /// <since_tizen> 3 </since_tizen>
1097 /// <since_tizen> 3 </since_tizen>
1102 /// <since_tizen> 3 </since_tizen>
1107 /// <since_tizen> 3 </since_tizen>
1113 /// This specifies properties of the BorderVisual.
1115 /// <since_tizen> 3 </since_tizen>
1116 public struct BorderVisualProperty
1119 /// The color of the border.
1121 /// <since_tizen> 3 </since_tizen>
1122 public static readonly int Color = NDalic.BORDER_VISUAL_COLOR;
1124 /// The width of the border (in pixels).
1126 /// <since_tizen> 3 </since_tizen>
1127 public static readonly int Size = NDalic.BORDER_VISUAL_SIZE;
1129 /// Whether anti-aliasing of the border is required.
1131 /// <since_tizen> 3 </since_tizen>
1132 public static readonly int AntiAliasing = NDalic.BORDER_VISUAL_ANTI_ALIASING;
1136 /// This specifies properties of the ColorVisual.
1138 /// <since_tizen> 3 </since_tizen>
1139 public struct ColorVisualProperty
1142 /// The solid color required.
1144 /// <since_tizen> 3 </since_tizen>
1145 public static readonly int MixColor = NDalic.COLOR_VISUAL_MIX_COLOR;
1147 /// Whether to render if the MixColor is transparent.
1149 /// <since_tizen> 5 </since_tizen>
1150 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1151 [EditorBrowsable(EditorBrowsableState.Never)]
1152 public static readonly int RenderIfTransparent = NDalic.COLOR_VISUAL_MIX_COLOR + 1;
1156 /// This specifies properties of the GradientVisual.
1158 /// <since_tizen> 3 </since_tizen>
1159 public struct GradientVisualProperty
1162 /// The start position of a linear gradient.
1164 /// <since_tizen> 3 </since_tizen>
1165 public static readonly int StartPosition = NDalic.GRADIENT_VISUAL_START_POSITION;
1167 /// The end position of a linear gradient.
1169 /// <since_tizen> 3 </since_tizen>
1170 public static readonly int EndPosition = NDalic.GRADIENT_VISUAL_END_POSITION;
1172 /// The center point of a radial gradient.
1174 /// <since_tizen> 3 </since_tizen>
1175 public static readonly int Center = NDalic.GRADIENT_VISUAL_CENTER;
1177 /// The size of the radius of a radial gradient.
1179 /// <since_tizen> 3 </since_tizen>
1180 public static readonly int Radius = NDalic.GRADIENT_VISUAL_RADIUS;
1182 /// All the stop offsets.
1184 /// <since_tizen> 3 </since_tizen>
1185 public static readonly int StopOffset = NDalic.GRADIENT_VISUAL_STOP_OFFSET;
1187 /// The color at the stop offsets.
1189 /// <since_tizen> 3 </since_tizen>
1190 public static readonly int StopColor = NDalic.GRADIENT_VISUAL_STOP_COLOR;
1192 /// Defines the coordinate system for certain attributes of the points in a gradient.
1194 /// <since_tizen> 3 </since_tizen>
1195 public static readonly int Units = NDalic.GRADIENT_VISUAL_UNITS;
1197 /// Indicates what happens if the gradient starts or ends inside the bounds of the target rectangle.
1199 /// <since_tizen> 3 </since_tizen>
1200 public static readonly int SpreadMethod = NDalic.GRADIENT_VISUAL_SPREAD_METHOD;
1204 /// This specifies properties of the ImageVisual.
1206 /// <since_tizen> 3 </since_tizen>
1207 public struct ImageVisualProperty
1210 /// The URL of the image.
1212 /// <since_tizen> 3 </since_tizen>
1213 public static readonly int URL = NDalic.IMAGE_VISUAL_URL;
1215 /// The URL of the alpha mask image.
1217 /// <since_tizen> 3 </since_tizen>
1218 public static readonly int AlphaMaskURL = NDalic.IMAGE_VISUAL_ALPHA_MASK_URL;
1220 /// Fitting options, used when resizing images to fit desired dimensions.
1222 /// <since_tizen> 3 </since_tizen>
1223 public static readonly int FittingMode = NDalic.IMAGE_VISUAL_FITTING_MODE;
1225 /// Filtering options, used when resizing images to sample original pixels.
1227 /// <since_tizen> 3 </since_tizen>
1228 public static readonly int SamplingMode = NDalic.IMAGE_VISUAL_SAMPLING_MODE;
1230 /// The desired image width.
1232 /// <since_tizen> 3 </since_tizen>
1233 public static readonly int DesiredWidth = NDalic.IMAGE_VISUAL_DESIRED_WIDTH;
1235 /// The desired image height.
1237 /// <since_tizen> 3 </since_tizen>
1238 public static readonly int DesiredHeight = NDalic.IMAGE_VISUAL_DESIRED_HEIGHT;
1240 /// Whether to load the image synchronously.
1242 /// <since_tizen> 3 </since_tizen>
1243 public static readonly int SynchronousLoading = NDalic.IMAGE_VISUAL_SYNCHRONOUS_LOADING;
1245 /// If true, only draws the borders.
1247 /// <since_tizen> 3 </since_tizen>
1248 public static readonly int BorderOnly = NDalic.IMAGE_VISUAL_BORDER_ONLY;
1250 /// The image area to be displayed.
1252 /// <since_tizen> 3 </since_tizen>
1253 public static readonly int PixelArea = NDalic.IMAGE_VISUAL_PIXEL_AREA;
1255 /// The wrap mode for u coordinate.
1257 /// <since_tizen> 3 </since_tizen>
1258 public static readonly int WrapModeU = NDalic.IMAGE_VISUAL_WRAP_MODE_U;
1260 /// The wrap mode for v coordinate.
1262 /// <since_tizen> 3 </since_tizen>
1263 public static readonly int WrapModeV = NDalic.IMAGE_VISUAL_WRAP_MODE_V;
1265 /// The border of the image.
1267 /// <since_tizen> 3 </since_tizen>
1268 public static readonly int Border = NDalic.IMAGE_VISUAL_BORDER;
1270 /// Whether to use the texture atlas.
1272 /// <since_tizen> 5 </since_tizen>
1273 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1274 [EditorBrowsable(EditorBrowsableState.Never)]
1275 public static readonly int Atlasing = NDalic.IMAGE_VISUAL_BORDER + 1;
1277 /// The scale factor to apply to the content image before masking.
1279 /// <since_tizen> 4 </since_tizen>
1280 public static readonly int MaskContentScale = NDalic.IMAGE_VISUAL_MASK_CONTENT_SCALE;
1282 /// Whether to crop image to mask or scale mask to fit image
1284 /// <since_tizen> 4 </since_tizen>
1285 public static readonly int CropToMask = NDalic.IMAGE_VISUAL_CROP_TO_MASK;
1287 /// Defines the batch size for pre-loading images in the AnimatedImageVisual
1289 /// <since_tizen> 4 </since_tizen>
1290 public static readonly int BatchSize = NDalic.IMAGE_VISUAL_BATCH_SIZE;
1292 /// Defines the cache size for loading images in the AnimatedImageVisual
1294 /// <since_tizen> 4 </since_tizen>
1295 public static readonly int CacheSize = NDalic.IMAGE_VISUAL_CACHE_SIZE;
1297 /// The number of milliseconds between each frame in the AnimatedImageVisual
1299 /// <since_tizen> 4 </since_tizen>
1300 public static readonly int FrameDelay = NDalic.IMAGE_VISUAL_FRAME_DELAY;
1302 /// The number of times the AnimatedImageVisual will be looped.
1303 /// The default is -1. If the value is less than 0, loop unlimited. Otherwise, loop loopCount times.
1305 /// <since_tizen> 5 </since_tizen>
1306 public static readonly int LoopCount = NDalic.IMAGE_VISUAL_LOOP_COUNT;
1308 /// The policy to determine when an image should no longer be cached.
1310 /// <since_tizen> 5 </since_tizen>
1311 public static readonly int ReleasePolicy = NDalic.IMAGE_VISUAL_RELEASE_POLICY;
1313 /// The policy to determine when an image should be loaded.
1315 /// <since_tizen> 5 </since_tizen>
1316 public static readonly int LoadPolicy = NDalic.IMAGE_VISUAL_LOAD_POLICY;
1318 /// Determines if image orientation should be corrected so that the image displays as it was intended.
1320 /// <since_tizen> 5 </since_tizen>
1321 public static readonly int OrientationCorrection = NDalic.IMAGE_VISUAL_ORIENTATION_CORRECTION;
1323 /// Overlays the auxiliary image on top of an NPatch image.
1325 /// <since_tizen> 5 </since_tizen>
1326 public static readonly int AuxiliaryImageURL = NDalic.IMAGE_VISUAL_AUXILIARY_IMAGE_URL;
1328 /// Alpha value for the auxiliary image, without affecting the underlying NPatch image
1330 /// <since_tizen> 5 </since_tizen>
1331 public static readonly int AuxiliaryImageAlpha = NDalic.IMAGE_VISUAL_AUXILIARY_IMAGE_ALPHA;
1335 /// This specifies properties of the MeshVisual.
1337 /// <since_tizen> 3 </since_tizen>
1338 public struct MeshVisualProperty
1341 /// The location of the ".obj" file.
1343 /// <since_tizen> 3 </since_tizen>
1344 public static readonly int ObjectURL = NDalic.MESH_VISUAL_OBJECT_URL;
1346 /// The location of the ".mtl" file.
1348 /// <since_tizen> 3 </since_tizen>
1349 public static readonly int MaterialtURL = NDalic.MESH_VISUAL_MATERIAL_URL;
1351 /// Path to the directory the textures (including gloss and normal) are stored in.
1353 /// <since_tizen> 3 </since_tizen>
1354 public static readonly int TexturesPath = NDalic.MESH_VISUAL_TEXTURES_PATH;
1356 /// Sets the type of shading mode that the mesh will use.
1358 /// <since_tizen> 3 </since_tizen>
1359 public static readonly int ShadingMode = NDalic.MESH_VISUAL_SHADING_MODE;
1361 /// Whether to use mipmaps for textures or not.
1363 /// <since_tizen> 3 </since_tizen>
1364 public static readonly int UseMipmapping = NDalic.MESH_VISUAL_USE_MIPMAPPING;
1366 /// Whether to average normals at each point to smooth textures or not.
1368 /// <since_tizen> 3 </since_tizen>
1369 public static readonly int UseSoftNormals = NDalic.MESH_VISUAL_USE_SOFT_NORMALS;
1371 /// The position, in stage space, of the point light that applies lighting to the model.
1373 /// <since_tizen> 3 </since_tizen>
1374 public static readonly int LightPosition = NDalic.MESH_VISUAL_LIGHT_POSITION;
1378 /// This specifies properties of the PrimitiveVisual.
1380 /// <since_tizen> 3 </since_tizen>
1381 public struct PrimitiveVisualProperty
1384 /// The specific shape to render.
1386 /// <since_tizen> 3 </since_tizen>
1387 public static readonly int Shape = NDalic.PRIMITIVE_VISUAL_SHAPE;
1389 /// The color of the shape.
1391 /// <since_tizen> 3 </since_tizen>
1392 public static readonly int MixColor = NDalic.PRIMITIVE_VISUAL_MIX_COLOR;
1394 /// The number of slices as you go around the shape.
1396 /// <since_tizen> 3 </since_tizen>
1397 public static readonly int Slices = NDalic.PRIMITIVE_VISUAL_SLICES;
1399 /// The number of stacks as you go down the shape.
1401 /// <since_tizen> 3 </since_tizen>
1402 public static readonly int Stacks = NDalic.PRIMITIVE_VISUAL_STACKS;
1404 /// The scale of the radius of the top circle of a conical frustrum.
1406 /// <since_tizen> 3 </since_tizen>
1407 public static readonly int ScaleTopRadius = NDalic.PRIMITIVE_VISUAL_SCALE_TOP_RADIUS;
1409 /// The scale of the radius of the bottom circle of a conical frustrum.
1411 /// <since_tizen> 3 </since_tizen>
1412 public static readonly int ScaleBottomRadius = NDalic.PRIMITIVE_VISUAL_SCALE_BOTTOM_RADIUS;
1414 /// The scale of the height of a conic.
1416 /// <since_tizen> 3 </since_tizen>
1417 public static readonly int ScaleHeight = NDalic.PRIMITIVE_VISUAL_SCALE_HEIGHT;
1419 /// The scale of the radius of a cylinder.
1421 /// <since_tizen> 3 </since_tizen>
1422 public static readonly int ScaleRadius = NDalic.PRIMITIVE_VISUAL_SCALE_RADIUS;
1424 /// The dimensions of a cuboid. Scales in the same fashion as a 9-patch image.
1426 /// <since_tizen> 3 </since_tizen>
1427 public static readonly int ScaleDimensions = NDalic.PRIMITIVE_VISUAL_SCALE_DIMENSIONS;
1429 /// Determines how bevelled the cuboid should be, based off the smallest dimension.
1431 /// <since_tizen> 3 </since_tizen>
1432 public static readonly int BevelPercentage = NDalic.PRIMITIVE_VISUAL_BEVEL_PERCENTAGE;
1434 /// Defines how smooth the bevelled edges should be.
1436 /// <since_tizen> 3 </since_tizen>
1437 public static readonly int BevelSmoothness = NDalic.PRIMITIVE_VISUAL_BEVEL_SMOOTHNESS;
1439 /// The position, in stage space, of the point light that applies lighting to the model.
1441 /// <since_tizen> 3 </since_tizen>
1442 public static readonly int LightPosition = NDalic.PRIMITIVE_VISUAL_LIGHT_POSITION;
1446 /// This specifies properties of the TextVisual.
1448 /// <since_tizen> 3 </since_tizen>
1449 public struct TextVisualProperty
1452 /// The text to display in UTF-8 format.
1454 /// <since_tizen> 3 </since_tizen>
1455 public static readonly int Text = NDalic.TEXT_VISUAL_TEXT;
1457 /// The requested font family to use.
1459 /// <since_tizen> 3 </since_tizen>
1460 public static readonly int FontFamily = NDalic.TEXT_VISUAL_FONT_FAMILY;
1462 /// The requested font style to use.
1464 /// <since_tizen> 3 </since_tizen>
1465 public static readonly int FontStyle = NDalic.TEXT_VISUAL_FONT_STYLE;
1467 /// The size of font in points.
1469 /// <since_tizen> 3 </since_tizen>
1470 public static readonly int PointSize = NDalic.TEXT_VISUAL_POINT_SIZE;
1472 /// The single-line or multi-line layout option.
1474 /// <since_tizen> 3 </since_tizen>
1475 public static readonly int MultiLine = NDalic.TEXT_VISUAL_MULTI_LINE;
1477 /// The line horizontal alignment.
1479 /// <since_tizen> 3 </since_tizen>
1480 public static readonly int HorizontalAlignment = NDalic.TEXT_VISUAL_HORIZONTAL_ALIGNMENT;
1482 /// The line vertical alignment.
1484 /// <since_tizen> 3 </since_tizen>
1485 public static readonly int VerticalAlignment = NDalic.TEXT_VISUAL_VERTICAL_ALIGNMENT;
1487 /// The color of the text.
1489 /// <since_tizen> 3 </since_tizen>
1490 public static readonly int TextColor = NDalic.TEXT_VISUAL_TEXT_COLOR;
1492 /// Whether the mark-up processing is enabled.
1494 /// <since_tizen> 3 </since_tizen>
1495 public static readonly int EnableMarkup = NDalic.TEXT_VISUAL_ENABLE_MARKUP;
1497 /// The shadow parameters.
1499 /// <since_tizen> 5 </since_tizen>
1500 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1501 [EditorBrowsable(EditorBrowsableState.Never)]
1502 public static readonly int Shadow = NDalic.TEXT_VISUAL_ENABLE_MARKUP + 1;
1504 /// The default underline parameters.
1506 /// <since_tizen> 5 </since_tizen>
1507 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1508 [EditorBrowsable(EditorBrowsableState.Never)]
1509 public static readonly int Underline = NDalic.TEXT_VISUAL_ENABLE_MARKUP + 2;
1511 /// The default outline parameters.
1513 /// <since_tizen> 5 </since_tizen>
1514 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1515 [EditorBrowsable(EditorBrowsableState.Never)]
1516 public static readonly int Outline = NDalic.TEXT_VISUAL_ENABLE_MARKUP + 3;
1518 /// The default text background parameters.
1520 /// <since_tizen> 5 </since_tizen>
1521 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1522 [EditorBrowsable(EditorBrowsableState.Never)]
1523 public static readonly int Background = NDalic.TEXT_VISUAL_ENABLE_MARKUP + 4;
1527 /// This specifies properties of the NpatchImageVisual.
1529 /// <since_tizen> 3 </since_tizen>
1530 public struct NpatchImageVisualProperty
1533 /// The URL of the image.
1535 /// <since_tizen> 3 </since_tizen>
1536 public static readonly int URL = NDalic.IMAGE_VISUAL_URL;
1538 /// Fitting options, used when resizing images to fit desired dimensions.
1540 /// <since_tizen> 3 </since_tizen>
1541 public static readonly int FittingMode = NDalic.IMAGE_VISUAL_FITTING_MODE;
1543 /// Filtering options, used when resizing images to sample original pixels.
1545 /// <since_tizen> 3 </since_tizen>
1546 public static readonly int SamplingMode = NDalic.IMAGE_VISUAL_SAMPLING_MODE;
1548 /// The desired image width.
1550 /// <since_tizen> 3 </since_tizen>
1551 public static readonly int DesiredWidth = NDalic.IMAGE_VISUAL_DESIRED_WIDTH;
1553 /// The desired image height.
1555 /// <since_tizen> 3 </since_tizen>
1556 public static readonly int DesiredHeight = NDalic.IMAGE_VISUAL_DESIRED_HEIGHT;
1558 /// Whether to load the image synchronously.
1560 /// <since_tizen> 3 </since_tizen>
1561 public static readonly int SynchronousLoading = NDalic.IMAGE_VISUAL_SYNCHRONOUS_LOADING;
1563 /// If true, only draws the borders.
1565 /// <since_tizen> 3 </since_tizen>
1566 public static readonly int BorderOnly = NDalic.IMAGE_VISUAL_BORDER_ONLY;
1568 /// The image area to be displayed.
1570 /// <since_tizen> 3 </since_tizen>
1571 public static readonly int PixelArea = NDalic.IMAGE_VISUAL_PIXEL_AREA;
1573 /// The wrap mode for u coordinate.
1575 /// <since_tizen> 3 </since_tizen>
1576 public static readonly int WrapModeU = NDalic.IMAGE_VISUAL_WRAP_MODE_U;
1578 /// The wrap mode for v coordinate.
1580 /// <since_tizen> 3 </since_tizen>
1581 public static readonly int WrapModeV = NDalic.IMAGE_VISUAL_WRAP_MODE_V;
1583 /// The border of the image.
1585 /// <since_tizen> 3 </since_tizen>
1586 public static readonly int Border = NDalic.IMAGE_VISUAL_WRAP_MODE_V + 1;
1590 /// The HiddenInput property.
1592 /// <since_tizen> 3 </since_tizen>
1593 public struct HiddenInputProperty
1596 /// The mode for input text display.
1598 /// <since_tizen> 3 </since_tizen>
1599 public static readonly int Mode = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_MODE_get();
1601 /// All input characters are substituted by this character.
1603 /// <since_tizen> 3 </since_tizen>
1604 public static readonly int SubstituteCharacter = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_SUBSTITUTE_CHARACTER_get();
1606 /// Length of text to show or hide, available when HIDE_COUNT/SHOW_COUNT mode is used.
1608 /// <since_tizen> 3 </since_tizen>
1609 public static readonly int SubstituteCount = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_SUBSTITUTE_COUNT_get();
1611 /// Hide last character after this duration, available when SHOW_LAST_CHARACTER mode.
1613 /// <since_tizen> 4 </since_tizen>
1614 public static readonly int ShowLastCharacterDuration = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_SHOW_LAST_CHARACTER_DURATION_get();
1618 /// The type for HiddenInput mode.
1620 /// <since_tizen> 3 </since_tizen>
1621 public enum HiddenInputModeType
1624 /// Don't hide text.
1628 /// Hide all the input text.
1632 /// Hide n characters from start.
1636 /// Show n characters from start.
1640 /// Show last character for the duration(use ShowLastCharacterDuration property to modify duration).
1646 /// ParentOrigin constants.
1648 /// <since_tizen> 3 </since_tizen>
1649 public struct ParentOrigin
1654 /// <since_tizen> 3 </since_tizen>
1655 public static float Top
1659 float ret = NDalicPINVOKE.ParentOriginTop_get();
1660 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1668 /// <since_tizen> 3 </since_tizen>
1669 public static float Bottom
1673 float ret = NDalicPINVOKE.ParentOriginBottom_get();
1674 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1682 /// <since_tizen> 3 </since_tizen>
1683 public static float Left
1687 float ret = NDalicPINVOKE.ParentOriginLeft_get();
1688 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1696 /// <since_tizen> 3 </since_tizen>
1697 public static float Right
1701 float ret = NDalicPINVOKE.ParentOriginRight_get();
1702 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1710 /// <since_tizen> 3 </since_tizen>
1711 public static float Middle
1715 float ret = NDalicPINVOKE.ParentOriginMiddle_get();
1716 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1724 /// <since_tizen> 3 </since_tizen>
1725 public static Position TopLeft
1729 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopLeft_get();
1730 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1731 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1739 /// <since_tizen> 3 </since_tizen>
1740 public static Position TopCenter
1744 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopCenter_get();
1745 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1746 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1754 /// <since_tizen> 3 </since_tizen>
1755 public static Position TopRight
1759 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopRight_get();
1760 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1761 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1769 /// <since_tizen> 3 </since_tizen>
1770 public static Position CenterLeft
1774 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenterLeft_get();
1775 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1776 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1784 /// <since_tizen> 3 </since_tizen>
1785 public static Position Center
1789 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenter_get();
1790 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1791 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1799 /// <since_tizen> 3 </since_tizen>
1800 public static Position CenterRight
1804 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenterRight_get();
1805 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1806 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1814 /// <since_tizen> 3 </since_tizen>
1815 public static Position BottomLeft
1819 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomLeft_get();
1820 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1821 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1829 /// <since_tizen> 3 </since_tizen>
1830 public static Position BottomCenter
1834 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomCenter_get();
1835 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1836 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1844 /// <since_tizen> 3 </since_tizen>
1845 public static Position BottomRight
1849 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomRight_get();
1850 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1851 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1858 /// PivotPoint constants.
1860 /// <since_tizen> 3 </since_tizen>
1861 public struct PivotPoint
1866 /// <since_tizen> 3 </since_tizen>
1867 public static float Top
1871 float ret = NDalicPINVOKE.AnchorPointTop_get();
1872 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1879 /// <since_tizen> 3 </since_tizen>
1880 public static float Bottom
1884 float ret = NDalicPINVOKE.AnchorPointBottom_get();
1885 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1892 /// <since_tizen> 3 </since_tizen>
1893 public static float Left
1897 float ret = NDalicPINVOKE.AnchorPointLeft_get();
1898 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1905 /// <since_tizen> 3 </since_tizen>
1906 public static float Right
1910 float ret = NDalicPINVOKE.AnchorPointRight_get();
1911 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1918 /// <since_tizen> 3 </since_tizen>
1919 public static float Middle
1923 float ret = NDalicPINVOKE.AnchorPointMiddle_get();
1924 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1931 /// <since_tizen> 3 </since_tizen>
1932 public static Position TopLeft
1936 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopLeft_get();
1937 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1938 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1945 /// <since_tizen> 3 </since_tizen>
1946 public static Position TopCenter
1950 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopCenter_get();
1951 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1952 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1959 /// <since_tizen> 3 </since_tizen>
1960 public static Position TopRight
1964 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopRight_get();
1965 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1966 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1973 /// <since_tizen> 3 </since_tizen>
1974 public static Position CenterLeft
1978 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterLeft_get();
1979 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1980 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1987 /// <since_tizen> 3 </since_tizen>
1988 public static Position Center
1992 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenter_get();
1993 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1994 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2001 /// <since_tizen> 3 </since_tizen>
2002 public static Position CenterRight
2006 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterRight_get();
2007 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2008 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2015 /// <since_tizen> 3 </since_tizen>
2016 public static Position BottomLeft
2020 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomLeft_get();
2021 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2022 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2029 /// <since_tizen> 3 </since_tizen>
2030 public static Position BottomCenter
2034 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomCenter_get();
2035 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2036 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2043 /// <since_tizen> 3 </since_tizen>
2044 public static Position BottomRight
2048 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomRight_get();
2049 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2050 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2056 /// PositionAxis constants.
2058 /// <since_tizen> 3 </since_tizen>
2059 public struct PositionAxis
2064 /// <since_tizen> 3 </since_tizen>
2065 public static Position X
2069 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_XAXIS_get();
2070 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2071 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2078 /// <since_tizen> 3 </since_tizen>
2079 public static Position Y
2083 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_YAXIS_get();
2084 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2085 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2092 /// <since_tizen> 3 </since_tizen>
2093 public static Position Z
2097 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_ZAXIS_get();
2098 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2099 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2104 /// The Negative X axis
2106 /// <since_tizen> 3 </since_tizen>
2107 public static Position NegativeX
2111 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_XAXIS_get();
2112 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2113 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2118 /// The Negative Y axis
2120 /// <since_tizen> 3 </since_tizen>
2121 public static Position NegativeY
2125 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_YAXIS_get();
2126 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2127 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2132 /// The Negative Z axis
2134 /// <since_tizen> 3 </since_tizen>
2135 public static Position NegativeZ
2139 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_ZAXIS_get();
2140 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2141 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2148 /// Auto scrolling stop behavior.
2150 /// <since_tizen> 3 </since_tizen>
2151 public enum AutoScrollStopMode
2154 /// Stop animation after current loop finished.
2158 /// Stop animation immediately and reset position.
2164 /// An enum of screen mode.
2166 /// <since_tizen> 4 </since_tizen>
2167 public enum ScreenOffMode {
2169 /// The mode which turns the screen off after a timeout.
2173 /// The mode which keeps the screen turned on.
2179 /// An enum of notification window's priority level.
2181 /// <since_tizen> 3 </since_tizen>
2182 public enum NotificationLevel {
2184 /// No notification level.<br />
2185 /// Default level.<br />
2186 /// This value makes the notification window place in the layer of the normal window.
2190 /// The base nofitication level.
2194 /// The medium notification level than base.
2198 /// The higher notification level than medium.
2202 /// The highest notification level.
2208 /// An enum of window types.
2210 /// <since_tizen> 3 </since_tizen>
2211 public enum WindowType {
2213 /// A default window type.<br />
2214 /// Indicates a normal or top-level window.
2215 /// Almost every window will be created with this type.
2219 /// A notification window, like a warning about battery life or a new email received.
2223 /// A persistent utility window, like a toolbox or a palette.
2227 /// Used for simple dialog windows.
2232 /// <since_tizen> 3 </since_tizen>
2233 public enum DisposeTypes
2238 /// <since_tizen> 3 </since_tizen>
2241 /// Called by DisposeQueue
2243 /// <since_tizen> 3 </since_tizen>
2250 /// [Obsolete("Please do not use! this will be deprecated")]
2252 /// <since_tizen> 3 </since_tizen>
2253 [Obsolete("Please do not use! This will be deprecated! Please use PivotPoint instead!")]
2254 [EditorBrowsable(EditorBrowsableState.Never)]
2255 public struct AnchorPoint
2260 /// <since_tizen> 3 </since_tizen>
2261 public static float Top
2265 float ret = NDalicPINVOKE.AnchorPointTop_get();
2266 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2273 /// <since_tizen> 3 </since_tizen>
2274 public static float Bottom
2278 float ret = NDalicPINVOKE.AnchorPointBottom_get();
2279 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2286 /// <since_tizen> 3 </since_tizen>
2287 public static float Left
2291 float ret = NDalicPINVOKE.AnchorPointLeft_get();
2292 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2299 /// <since_tizen> 3 </since_tizen>
2300 public static float Right
2304 float ret = NDalicPINVOKE.AnchorPointRight_get();
2305 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2312 /// <since_tizen> 3 </since_tizen>
2313 public static float Middle
2317 float ret = NDalicPINVOKE.AnchorPointMiddle_get();
2318 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2325 /// <since_tizen> 3 </since_tizen>
2326 public static Position TopLeft
2330 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopLeft_get();
2331 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2332 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2339 /// <since_tizen> 3 </since_tizen>
2340 public static Position TopCenter
2344 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopCenter_get();
2345 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2346 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2353 /// <since_tizen> 3 </since_tizen>
2354 public static Position TopRight
2358 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopRight_get();
2359 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2360 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2367 /// <since_tizen> 3 </since_tizen>
2368 public static Position CenterLeft
2372 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterLeft_get();
2373 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2374 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2381 /// <since_tizen> 3 </since_tizen>
2382 public static Position Center
2386 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenter_get();
2387 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2388 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2395 /// <since_tizen> 3 </since_tizen>
2396 public static Position CenterRight
2400 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterRight_get();
2401 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2402 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2409 /// <since_tizen> 3 </since_tizen>
2410 public static Position BottomLeft
2414 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomLeft_get();
2415 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2416 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2423 /// <since_tizen> 3 </since_tizen>
2424 public static Position BottomCenter
2428 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomCenter_get();
2429 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2430 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2437 /// <since_tizen> 3 </since_tizen>
2438 public static Position BottomRight
2442 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomRight_get();
2443 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2444 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2451 /// An enum of the scroll state of the text eidtor.
2453 /// <since_tizen> 3 </since_tizen>
2454 public enum ScrollState
2457 /// Scrolling is started.
2462 /// Scrolling is finished.
2468 /// An enum of the line wrap mode of text controls.
2470 /// <since_tizen> 4 </since_tizen>
2471 public enum LineWrapMode
2474 /// The word mode will move a word to the next line.
2476 /// <since_tizen> 4 </since_tizen>
2480 /// character will move character by character to the next line.
2482 /// <since_tizen> 4 </since_tizen>
2487 /// An enum of text directions.
2489 /// <since_tizen> 5 </since_tizen>
2490 public enum TextDirection
2493 /// Text direction is from left to right.
2495 /// <since_tizen> 5 </since_tizen>
2499 /// Text direction is from right to left.
2501 /// <since_tizen> 5 </since_tizen>
2506 /// An enum of vertical line alignments.
2508 /// <since_tizen> 5 </since_tizen>
2509 public enum VerticalLineAlignment
2512 /// vertical line alignment is from top.
2514 /// <since_tizen> 5 </since_tizen>
2518 /// vertical line alignment is from center.
2520 /// <since_tizen> 5 </since_tizen>
2524 /// vertical line alignment is from bottom.
2526 /// <since_tizen> 5 </since_tizen>
2531 /// Enumeration type for the font's slant.
2533 /// <since_tizen> 5 </since_tizen>
2534 public enum FontSlantType
2539 /// <since_tizen> 5 </since_tizen>
2544 /// <since_tizen> 5 </since_tizen>
2549 /// <since_tizen> 5 </since_tizen>
2554 /// <since_tizen> 5 </since_tizen>
2559 /// <since_tizen> 5 </since_tizen>
2564 /// Enumeration type for the font's weight.
2566 /// <since_tizen> 5 </since_tizen>
2567 public enum FontWeightType
2572 /// <since_tizen> 5 </since_tizen>
2577 /// <since_tizen> 5 </since_tizen>
2582 /// <since_tizen> 5 </since_tizen>
2587 /// <since_tizen> 5 </since_tizen>
2588 ExtraLight = UltraLight,
2592 /// <since_tizen> 5 </since_tizen>
2597 /// <since_tizen> 5 </since_tizen>
2602 /// <since_tizen> 5 </since_tizen>
2603 SemiLight = DemiLight,
2607 /// <since_tizen> 5 </since_tizen>
2612 /// <since_tizen> 5 </since_tizen>
2617 /// <since_tizen> 5 </since_tizen>
2622 /// <since_tizen> 5 </since_tizen>
2627 /// <since_tizen> 5 </since_tizen>
2632 /// <since_tizen> 5 </since_tizen>
2633 SemiBold = DemiBold,
2637 /// <since_tizen> 5 </since_tizen>
2642 /// <since_tizen> 5 </since_tizen>
2647 /// <since_tizen> 5 </since_tizen>
2648 ExtraBold = UltraBold,
2652 /// <since_tizen> 5 </since_tizen>
2657 /// <since_tizen> 5 </since_tizen>
2662 /// <since_tizen> 5 </since_tizen>
2667 /// Enumeration type for the font's width.
2669 /// <since_tizen> 5 </since_tizen>
2670 public enum FontWidthType
2675 /// <since_tizen> 5 </since_tizen>
2680 /// <since_tizen> 5 </since_tizen>
2685 /// <since_tizen> 5 </since_tizen>
2690 /// <since_tizen> 5 </since_tizen>
2695 /// <since_tizen> 5 </since_tizen>
2700 /// <since_tizen> 5 </since_tizen>
2705 /// <since_tizen> 5 </since_tizen>
2710 /// <since_tizen> 5 </since_tizen>
2715 /// <since_tizen> 5 </since_tizen>
2720 /// <since_tizen> 5 </since_tizen>
2725 /// Enumeration type for the glyph type.
2727 /// <since_tizen> 5 </since_tizen>
2728 public enum GlyphType
2731 /// Glyph stored as pixels.
2733 /// <since_tizen> 5 </since_tizen>
2736 /// Glyph stored as vectors (scalable). This feature requires highp shader support and is not available on all platforms.
2738 /// <since_tizen> 5 </since_tizen>
2743 /// Enumeration for Setting the rendering behavior of a Window.
2745 /// <since_tizen> 5 </since_tizen>
2746 public enum RenderingBehaviorType
2749 /// Default. Only renders if required.
2753 /// Renders continuously.