// Copyright (c) 2019 Samsung Electronics Co., Ltd. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. using System; using System.ComponentModel; namespace Tizen.NUI { /// /// This specifies all the scroll mode type. /// /// 3 public enum ScrollModeType { /// /// Whether the content can be scrolled along the X axis or not. /// /// 3 XAxisScrollEnabled, /// /// When set, causes scroll view to snap to multiples of the /// value of the interval while flicking along the X axis. /// /// 3 XAxisSnapToInterval, /// /// When set, the scroll view is unable to scroll beyond the /// value of the boundary along the X axis. /// /// 3 XAxisScrollBoundary, /// /// Whether the content can be scrolled along the Y axis or not. /// /// 3 YAxisScrollEnabled, /// /// When set, causes scroll view to snap to multiples of the /// value of the interval while flicking along the Y axis. /// /// 3 YAxisSnapToInterval, /// /// When set, the scroll view is unable to scroll beyond the /// value of the boundary along the Y axis. /// /// 3 YAxisScrollBoundary } /// /// This specifies whether the actor uses its own color or inherits. /// /// 3 public enum ColorMode { /// /// Actor will use its own color. /// UseOwnColor, /// /// Actor will use its parent color. /// UseParentColor, /// /// Actor will blend its color with its parents color. /// UseOwnMultiplyParentColor, /// /// 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. /// UseOwnMultiplyParentAlpha } /// /// This specifies the dimension of the width or the height for size negotiation. /// /// 3 public enum DimensionType { /// /// Width dimension. /// Width = 0x1, /// /// Height dimension. /// Height = 0x2, /// /// Mask to cover all flags. /// AllDimensions = 0x3 } /// /// Enumeration for the instance of how the actor and it's children will be drawn. /// /// 3 public enum DrawModeType { /// /// The default draw-mode. /// [Description("NORMAL")] Normal = 0, /// /// Draw the actor and its children as an overlay. /// [Description("OVERLAY_2D")] Overlay2D = 1, /// /// Will be replaced by separate ClippingMode enum. Draw the actor and its children into the stencil buffer. /// /// /// Deprecated.(API Level 6) Not used. /// [Obsolete("Please do not use this DrawModeType.Stencil(Deprecated). This is replaced by ClippingModeType")] [Description("STENCIL")] Stencil = 3 } /// /// Enumeration for size negotiation resize policies. /// /// 3 public enum ResizePolicyType { /// /// Size is fixed as set by SetSize. /// [Description("FIXED")] Fixed, /// /// Size is to use the actor's natural size. /// /// [Description("USE_NATURAL_SIZE")] UseNaturalSize, /// /// Size is to fill up to the actor's parent's bounds. Aspect ratio is not maintained. /// [Description("FILL_TO_PARENT")] FillToParent, /// /// The actors size will be ( ParentSize * SizeRelativeToParentFactor ). /// [Description("SIZE_RELATIVE_TO_PARENT")] SizeRelativeToParent, /// /// The actors size will be ( ParentSize + SizeRelativeToParentFactor ). /// [Description("SIZE_FIXED_OFFSET_FROM_PARENT")] SizeFixedOffsetFromParent, /// /// The size will adjust to wrap around all children. /// [Description("FIT_TO_CHILDREN")] FitToChildren, /// /// One dimension is dependent on the other. /// [Description("DIMENSION_DEPENDENCY")] DimensionDependency, /// /// The size will be assigned to the actor. /// [Description("USE_ASSIGNED_SIZE")] UseAssignedSize } /// /// Enumeration for policies to determine how an actor should resize itself when having its size set in size negotiation. /// /// 3 public enum SizeScalePolicyType { /// /// Use the size that was set. /// [Description("USE_SIZE_SET")] UseSizeSet, /// /// Fit within the size set maintaining natural size aspect ratio. /// [Description("FIT_WITH_ASPECT_RATIO")] FitWithAspectRatio, /// /// Fit within the size set maintaining natural size aspect ratio. /// [Description("FILL_WITH_ASPECT_RATIO")] FillWithAspectRatio } /// /// Enumeration for the ClippingMode describing how this actor's children will be clipped against it. /// /// 3 public enum ClippingModeType { /// /// This actor will not clip its children. /// Disabled, /// /// This actor will clip all children to within its boundaries (the actor will also be visible itself). /// ClipChildren, /// /// This Actor will clip all children within a screen-aligned rectangle encompassing its boundaries (the actor will also be visible itself). /// /// 4 ClipToBoundingBox } /// /// Enumeration for type determination of how the camera operates. /// /// 3 public enum CameraType { /// /// Camera orientation is taken from the CameraActor. /// FreeLook, /// /// Camera is oriented to always look at a target. /// LookAtTarget } /// /// Enumeration for the projection modes. /// /// 3 public enum ProjectionMode { /// /// Distance causes foreshortening; objects further from the camera appear smaller. /// PerspectiveProjection, /// /// Relative distance from the camera does not affect the size of objects. /// OrthographicProjection } /// /// This specifies customView behavior types. /// /// 3 public enum CustomViewBehaviour { /// /// Use to provide default behavior (size negotiation is on, event callbacks are not called). /// ViewBehaviourDefault = 0, /// /// True if the control does not need size negotiation, i.e., it can be skipped in the algorithm. /// DisableSizeNegotiation = 1 << 0, /// /// True if OnTouch() callback is required. /// /// 6 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API. [EditorBrowsable(EditorBrowsableState.Never)] RequiresTouchEventsSupport = 1 << 1, /// /// True if OnHover() callback is required. /// /// 6 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API. [EditorBrowsable(EditorBrowsableState.Never)] RequiresHoverEventsSupport = 1 << 2, /// /// True if OnWheel() callback is required. /// /// 6 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API. [EditorBrowsable(EditorBrowsableState.Never)] RequiresWheelEventsSupport = 1 << 3, /// /// Use to provide key navigation support. /// RequiresKeyboardNavigationSupport = 1 << 5, /// /// Use to make style change event disabled. /// DisableStyleChangeSignals = 1 << 6, /// /// Please do not use! This will be deprecated! /// /// 3 [Obsolete("Please do not use! This will be deprecated!")] [EditorBrowsable(EditorBrowsableState.Never)] LastViewBehaviourFlag } /// /// An enum of Device Class types. /// /// 3 public enum DeviceClassType { /// /// Not a device. /// /// 3 None, /// /// The user/seat (the user themselves). /// /// 3 Seat, /// /// A regular keyboard, numberpad or attached buttons. /// /// 3 Keyboard, /// /// A mouse, trackball or touchpad relative motion device. /// /// 3 Mouse, /// /// A touchscreen with fingers or stylus. /// /// 3 Touch, /// /// A special pen device. /// /// 3 Pen, /// /// A pointing device based on laser, infrared or similar technology. /// /// 3 Pointer, /// /// A gamepad controller or joystick. /// /// 3 Gamepad } /// /// An enum of Device Subclass types. /// /// 4 public enum DeviceSubClassType { /// /// Not a device /// /// 4 None, /// /// The normal flat of your finger /// /// 4 Finger, /// /// A fingernail /// /// 4 Fingernail, /// /// A Knuckle /// /// 4 Knuckle, /// /// The palm of a users hand /// /// 4 Palm, /// /// The side of your hand /// /// 4 HandSide, /// /// The flat of your hand /// /// 4 HandFlat, /// /// The tip of a pen /// /// 4 PenTip, /// /// A trackpad style mouse /// /// 4 Trackpad, /// /// A trackpoint style mouse /// /// 4 Trackpoint, /// /// A trackball style mouse /// /// 4 Trackball, /// /// A remote controller /// /// 4 Remocon, /// /// A virtual keyboard /// /// 4 VirtualKeyboard } /// /// This specifies all the property types.
/// Enumeration for the property types supported. ///
/// 3 public enum PropertyType { /// /// No type. /// None, /// /// A boolean type. /// Boolean, /// /// A float type. /// Float, /// /// An integer type. /// Integer, /// /// A vector array of size=2 with float precision. /// Vector2, /// /// A vector array of size=3 with float precision. /// Vector3, /// /// A vector array of size=4 with float precision. /// Vector4, /// /// A 3x3 matrix. /// Matrix3, /// /// A 4x4 matrix. /// Matrix, /// /// An integer array of size=4. /// Rectangle, /// /// Either a quaternion or an axis angle rotation. /// Rotation, /// /// A string type. /// String, /// /// An array of PropertyValue. /// Array, /// /// A string key to PropertyValue mapping. /// Map, /// /// An extents type. /// /// 4 Extents } /// /// This specifies the property access mode types.
/// Enumeration for the access mode for custom properties. ///
/// 3 public enum PropertyAccessMode { /// /// If the property is read-only. /// ReadOnly, /// /// If the property is read or writeable. /// ReadWrite, /// /// If the property can be animated or constrained. /// Animatable, /// /// The number of access modes. /// AccessModeCount } /// /// Types of style change. Enumeration for the StyleChange type. /// /// 3 public enum StyleChangeType { /// /// Denotes that the default font has changed. /// DefaultFontChange, /// /// Denotes that the default font size has changed. /// DefaultFontSizeChange, /// /// Denotes that the theme has changed. /// ThemeChange } /// /// Enumeration for horizontal alignment types. /// /// 3 public enum HorizontalAlignmentType { /// /// Align horizontally left. /// [Description("left")] Left, /// /// Align horizontally center. /// [Description("center")] Center, /// /// Align horizontally right. /// [Description("right")] Right } /// /// Enumeration for vertical alignment types. /// /// 3 public enum VerticalAlignmentType { /// /// Align vertically top. /// [Description("top")] Top, /// /// Align vertically center. /// [Description("center")] Center, /// /// Align vertically bottom. /// [Description("bottom")] Bottom } /// /// Enumeration for point state type. /// /// 3 public enum PointStateType { /// /// Touch or hover started. /// Started, /// /// Touch or hover finished. /// Finished, /// /// Screen touched. /// Down = Started, /// /// Touch stopped. /// Up = Finished, /// /// Finger dragged or hovered. /// Motion, /// /// Leave the boundary of an actor. /// Leave, /// /// No change from last event.
/// 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. ///
Stationary, /// /// A system event has occurred which has interrupted the touch or hover event sequence. /// Interrupted } /// /// The type for HiddenInput mode. /// /// 3 public enum HiddenInputModeType { /// /// Don't hide text. /// HideNone, /// /// Hide all the input text. /// HideAll, /// /// Hide n characters from start. /// HideCount, /// /// Show n characters from start. /// ShowCount, /// /// Show last character for the duration(use ShowLastCharacterDuration property to modify duration). /// ShowLastCharacter } /// /// Auto scrolling stop behavior. /// /// 3 public enum AutoScrollStopMode { /// /// Stop animation after current loop finished. /// [Description("FINISH_LOOP")] FinishLoop, /// /// Stop animation immediately and reset position. /// [Description("IMMEDIATE")] Immediate } /// /// An enum of screen mode. /// /// 4 public enum ScreenOffMode { /// /// The mode which turns the screen off after a timeout. /// Timout, /// /// The mode which keeps the screen turned on. /// Never } /// /// An enum of notification window's priority level. /// /// 3 public enum NotificationLevel { /// /// No notification level.
/// Default level.
/// This value makes the notification window place in the layer of the normal window. ///
None = -1, /// /// The base nofitication level. /// Base = 10, /// /// The medium notification level than base. /// Medium = 20, /// /// The higher notification level than medium. /// High = 30, /// /// The highest notification level. /// Top = 40 } /// /// An enum of window types. /// /// 3 public enum WindowType { /// /// A default window type.
/// Indicates a normal or top-level window. /// Almost every window will be created with this type. ///
Normal, /// /// A notification window, like a warning about battery life or a new email received. /// Notification, /// /// A persistent utility window, like a toolbox or a palette. /// Utility, /// /// Used for simple dialog windows. /// Dialog } /// 3 public enum DisposeTypes { /// /// Called By User /// /// 3 Explicit, /// /// Called by DisposeQueue /// /// 3 Implicit, } /// /// An enum of the scroll state of the text eidtor. /// /// 3 public enum ScrollState { /// /// Scrolling is started. /// Started, /// /// Scrolling is finished. /// Finished } /// /// An enum of the line wrap mode of text controls. /// /// 4 public enum LineWrapMode { /// /// The word mode will move a word to the next line. /// /// 4 Word, /// /// character will move character by character to the next line. /// /// 4 Character } /// /// An enum of text directions. /// /// 5 public enum TextDirection { /// /// Text direction is from left to right. /// /// 5 LeftToRight, /// /// Text direction is from right to left. /// /// 5 RightToLeft } /// /// An enum of vertical line alignments. /// /// 5 public enum VerticalLineAlignment { /// /// vertical line alignment is from top. /// /// 5 Top, /// /// vertical line alignment is from center. /// /// 5 Center, /// /// vertical line alignment is from bottom. /// /// 5 Bottom } /// /// Enumeration type for the font's slant. /// /// 5 public enum FontSlantType { /// /// None. /// /// 5 None, /// /// Normal. /// /// 5 Normal, /// /// Roman. /// /// 5 Roman = Normal, /// /// Italic. /// /// 5 Italic, /// /// Oblique. /// /// 5 Oblique } /// /// Enumeration type for the font's weight. /// /// 5 public enum FontWeightType { /// /// None. /// /// 5 None, /// /// Thin. /// /// 5 Thin, /// /// UltraLight. /// /// 5 UltraLight, /// /// ExtraLight. /// /// 5 ExtraLight = UltraLight, /// /// Light. /// /// 5 Light, /// /// DemiLight. /// /// 5 DemiLight, /// /// SemiLight. /// /// 5 SemiLight = DemiLight, /// /// Book. /// /// 5 Book, /// /// Normal. /// /// 5 Normal, /// /// Regular. /// /// 5 Regular = Normal, /// /// Medium. /// /// 5 Medium, /// /// DemiBold. /// /// 5 DemiBold, /// /// SemiBold. /// /// 5 SemiBold = DemiBold, /// /// Bold. /// /// 5 Bold, /// /// UltraBold. /// /// 5 UltraBold, /// /// ExtraBold. /// /// 5 ExtraBold = UltraBold, /// /// Black. /// /// 5 Black, /// /// Heavy. /// /// 5 Heavy = Black, /// /// ExtraBlack. /// /// 5 ExtraBlack = Black } /// /// Enumeration type for the font's width. /// /// 5 public enum FontWidthType { /// /// None. /// /// 5 None, /// /// UltraCondensed. /// /// 5 UltraCondensed, /// /// ExtraCondensed. /// /// 5 ExtraCondensed, /// /// Condensed. /// /// 5 Condensed, /// /// SemiCondensed. /// /// 5 SemiCondensed, /// /// Normal. /// /// 5 Normal, /// /// SemiExpanded. /// /// 5 SemiExpanded, /// /// Expanded. /// /// 5 Expanded, /// /// ExtraExpanded. /// /// 5 ExtraExpanded, /// /// UltraExpanded. /// /// 5 UltraExpanded } /// /// Enumeration type for the glyph type. /// /// 5 public enum GlyphType { /// /// Glyph stored as pixels. /// /// 5 BitmapGlyph, /// /// Glyph stored as vectors (scalable). This feature requires highp shader support and is not available on all platforms. /// /// 5 VectorGlyph } /// /// Enumeration for Setting the rendering behavior of a Window. /// /// 5 public enum RenderingBehaviorType { /// /// Default. Only renders if required. /// IfRequired, /// /// Renders continuously. /// Continuously } /// /// The HiddenInput property. /// /// 3 public struct HiddenInputProperty { /// /// The mode for input text display. /// /// 3 public static readonly int Mode = NDalicManualPINVOKE.HiddeninputPropertyModeGet(); /// /// All input characters are substituted by this character. /// /// 3 public static readonly int SubstituteCharacter = NDalicManualPINVOKE.HiddeninputPropertySubstituteCharacterGet(); /// /// Length of text to show or hide, available when HIDE_COUNT/SHOW_COUNT mode is used. /// /// 3 public static readonly int SubstituteCount = NDalicManualPINVOKE.HiddeninputPropertySubstituteCountGet(); /// /// Hide last character after this duration, available when SHOW_LAST_CHARACTER mode. /// /// 4 public static readonly int ShowLastCharacterDuration = NDalicManualPINVOKE.HiddeninputPropertyShowLastCharacterDurationGet(); } /// /// ParentOrigin constants. /// /// 3 public struct ParentOrigin { /// /// Top /// /// 3 public static float Top { get { float ret = Interop.NDalicParentOrigin.ParentOriginTopGet(); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); return ret; } } /// /// Bottom /// /// 3 public static float Bottom { get { float ret = Interop.NDalicParentOrigin.ParentOriginBottomGet(); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); return ret; } } /// /// Left /// /// 3 public static float Left { get { float ret = Interop.NDalicParentOrigin.ParentOriginLeftGet(); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); return ret; } } /// /// Right /// /// 3 public static float Right { get { float ret = Interop.NDalicParentOrigin.ParentOriginRightGet(); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); return ret; } } /// /// Middle /// /// 3 public static float Middle { get { float ret = Interop.NDalicParentOrigin.ParentOriginMiddleGet(); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); return ret; } } /// /// TopLeft /// /// 3 public static Position TopLeft { get { global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginTopLeftGet(); Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); return ret; } } /// /// TopCenter /// /// 3 public static Position TopCenter { get { global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginTopCenterGet(); Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); return ret; } } /// /// TopRight /// /// 3 public static Position TopRight { get { global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginTopRightGet(); Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); return ret; } } /// /// CenterLeft /// /// 3 public static Position CenterLeft { get { global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginCenterLeftGet(); Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); return ret; } } /// /// Center /// /// 3 public static Position Center { get { global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginCenterGet(); Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); return ret; } } /// /// CenterRight /// /// 3 public static Position CenterRight { get { global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginCenterRightGet(); Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); return ret; } } /// /// BottomLeft /// /// 3 public static Position BottomLeft { get { global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginBottomLeftGet(); Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); return ret; } } /// /// BottomCenter /// /// 3 public static Position BottomCenter { get { global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginBottomCenterGet(); Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); return ret; } } /// /// BottomRight /// /// 3 public static Position BottomRight { get { global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginBottomRightGet(); Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); return ret; } } } /// /// PivotPoint constants. /// /// 3 public struct PivotPoint { /// /// Top /// /// 3 public static float Top { get { float ret = Interop.NDalicAnchorPoint.AnchorPointTopGet(); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); return ret; } } /// /// Bottom /// /// 3 public static float Bottom { get { float ret = Interop.NDalicAnchorPoint.AnchorPointBottomGet(); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); return ret; } } /// /// Left /// /// 3 public static float Left { get { float ret = Interop.NDalicAnchorPoint.AnchorPointLeftGet(); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); return ret; } } /// /// Right /// /// 3 public static float Right { get { float ret = Interop.NDalicAnchorPoint.AnchorPointRightGet(); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); return ret; } } /// /// Middle /// /// 3 public static float Middle { get { float ret = Interop.NDalicAnchorPoint.AnchorPointMiddleGet(); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); return ret; } } /// /// TopLeft /// /// 3 public static Position TopLeft { get { global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointTopLeftGet(); Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); return ret; } } /// /// TopCenter /// /// 3 public static Position TopCenter { get { global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointTopCenterGet(); Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); return ret; } } /// /// TopRight /// /// 3 public static Position TopRight { get { global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointTopRightGet(); Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); return ret; } } /// /// CenterLeft /// /// 3 public static Position CenterLeft { get { global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointCenterLeftGet(); Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); return ret; } } /// /// Center /// /// 3 public static Position Center { get { global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointCenterGet(); Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); return ret; } } /// /// CenterRight /// /// 3 public static Position CenterRight { get { global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointCenterRightGet(); Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); return ret; } } /// /// BottomLeft /// /// 3 public static Position BottomLeft { get { global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointBottomLeftGet(); Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); return ret; } } /// /// BottomCenter /// /// 3 public static Position BottomCenter { get { global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointBottomCenterGet(); Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); return ret; } } /// /// BottomRight /// /// 3 public static Position BottomRight { get { global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointBottomRightGet(); Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); return ret; } } } /// /// PositionAxis constants. /// /// 3 public struct PositionAxis { /// /// The X axis /// /// 3 public static Position X { get { global::System.IntPtr cPtr = Interop.Vector3.XaxisGet(); Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); return ret; } } /// /// The Y axis /// /// 3 public static Position Y { get { global::System.IntPtr cPtr = Interop.Vector3.YaxisGet(); Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); return ret; } } /// /// The Z axis /// /// 3 public static Position Z { get { global::System.IntPtr cPtr = Interop.Vector3.ZaxisGet(); Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); return ret; } } /// /// The Negative X axis /// /// 3 public static Position NegativeX { get { global::System.IntPtr cPtr = Interop.Vector3.NegativeXaxisGet(); Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); return ret; } } /// /// The Negative Y axis /// /// 3 public static Position NegativeY { get { global::System.IntPtr cPtr = Interop.Vector3.NegativeYaxisGet(); Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); return ret; } } /// /// The Negative Z axis /// /// 3 public static Position NegativeZ { get { global::System.IntPtr cPtr = Interop.Vector3.NegativeZaxisGet(); Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); return ret; } } } /// /// [Obsolete("Please do not use! this will be deprecated")] /// /// 3 [Obsolete("Please do not use! This will be deprecated! Please use PivotPoint instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public struct AnchorPoint { /// /// Top /// /// 3 public static float Top { get { return PivotPoint.Top; } } /// /// Bottom /// /// 3 public static float Bottom { get { return PivotPoint.Bottom; } } /// /// Left /// /// 3 public static float Left { get { return PivotPoint.Left; } } /// /// Right /// /// 3 public static float Right { get { return PivotPoint.Right; } } /// /// Middle /// /// 3 public static float Middle { get { return PivotPoint.Middle; } } /// /// TopLeft /// /// 3 public static Position TopLeft { get { return PivotPoint.TopLeft; } } /// /// TopCenter /// /// 3 public static Position TopCenter { get { return PivotPoint.TopCenter; } } /// /// TopRight /// /// 3 public static Position TopRight { get { return PivotPoint.TopRight; } } /// /// CenterLeft /// /// 3 public static Position CenterLeft { get { return PivotPoint.CenterLeft; } } /// /// Center /// /// 3 public static Position Center { get { return PivotPoint.Center; } } /// /// CenterRight /// /// 3 public static Position CenterRight { get { return PivotPoint.CenterRight; } } /// /// BottomLeft /// /// 3 public static Position BottomLeft { get { return PivotPoint.BottomLeft; } } /// /// BottomCenter /// /// 3 public static Position BottomCenter { get { return PivotPoint.BottomCenter; } } /// /// BottomRight /// /// 3 public static Position BottomRight { get { return PivotPoint.BottomRight; } } } /// /// Enumeration for setting cache model of a WebView. /// [EditorBrowsable(EditorBrowsableState.Never)] public enum CacheModel { /// /// Use the smallest cache capacity. /// DocumentViewer, /// /// Use the bigger cache capacity than DocumentBrowser. /// DocumentBrowser, /// /// Use the biggest cache capacity. /// PrimaryWebBrowser } /// /// Enumeration for setting cache model of a WebView. /// [EditorBrowsable(EditorBrowsableState.Never)] public enum CookieAcceptPolicy { /// /// Accepts every cookie sent from any page. /// Always, /// /// Rejects all the cookies. /// Never, /// /// Accepts only cookies set by the main document that is loaded. /// NoThirdParty } /// /// TODO This is to get TizenFX resource path. It needs to be fixed to use application framework API in the future. /// Internal use only. Do not open this API. /// internal struct FrameworkInformation { public readonly static string ResourcePath = "/usr/share/dotnet.tizen/framework/res/"; } }