}
}
+ /// <since_tizen> 4 </since_tizen>
public void Dispose()
{
//Throw excpetion if Dispose() is called in separate thread.
/// Returns a reference to the instance of the adaptor used by the current thread.
/// </summary>
/// <remarks>The adaptor has been initialized. This is only valid in the main thread.</remarks>
+ /// <since_tizen> 4 </since_tizen>
public static Adaptor Instance
{
get
/// Feeds a wheel event to the adaptor.
/// </summary>
/// <param name="wheelEvent">The wheel event.</param>
+ /// <since_tizen> 4 </since_tizen>
public void FeedWheelEvent(Wheel wheelEvent)
{
NDalicManualPINVOKE.Adaptor_FeedWheelEvent(swigCPtr, Wheel.getCPtr(wheelEvent));
/// Feeds a key event to the adaptor.
/// </summary>
/// <param name="keyEvent">The key event holding the key information.</param>
+ /// <since_tizen> 4 </since_tizen>
public void FeedKeyEvent(Key keyEvent)
{
NDalicManualPINVOKE.Adaptor_FeedKeyEvent(swigCPtr, Key.getCPtr(keyEvent));
/// <summary>
/// Adaptor - is the adaptor which has size changed.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public Adaptor Adaptor
{
get;
/// <summary>
/// Adaptor - is the adaptor which has language changed.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public Adaptor Adaptor
{
get;
}
-}
+}
\ No newline at end of file
/// <summary>
/// To make the AlphaFunction instance be disposed.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public void Dispose()
{
//Throw excpetion if Dispose() is called in separate thread.
/// Creates an alpha function object with the user-defined alpha function.<br>
/// </summary>
/// <param name="func">User defined fuction. It must be a method formatted as float alphafunction(float progress)</param>
+ /// <since_tizen> 3 </since_tizen>
public AlphaFunction(System.Delegate func) : this(NDalicPINVOKE.new_AlphaFunction__SWIG_2(SWIGTYPE_p_f_float__float.getCPtr(new SWIGTYPE_p_f_float__float(System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate<System.Delegate>(func), true))), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// The default constructor.<br>
/// Creates an alpha function object with the default built-in alpha function.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public AlphaFunction() : this(NDalicPINVOKE.new_AlphaFunction__SWIG_0(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// Creates an alpha function object with the built-in alpha function passed as a parameter to the constructor.<br>
/// </summary>
/// <param name="function">One of the built-in alpha functions.</param>
+ /// <since_tizen> 3 </since_tizen>
public AlphaFunction(AlphaFunction.BuiltinFunctions function) : this(NDalicPINVOKE.new_AlphaFunction__SWIG_1((int)function), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// <remarks>The x components of the control points will be clamped to the range [0, 1] to prevent non-monotonic curves.</remarks>
/// <param name="controlPoint0">A Vector2 which will be used as the first control point of the curve.</param>
/// <param name="controlPoint1">A Vector2 which will be used as the second control point of the curve.</param>
+ /// <since_tizen> 3 </since_tizen>
public AlphaFunction(Vector2 controlPoint0, Vector2 controlPoint1) : this(NDalicPINVOKE.new_AlphaFunction__SWIG_3(Vector2.getCPtr(controlPoint0), Vector2.getCPtr(controlPoint1)), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// </summary>
/// <param name="controlPoint0">A Vector2 which will be used as the first control point of the curve.</param>
/// <param name="controlPoint1">A Vector2 which will be used as the second control point of the curve.</param>
+ /// <since_tizen> 3 </since_tizen>
public void GetBezierControlPoints(out Vector2 controlPoint0, out Vector2 controlPoint1)
{
Vector4 ret = new Vector4(NDalicPINVOKE.AlphaFunction_GetBezierControlPoints(swigCPtr), true);
/// In case no built-in function has been specified, it will return AlphaFunction::DEFAULT.<br>
/// </summary>
/// <returns>One of the built-in alpha functions.</returns>
+ /// <since_tizen> 3 </since_tizen>
public AlphaFunction.BuiltinFunctions GetBuiltinFunction()
{
AlphaFunction.BuiltinFunctions ret = (AlphaFunction.BuiltinFunctions)NDalicPINVOKE.AlphaFunction_GetBuiltinFunction(swigCPtr);
/// Returns the functioning mode of the alpha function.
/// </summary>
/// <returns>The functioning mode of the alpha function.</returns>
+ /// <since_tizen> 3 </since_tizen>
public AlphaFunction.Modes GetMode()
{
AlphaFunction.Modes ret = (AlphaFunction.Modes)NDalicPINVOKE.AlphaFunction_GetMode(swigCPtr);
/// <summary>
/// This specifies the various types of BuiltinFunctions.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum BuiltinFunctions
{
/// <summary>
/// <summary>
/// This specifies which mode is set for AlphaFunction.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum Modes
{
/// <summary>
return propertyKey;
}
}
-}
+}
\ No newline at end of file
namespace Tizen.NUI
{
+ /// <summary>
+ /// Animatable.
+ /// </summary>
public class Animatable : BaseHandle
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
base.Dispose(type);
}
-
+ /// <summary>
+ /// Create an instance of animatable.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Animatable() : this(NDalicPINVOKE.Handle_New(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
+ /// <summary>
+ /// Queries the name of a property.
+ /// </summary>
+ /// <param name="index">The index of the property.</param>
+ /// <returns>The name of the property.</returns>
+ /// <since_tizen> 3 </since_tizen>
public string GetPropertyName(int index)
{
string ret = NDalicPINVOKE.Handle_GetPropertyName(swigCPtr, index);
return ret;
}
+ /// <summary>
+ /// Queries the index of a property.
+ /// </summary>
+ /// <param name="name">The name of the property.</param>
+ /// <returns>The index of the property.</returns>
+ /// <since_tizen> 3 </since_tizen>
public int GetPropertyIndex(string name)
{
int ret = NDalicPINVOKE.Handle_GetPropertyIndex(swigCPtr, name);
return ret;
}
+ /// <summary>
+ /// Queries whether a property can be writable.
+ /// </summary>
+ /// <param name="index">The index of the property.</param>
+ /// <returns>True if the property is writable.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool IsPropertyWritable(int index)
{
bool ret = NDalicPINVOKE.Handle_IsPropertyWritable(swigCPtr, index);
return ret;
}
+ /// <summary>
+ /// whether a writable property can be the target of an animation.
+ /// </summary>
+ /// <param name="index">The index of the property.</param>
+ /// <returns>True if the property is animatable.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool IsPropertyAnimatable(int index)
{
bool ret = NDalicPINVOKE.Handle_IsPropertyAnimatable(swigCPtr, index);
return ret;
}
+ /// <summary>
+ /// Queries the type of a property.
+ /// </summary>
+ /// <param name="index">The index of the property.</param>
+ /// <returns>The type of the property.</returns>
+ /// <since_tizen> 3 </since_tizen>
public PropertyType GetPropertyType(int index)
{
PropertyType ret = (PropertyType)NDalicPINVOKE.Handle_GetPropertyType(swigCPtr, index);
return ret;
}
+ /// <summary>
+ /// Sets the value of an existing property.
+ /// </summary>
+ /// <param name="index">The index of the property.</param>
+ /// <param name="propertyValue">The new value of the property.</param>
+ /// <since_tizen> 3 </since_tizen>
public void SetProperty(int index, PropertyValue propertyValue)
{
Tizen.NUI.Object.SetProperty(swigCPtr, index, propertyValue);
}
+ /// <summary>
+ /// Registers a new animatable property.
+ /// </summary>
+ /// <param name="name">The name of the property.</param>
+ /// <param name="propertyValue">The new value of the property.</param>
+ /// <returns>The type of the property.</returns>
+ /// <since_tizen> 3 </since_tizen>
public int RegisterProperty(string name, PropertyValue propertyValue)
{
int ret = NDalicPINVOKE.Handle_RegisterProperty__SWIG_0(swigCPtr, name, PropertyValue.getCPtr(propertyValue));
return ret;
}
+ /// <summary>
+ /// Registers a new animatable property.
+ /// </summary>
+ /// <param name="name">The name of the property.</param>
+ /// <param name="propertyValue">The new value of the property.</param>
+ /// <param name="accessMode">The property access mode (writable, animatable etc).</param>
+ /// <returns>The type of the property.</returns>
+ /// <since_tizen> 3 </since_tizen>
public int RegisterProperty(string name, PropertyValue propertyValue, PropertyAccessMode accessMode)
{
int ret = NDalicPINVOKE.Handle_RegisterProperty__SWIG_1(swigCPtr, name, PropertyValue.getCPtr(propertyValue), (int)accessMode);
return ret;
}
+ /// <summary>
+ /// Retrieves a property value.
+ /// </summary>
+ /// <param name="index">The index of the property.</param>
+ /// <returns>The property value.</returns>
+ /// <since_tizen> 3 </since_tizen>
public PropertyValue GetProperty(int index)
{
PropertyValue ret = Tizen.NUI.Object.GetProperty(swigCPtr, index);
return ret;
}
+ /// <summary>
+ /// Adds a property notification to this object.
+ /// </summary>
+ /// <param name="property">The name of the property.</param>
+ /// <param name="condition">The notification will be triggered when this condition is satisfied.</param>
+ /// <returns>A handle to the newly created PropertyNotification.</returns>
+ /// <since_tizen> 4 </since_tizen>
public PropertyNotification AddPropertyNotification(string property, PropertyCondition condition)
{
PropertyNotification ret = new PropertyNotification(NDalicPINVOKE.Handle_AddPropertyNotification__SWIG_0(swigCPtr, PropertyHelper.GetPropertyFromString(this, property).propertyIndex, PropertyCondition.getCPtr(condition)), true);
return ret;
}
+ /// <summary>
+ /// Removes a property notification from this object.
+ /// </summary>
+ /// <param name="propertyNotification">The propertyNotification to be removed.</param>
+ /// <since_tizen> 4 </since_tizen>
public void RemovePropertyNotification(PropertyNotification propertyNotification)
{
NDalicPINVOKE.Handle_RemovePropertyNotification(swigCPtr, PropertyNotification.getCPtr(propertyNotification));
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Removes a property notification from this object.
+ /// </summary>
+ /// <since_tizen> 4 </since_tizen>
public void RemovePropertyNotifications()
{
NDalicPINVOKE.Handle_RemovePropertyNotifications(swigCPtr);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Enumeration for Handle's capabilities that can be queried.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum Capability
{
DYNAMIC_PROPERTIES = 0x01
}
-}
+}
\ No newline at end of file
/// </summary>
/// <remarks>DurationmSeconds must be greater than zero.</remarks>
/// <param name="durationMilliSeconds">The duration in milliseconds.</param>
+ /// <since_tizen> 3 </since_tizen>
public Animation(int durationMilliSeconds) : this(NDalicPINVOKE.Animation_New((float)durationMilliSeconds / 1000.0f), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// <summary>
/// Gets or sets the duration in milliseconds of the animation.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int Duration
{
set
/// <summary>
/// Gets or sets the default alpha function for the animation.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public AlphaFunction DefaultAlphaFunction
{
set
/// <summary>
/// Queries the state of the animation.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public States State
{
get
/// Get: Gets the loop count. A zero is the same as Looping = true; i.e., repeat forever.<br>
/// The loop count is initially 1 for play once.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int LoopCount
{
set
/// This property resets the loop count and should not be used with the LoopCount property.<br>
/// Setting this parameter does not cause the animation to Play().<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool Looping
{
set
/// This action is performed when the animation ends or if it is stopped.<br>
/// The default end action is cancel.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public EndActions EndAction
{
set
/// Stops the animation.
/// </summary>
/// <param name="action">The end action can be set.</param>
+ /// <since_tizen> 3 </since_tizen>
public void Stop(EndActions action = EndActions.Cancel)
{
SetEndAction(action);
/// Gets the current loop count.<br>
/// A value 0 indicating the current loop count when looping.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int CurrentLoop
{
get
/// If any of the animated property owners are disconnected from the stage while the animation is being played, then this action is performed.<br>
/// The default action is cancel.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public EndActions DisconnectAction
{
set
/// The progress must be in the 0-1 interval or in the play range interval if defined<br>
/// otherwise, it will be ignored.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float CurrentProgress
{
set
/// Values between [0, 1] will slow down the animation and values above one will speed up the animation.<br>
/// It is also possible to specify a negative multiplier to play the animation in reverse.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float SpeedFactor
{
set
/// Animation will play between the values specified. Both values (range.x and range.y ) should be between 0-1,
/// otherwise they will be ignored. If the range provided is not in proper order (minimum, maximum ), it will be reordered.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public RelativeVector2 PlayRange
{
set
/// Percentage of animation progress should be greater than 0 and less than 1, for example, 0.3 for 30% <br>
/// One notification can be set on each animation.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float ProgressNotification
{
set
/// <param name="property">The target property to animate.</param>
/// <param name="relativeValue">The property value will change by this amount.</param>
/// <param name="alphaFunction">The alpha function to apply.</param>
+ /// <since_tizen> 3 </since_tizen>
public void AnimateBy(View target, string property, object relativeValue, AlphaFunction alphaFunction = null)
{
Property _prop = PropertyHelper.GetPropertyFromString(target, property);
/// <param name="startTime">The start time of the animation.</param>
/// <param name="endTime">The end time of the animation.</param>
/// <param name="alphaFunction">The alpha function to apply.</param>
+ /// <since_tizen> 3 </since_tizen>
public void AnimateBy(View target, string property, object relativeValue, int startTime, int endTime, AlphaFunction alphaFunction = null)
{
Property _prop = PropertyHelper.GetPropertyFromString(target, property);
/// <param name="property">The target property to animate.</param>
/// <param name="destinationValue">The destination value.</param>
/// <param name="alphaFunction">The alpha function to apply.</param>
+ /// <since_tizen> 3 </since_tizen>
public void AnimateTo(View target, string property, object destinationValue, AlphaFunction alphaFunction = null)
{
Property _prop = PropertyHelper.GetPropertyFromString(target, property);
/// <param name="startTime">The start time of the animation.</param>
/// <param name="endTime">The end time of the animation.</param>
/// <param name="alphaFunction">The alpha function to apply.</param>
+ /// <since_tizen> 3 </since_tizen>
public void AnimateTo(View target, string property, object destinationValue, int startTime, int endTime, AlphaFunction alphaFunction = null)
{
Property _prop = PropertyHelper.GetPropertyFromString(target, property);
/// <param name="keyFrames">The set of time or value pairs between which to animate.</param>
/// <param name="interpolation">The method used to interpolate between values.</param>
/// <param name="alphaFunction">The alpha function to apply.</param>
+ /// <since_tizen> 3 </since_tizen>
public void AnimateBetween(View target, string property, KeyFrames keyFrames, Interpolation interpolation = Interpolation.Linear, AlphaFunction alphaFunction = null)
{
Property _prop = PropertyHelper.GetPropertyFromString(target, property);
/// <param name="endTime">The end time of animation in milliseconds.</param>
/// <param name="interpolation">The method used to interpolate between values.</param>
/// <param name="alphaFunction">The alpha function to apply.</param>
+ /// <since_tizen> 3 </since_tizen>
public void AnimateBetween(View target, string property, KeyFrames keyFrames, int startTime, int endTime, Interpolation interpolation = Interpolation.Linear, AlphaFunction alphaFunction = null)
{
Property _prop = PropertyHelper.GetPropertyFromString(target, property);
/// <param name="path">It defines position and orientation.</param>
/// <param name="forward">The vector (in local space coordinate system) will be oriented with the path's tangent direction.</param>
/// <param name="alphaFunction">The alpha function to apply.</param>
+ /// <since_tizen> 3 </since_tizen>
public void AnimatePath(View view, Path path, Vector3 forward, AlphaFunction alphaFunction = null)
{
if (alphaFunction == null)
/// <param name="startTime">The start time of the animation.</param>
/// <param name="endTime">The end time of the animation.</param>
/// <param name="alphaFunction">The alpha function to apply.</param>
+ /// <since_tizen> 3 </since_tizen>
public void AnimatePath(View view, Path path, Vector3 forward, int startTime, int endTime, AlphaFunction alphaFunction = null)
{
TimePeriod time = new TimePeriod(MilliSecondsToSeconds(startTime), MilliSecondsToSeconds(endTime - startTime));
/// The default end action is "Cancel".<br>
/// The default alpha function is linear.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Animation() : this(NDalicPINVOKE.Animation_New(0.0f), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// </summary>
/// <param name="handle">Handle to an object.</param>
/// <returns>Handle to an animation object or an uninitialized handle.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static Animation DownCast(BaseHandle handle)
{
Animation ret = Registry.GetManagedBaseHandleFromNativePtr(handle) as Animation;
/// <summary>
/// Plays the animation.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public void Play()
{
NDalicPINVOKE.Animation_Play(swigCPtr);
/// otherwise, it will be ignored.<br>
/// </summary>
/// <param name="progress">A value between [0,1], or between the play range if specified, from where the animation should start playing.</param>
+ /// <since_tizen> 3 </since_tizen>
public void PlayFrom(float progress)
{
NDalicPINVOKE.Animation_PlayFrom(swigCPtr, progress);
/// When the delay time is a negative value, it would treat as play immediately.<br/>
/// </summary>
/// <param name="delayMilliseconds">The delay time.</param>
+ /// <since_tizen> 4 </since_tizen>
public void PlayAfter(int delayMilliseconds)
{
NDalicPINVOKE.Animation_PlayAfter(swigCPtr, MilliSecondsToSeconds(delayMilliseconds));
/// <summary>
/// Pauses the animation.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public void Pause()
{
NDalicPINVOKE.Animation_Pause(swigCPtr);
/// <summary>
/// Stops the animation.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public void Stop()
{
NDalicPINVOKE.Animation_Stop(swigCPtr);
/// Clears the animation.<br>
/// This disconnects any objects that were being animated, effectively stopping the animation.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public void Clear()
{
NDalicPINVOKE.Animation_Clear(swigCPtr);
/// <summary>
/// Enumeration for what to do when the animation ends, stopped, or destroyed.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum EndActions
{
/// <summary>
/// <summary>
/// Enumeration for what interpolation method to use on key-frame animations.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum Interpolation
{
/// <summary>
/// Enumeration for what state the animation is in.
/// </summary>
/// <remarks>Calling Reset() on this class will not reset the animation. It will call the BaseHandle.Reset() which drops the object handle.</remarks>
+ /// <since_tizen> 3 </since_tizen>
public enum States
{
/// <summary>
}
-}
+}
\ No newline at end of file
/// Sets the background with a property map.
/// </summary>
/// <param name="map">The background property map.</param>
+ /// <since_tizen> 3 </since_tizen>
public void SetBackground(Tizen.NUI.PropertyMap map)
{
viewWrapperImpl.SetBackground(map);
/// Gesture detection can be enabled one at a time or in a bitwise format.<br>
/// </summary>
/// <param name="type">The gesture type(s) to enable.</param>
+ /// <since_tizen> 3 </since_tizen>
public void EnableGestureDetection(Gesture.GestureType type)
{
viewWrapperImpl.EnableGestureDetection(type);
/// The control doesn't support it by default.<br>
/// </summary>
/// <param name="isSupported">Whether this control supports two dimensional keyboard navigation.</param>
+ /// <since_tizen> 3 </since_tizen>
public bool FocusNavigationSupport
{
get
/// Sets or gets whether this control is a focus group for keyboard navigation.
/// </summary>
/// <returns>True if this control is set as a focus group for keyboard navigation.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool FocusGroup
{
get
/// This method is called after the control has been initialized.<br>
/// Derived classes should do any second phase initialization by overriding this method.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public virtual void OnInitialize()
{
}
/// When the parent of a set of views is connected to the stage, then all of the children will receive this callback.<br>
/// </summary>
/// <param name="depth">The depth in the hierarchy for the view.</param>
+ /// <since_tizen> 3 </since_tizen>
public virtual void OnStageConnection(int depth)
{
}
/// If a view is disconnected, it either has no parent, or is parented to a disconnected view.<br>
/// When the parent of a set of views is disconnected to the stage, then all of the children will receive this callback, starting with the leaf views.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public virtual void OnStageDisconnection()
{
}
/// Called after a child has been added to the owning view.
/// </summary>
/// <param name="view">The child which has been added.</param>
+ /// <since_tizen> 3 </since_tizen>
public virtual void OnChildAdd(View view)
{
}
/// Called after the owning view has attempted to remove a child( regardless of whether it succeeded or not ).
/// </summary>
/// <param name="view">The child being removed.</param>
+ /// <since_tizen> 3 </since_tizen>
public virtual void OnChildRemove(View view)
{
}
/// </summary>
/// <param name="index">The property index that was set.</param>
/// <param name="propertyValue">The value to set.</param>
+ /// <since_tizen> 3 </since_tizen>
public virtual void OnPropertySet(int index, Tizen.NUI.PropertyValue propertyValue)
{
}
/// Called when the owning view's size is set, for example, using View.SetSize().
/// </summary>
/// <param name="targetSize">The target size.</param>
+ /// <since_tizen> 3 </since_tizen>
public virtual void OnSizeSet(Vector3 targetSize)
{
}
/// </summary>
/// <param name="animation">The object which is animating the owning view.</param>
/// <param name="targetSize">The target size.</param>
+ /// <since_tizen> 3 </since_tizen>
public virtual void OnSizeAnimation(Animation animation, Vector3 targetSize)
{
}
/// </summary>
/// <param name="touch">The touch event.</param>
/// <returns>True if the event should be consumed.</returns>
+ /// <since_tizen> 3 </since_tizen>
public virtual bool OnTouch(Touch touch)
{
return false; // Do not consume
/// </summary>
/// <param name="hover">The hover event.</param>
/// <returns>True if the hover event should be consumed.</returns>
+ /// <since_tizen> 3 </since_tizen>
public virtual bool OnHover(Hover hover)
{
return false; // Do not consume
/// </summary>
/// <param name="key">The key event.</param>
/// <returns>True if the key event should be consumed.</returns>
+ /// <since_tizen> 3 </since_tizen>
public virtual bool OnKey(Key key)
{
return false; // Do not consume
/// </summary>
/// <param name="wheel">The wheel event.</param>
/// <returns>True if the wheel event should be consumed.</returns>
+ /// <since_tizen> 3 </since_tizen>
public virtual bool OnWheel(Wheel wheel)
{
return false; // Do not consume
/// </summary>
/// <param name="size">The allocated size.</param>
/// <param name="container">The control should add views to this container that it is not able to allocate a size for.</param>
+ /// <since_tizen> 3 </since_tizen>
public virtual void OnRelayout(Vector2 size, RelayoutContainer container)
{
}
/// </summary>
/// <param name="policy">The policy being set.</param>
/// <param name="dimension">The policy is being set for.</param>
+ /// <since_tizen> 3 </since_tizen>
public virtual void OnSetResizePolicy(ResizePolicyType policy, DimensionType dimension)
{
}
/// Returns the natural size of the view.
/// </summary>
/// <returns>The view's natural size</returns>
+ /// <since_tizen> 3 </since_tizen>
public new virtual Size2D GetNaturalSize()
{
return new Size2D(0, 0);
/// <param name="child">The child view to calculate the size for.</param>
/// <param name="dimension">The dimension to calculate the size, for example, the width or the height.</param>
/// <returns>Return the calculated size for the given dimension. If more than one dimension is requested, just return the first one found.</returns>
+ /// <since_tizen> 3 </since_tizen>
public virtual float CalculateChildSize(View child, DimensionType dimension)
{
return viewWrapperImpl.CalculateChildSizeBase(child, dimension);
/// </summary>
/// <param name="width">Width to use</param>
/// <returns>The height based on the width</returns>
+ /// <since_tizen> 3 </since_tizen>
public new virtual float GetHeightForWidth(float width)
{
return viewWrapperImpl.GetHeightForWidthBase(width);
/// </summary>
/// <param name="height">Height to use</param>
/// <returns>The width based on the width</returns>
+ /// <since_tizen> 3 </since_tizen>
public new virtual float GetWidthForHeight(float height)
{
return viewWrapperImpl.GetWidthForHeightBase(height);
/// </summary>
/// <param name="dimension">The dimension(s) to check for.</param>
/// <returns>Return if the view is dependent on it's children.</returns>
+ /// <since_tizen> 3 </since_tizen>
public virtual bool RelayoutDependentOnChildren(DimensionType dimension)
{
return viewWrapperImpl.RelayoutDependentOnChildrenBase(dimension);
/// Determines if this view is dependent on it's children for relayout from the base class.
/// </summary>
/// <returns>Return true if the view is dependent on it's children.</returns>
+ /// <since_tizen> 3 </since_tizen>
public virtual bool RelayoutDependentOnChildren()
{
return viewWrapperImpl.RelayoutDependentOnChildrenBase();
/// met and the size for this object is about to be calculated for the given dimension.
/// </summary>
/// <param name="dimension">The dimension that is about to be calculated.</param>
+ /// <since_tizen> 3 </since_tizen>
public virtual void OnCalculateRelayoutSize(DimensionType dimension)
{
}
/// </summary>
/// <param name="size">The new size for the given dimension.</param>
/// <param name="dimension">The dimension that was just negotiated.</param>
+ /// <since_tizen> 3 </since_tizen>
public virtual void OnLayoutNegotiated(float size, DimensionType dimension)
{
}
/// </summary>
/// <param name="styleManager">The StyleManager object.</param>
/// <param name="change">Information denoting what has changed.</param>
+ /// <since_tizen> 3 </since_tizen>
public virtual void OnStyleChange(StyleManager styleManager, StyleChangeType change)
{
}
/// <summary>
/// Called when the control gain key input focus. Should be overridden by derived classes if they need to customize what happens when the focus is gained.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public virtual void OnFocusGained()
{
}
/// <summary>
/// Called when the control loses key input focus. Should be overridden by derived classes if they need to customize what happens when the focus is lost.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public virtual void OnFocusLost()
{
}
/// <param name="direction">The direction to move the focus towards.</param>
/// <param name="loopEnabled">Whether the focus movement should be looped within the control.</param>
/// <returns>The next keyboard focusable view in this control or an empty handle if no view can be focused.</returns>
+ /// <since_tizen> 3 </since_tizen>
public virtual View GetNextFocusableView(View currentFocusedView, View.FocusDirection direction, bool loopEnabled)
{
return new View();
/// This allows the application to preform any actions it wishes before the focus is actually moved to the chosen view.<br>
/// </summary>
/// <param name="commitedFocusableView">The commited focused view.</param>
+ /// <since_tizen> 3 </since_tizen>
public virtual void OnFocusChangeCommitted(View commitedFocusableView)
{
}
/// Derived classes should override this to perform custom actions.<br>
/// </summary>
/// <returns>True if this control supported this action.</returns>
+ /// <since_tizen> 3 </since_tizen>
public virtual bool OnKeyboardEnter()
{
return false;
/// Pan detection should be enabled via EnableGestureDetection().<br>
/// </summary>
/// <param name="pan">The pan gesture.</param>
+ /// <since_tizen> 3 </since_tizen>
public virtual void OnPan(PanGesture pan)
{
}
/// Tap detection should be enabled via EnableGestureDetection().<br>
/// </summary>
/// <param name="tap">The tap gesture.</param>
+ /// <since_tizen> 3 </since_tizen>
public virtual void OnTap(TapGesture tap)
{
}
{
}
}
-}
+}
\ No newline at end of file
/// Enumeration for the direction of the main axis in the flex container. This determines
/// the direction that flex items are laid out in the flex container.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum FlexDirectionType
{
Column,
/// Enumeration for the primary direction in which content is ordered in the flex container
/// and on which sides the ?�start??and ?�end??are.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum ContentDirectionType
{
Inherit,
/// Enumeration for the alignment of the flex items when the items do not use all available
/// space on the main axis.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum Justification
{
JustifyFlexStart,
/// Enumeration for the alignment of the flex items or lines when the items or lines do not
/// use all the available space on the cross axis.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum Alignment
{
AlignAuto,
/// Enumeration for the wrap type of the flex container when there is no enough room for
/// all the items on one flex line.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum WrapType
{
NoWrap,
/// <summary>
/// The primary direction in which content is ordered.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public ContentDirectionType ContentDirection
{
get
/// <summary>
/// The direction of the main axis which determines the direction that flex items are laid out.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public FlexDirectionType FlexDirection
{
get
/// <summary>
/// Whether the flex items should wrap or not if there is no enough room for them on one flex line.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public WrapType FlexWrap
{
get
/// <summary>
/// The alignment of flex items when the items do not use all available space on the main axis.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Justification JustifyContent
{
get
/// <summary>
/// The alignment of flex items when the items do not use all available space on the cross axis.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Alignment AlignItems
{
get
/// <summary>
/// Similar to "alignItems", but it aligns flex lines; so only works when there are multiple lines.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Alignment AlignContent
{
get
}
-}
+}
\ No newline at end of file
/// <summary>
/// The view whose resource is ready.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public View View
{
get
/// This signal is emitted after all resources required by a control are loaded and ready.<br>
/// Most resources are only loaded when the control is placed on the stage.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandler<ResourceReadyEventArgs> ResourceReady
{
add
/// <summary>
/// Creates an initialized ImageView.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public ImageView() : this(NDalicPINVOKE.ImageView_New__SWIG_0(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// If the string is empty, ImageView will not display anything.<br>
/// </summary>
/// <param name="url">The URL of the image resource to display.</param>
+ /// <since_tizen> 3 </since_tizen>
public ImageView(string url) : this(NDalicPINVOKE.ImageView_New__SWIG_2(url), true)
{
_url = url;
/// If the URL is empty, ImageView will not display anything.<br>
/// </summary>
/// <param name="url">The URL to the image resource to display.</param>
+ /// <since_tizen> 3 </since_tizen>
public void SetImage(string url)
{
_url = url;
/// Most resources are only loaded when the control is placed on the stage.<br>
/// True if the resources are loaded and ready, false otherwise.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public new bool IsResourceReady()
{
bool ret = NDalicPINVOKE.IsResourceReady(swigCPtr);
/// <summary>
/// ImageView ResourceUrl, type string.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public string ResourceUrl
{
get
/// <summary>
/// ImageView ImageMap, type PropertyMap: string if it is a URL, map otherwise
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public PropertyMap ImageMap
{
get
/// ImageView PreMultipliedAlpha, type Boolean.<br>
/// Image must be initialized.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool PreMultipliedAlpha
{
get
/// ImageView PixelArea, type Vector4 (Animatable property).<br>
/// Pixel area is a relative value with the whole image area as [0.0, 0.0, 1.0, 1.0].<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public RelativeVector4 PixelArea
{
get
/// For N-Patch images only.<br>
/// Optional.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Rectangle Border
{
get
/// For N-Patch images only.<br>
/// Optional.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool BorderOnly
{
get
}
-}
+}
\ No newline at end of file
using System;
using System.Runtime.InteropServices;
+ /// <summary>
+ /// Base class for derived Scrollables that contains actors that can be scrolled manually
+ /// (via touch) or automatically.
+ /// </summary>
public class Scrollable : View
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
{
private Vector2 _vector2;
+ /// <summary>
+ /// Vector2.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector2 Vector2
{
get
{
private Vector2 _vector2;
+ /// <summary>
+ /// Vector2.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector2 Vector2
{
get
{
private Vector2 _vector2;
+ /// <summary>
+ /// Vector2.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector2 Vector2
{
get
private DaliEventHandler<object, CompletedEventArgs> _scrollableCompletedEventHandler;
private CompletedCallbackDelegate _scrollableCompletedCallbackDelegate;
+ /// <summary>
+ /// The ScrollStarted event emitted when the Scrollable has moved (whether by touch or animation).
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event DaliEventHandler<object, StartedEventArgs> ScrollStarted
{
add
}
+ /// <summary>
+ /// The ScrollUpdated event emitted when the Scrollable has moved (whether by touch or animation).
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event DaliEventHandler<object, UpdatedEventArgs> ScrollUpdated
{
add
}
+ /// <summary>
+ /// The ScrollCompleted event emitted when the Scrollable has completed movement
+ /// (whether by touch or animation).
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event DaliEventHandler<object, CompletedEventArgs> ScrollCompleted
{
add
}
+ /// <summary>
+ /// Create an instance of scrollable.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Scrollable() : this(NDalicPINVOKE.new_Scrollable__SWIG_0(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
+ /// <summary>
+ /// Sets and Gets the color of the overshoot effect.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector4 OvershootEffectColor
{
get
SetProperty(Scrollable.Property.OVERSHOOT_EFFECT_COLOR, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Sets and Gets the speed of overshoot animation in pixels per second.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float OvershootAnimationSpeed
{
get
SetProperty(Scrollable.Property.OVERSHOOT_ANIMATION_SPEED, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Checks if scroll overshoot has been enabled or not.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool OvershootEnabled
{
get
SetProperty(Scrollable.Property.OVERSHOOT_ENABLED, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Gets and Sets OvershootSize property.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector2 OvershootSize
{
get
SetProperty(Scrollable.Property.OVERSHOOT_SIZE, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Gets and Sets ScrollToAlphaFunction property.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int ScrollToAlphaFunction
{
get
SetProperty(Scrollable.Property.SCROLL_TO_ALPHA_FUNCTION, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Gets and Sets ScrollRelativePosition property.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector2 ScrollRelativePosition
{
get
SetProperty(Scrollable.Property.SCROLL_RELATIVE_POSITION, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Gets and Sets ScrollPositionMin property.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector2 ScrollPositionMin
{
get
SetProperty(Scrollable.Property.SCROLL_POSITION_MIN, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Gets and Sets ScrollPositionMax property.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector2 ScrollPositionMax
{
get
SetProperty(Scrollable.Property.SCROLL_POSITION_MAX, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Gets and Sets CanScrollVertical property.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool CanScrollVertical
{
get
SetProperty(Scrollable.Property.CAN_SCROLL_VERTICAL, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Gets and Sets CanScrollHorizontal property.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool CanScrollHorizontal
{
get
}
-}
+}
\ No newline at end of file
/// <param name="columnIndex">The column index initialized.</param>
/// <param name="rowSpan">The row span initialized.</param>
/// <param name="columnSpan">The column span initialized.</param>
+ /// <since_tizen> 3 </since_tizen>
public CellPosition(uint rowIndex, uint columnIndex, uint rowSpan, uint columnSpan) : this(NDalicPINVOKE.new_TableView_CellPosition__SWIG_0(rowIndex, columnIndex, rowSpan, columnSpan), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// <param name="rowIndex">The row index initialized.</param>
/// <param name="columnIndex">The column index initialized.</param>
/// <param name="rowSpan">The row span initialized.</param>
+ /// <since_tizen> 3 </since_tizen>
public CellPosition(uint rowIndex, uint columnIndex, uint rowSpan) : this(NDalicPINVOKE.new_TableView_CellPosition__SWIG_1(rowIndex, columnIndex, rowSpan), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// </summary>
/// <param name="rowIndex">The row index initialized.</param>
/// <param name="columnIndex">The column index initialized.</param>
+ /// <since_tizen> 3 </since_tizen>
public CellPosition(uint rowIndex, uint columnIndex) : this(NDalicPINVOKE.new_TableView_CellPosition__SWIG_2(rowIndex, columnIndex), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// The constructor to initialize values to default for convenience.
/// </summary>
/// <param name="rowIndex">The row index initialized.</param>
+ /// <since_tizen> 3 </since_tizen>
public CellPosition(uint rowIndex) : this(NDalicPINVOKE.new_TableView_CellPosition__SWIG_3(rowIndex), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// <summary>
/// The default constructor.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public CellPosition() : this(NDalicPINVOKE.new_TableView_CellPosition__SWIG_4(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// <summary>
/// The index of a row.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public uint rowIndex
{
set
/// <summary>
/// The index of a column.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public uint columnIndex
{
set
/// <summary>
/// The span of a row.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public uint rowSpan
{
set
/// <summary>
/// The span of a column.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public uint columnSpan
{
set
/// </summary>
/// <param name="initialRows">Initial rows for the table.</param>
/// <param name="initialColumns">Initial columns for the table.</param>
+ /// <since_tizen> 3 </since_tizen>
public TableView(uint initialRows, uint initialColumns) : this(NDalicPINVOKE.TableView_New(initialRows, initialColumns), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// The Copy constructor. Creates another handle that points to the same real object.
/// </summary>
/// <param name="handle">Handle to copy from.</param>
+ /// <since_tizen> 3 </since_tizen>
public TableView(TableView handle) : this(NDalicPINVOKE.new_TableView__SWIG_1(TableView.getCPtr(handle)), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// <param name="child">The child to add.</param>
/// <param name="position">The position for the child.</param>
/// <returns>True if the addition succeeded, and false if the cell is already occupied.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool AddChild(View child, TableView.CellPosition position)
{
bool ret = NDalicPINVOKE.TableView_AddChild(swigCPtr, View.getCPtr(child), TableView.CellPosition.getCPtr(position));
/// </summary>
/// <param name="position">The position in the table.</param>
/// <returns>Child that was in the cell or an uninitialized handle.</returns>
+ /// <since_tizen> 3 </since_tizen>
public View GetChildAt(TableView.CellPosition position)
{
IntPtr cPtr = NDalicPINVOKE.TableView_GetChildAt(swigCPtr, TableView.CellPosition.getCPtr(position));
/// </summary>
/// <param name="position">The position for the child to remove.</param>
/// <returns>Child that was removed or an uninitialized handle.</returns>
+ /// <since_tizen> 3 </since_tizen>
public View RemoveChildAt(TableView.CellPosition position)
{
IntPtr cPtr = NDalicPINVOKE.TableView_RemoveChildAt(swigCPtr, TableView.CellPosition.getCPtr(position));
/// <param name="child">The child to search for.</param>
/// <param name="position">The position for the child.</param>
/// <returns>True if the child was included in this TableView.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool FindChildPosition(View child, TableView.CellPosition position)
{
bool ret = NDalicPINVOKE.TableView_FindChildPosition(swigCPtr, View.getCPtr(child), TableView.CellPosition.getCPtr(position));
/// Inserts a new row to the given index.
/// </summary>
/// <param name="rowIndex">The rowIndex of the new row.</param>
+ /// <since_tizen> 3 </since_tizen>
public void InsertRow(uint rowIndex)
{
NDalicPINVOKE.TableView_InsertRow(swigCPtr, rowIndex);
/// Removed elements are deleted.<br>
/// </summary>
/// <param name="rowIndex">The rowIndex of the row to delete.</param>
+ /// <since_tizen> 3 </since_tizen>
public void DeleteRow(uint rowIndex)
{
NDalicPINVOKE.TableView_DeleteRow__SWIG_0(swigCPtr, rowIndex);
/// Inserts a new column to the given index.
/// </summary>
/// <param name="columnIndex">The columnIndex of the new column.</param>
+ /// <since_tizen> 3 </since_tizen>
public void InsertColumn(uint columnIndex)
{
NDalicPINVOKE.TableView_InsertColumn(swigCPtr, columnIndex);
/// Removed elements are deleted.<br>
/// </summary>
/// <param name="columnIndex">The columnIndex of the column to delete.</param>
+ /// <since_tizen> 3 </since_tizen>
public void DeleteColumn(uint columnIndex)
{
NDalicPINVOKE.TableView_DeleteColumn__SWIG_0(swigCPtr, columnIndex);
/// </summary>
/// <param name="rows">The rows for the table.</param>
/// <param name="columns">The columns for the table.</param>
+ /// <since_tizen> 3 </since_tizen>
public void Resize(uint rows, uint columns)
{
NDalicPINVOKE.TableView_Resize__SWIG_0(swigCPtr, rows, columns);
/// Sets the horizontal and the vertical padding between cells.
/// </summary>
/// <param name="padding">Width and height.</param>
+ /// <since_tizen> 3 </since_tizen>
public void SetCellPadding(Size2D padding)
{
NDalicPINVOKE.TableView_SetCellPadding(swigCPtr, Size2D.getCPtr(padding));
/// Gets the current padding as width and height.
/// </summary>
/// <returns>The current padding as width and height.</returns>
+ /// <since_tizen> 3 </since_tizen>
public Vector2 GetCellPadding()
{
Vector2 ret = new Vector2(NDalicPINVOKE.TableView_GetCellPadding(swigCPtr), true);
/// Specifies this row as fitting its height to its children.
/// </summary>
/// <param name="rowIndex">The row to set.</param>
+ /// <since_tizen> 3 </since_tizen>
public void SetFitHeight(uint rowIndex)
{
NDalicPINVOKE.TableView_SetFitHeight(swigCPtr, rowIndex);
/// </summary>
/// <param name="rowIndex">The row to check.</param>
/// <returns>True if the row is fit.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool IsFitHeight(uint rowIndex)
{
bool ret = NDalicPINVOKE.TableView_IsFitHeight(swigCPtr, rowIndex);
/// Specifies this column as fitting its width to its children.
/// </summary>
/// <param name="columnIndex">The column to set.</param>
+ /// <since_tizen> 3 </since_tizen>
public void SetFitWidth(uint columnIndex)
{
NDalicPINVOKE.TableView_SetFitWidth(swigCPtr, columnIndex);
/// </summary>
/// <param name="columnIndex">The column to check.</param>
/// <returns>True if the column is fit.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool IsFitWidth(uint columnIndex)
{
bool ret = NDalicPINVOKE.TableView_IsFitWidth(swigCPtr, columnIndex);
/// </summary>
/// <param name="rowIndex">The rowIndex for row with a fixed height.</param>
/// <param name="height">The height in world coordinate units.</param>
+ /// <since_tizen> 3 </since_tizen>
public void SetFixedHeight(uint rowIndex, float height)
{
NDalicPINVOKE.TableView_SetFixedHeight(swigCPtr, rowIndex, height);
/// </summary>
/// <param name="rowIndex">The row index with a fixed height.</param>
/// <returns>height The height in world coordinate units.</returns>
+ /// <since_tizen> 3 </since_tizen>
public float GetFixedHeight(uint rowIndex)
{
float ret = NDalicPINVOKE.TableView_GetFixedHeight(swigCPtr, rowIndex);
/// </summary>
/// <param name="rowIndex">The rowIndex for row with a relative height.</param>
/// <param name="heightPercentage">The height percentage between 0.0f and 1.0f.</param>
+ /// <since_tizen> 3 </since_tizen>
public void SetRelativeHeight(uint rowIndex, float heightPercentage)
{
NDalicPINVOKE.TableView_SetRelativeHeight(swigCPtr, rowIndex, heightPercentage);
/// </summary>
/// <param name="rowIndex">The row index with a relative height.</param>
/// <returns>Height in percentage units, between 0.0f and 1.0f.</returns>
+ /// <since_tizen> 3 </since_tizen>
public float GetRelativeHeight(uint rowIndex)
{
float ret = NDalicPINVOKE.TableView_GetRelativeHeight(swigCPtr, rowIndex);
/// </summary>
/// <param name="columnIndex">The columnIndex for column with a fixed width.</param>
/// <param name="width">The width in world coordinate units.</param>
+ /// <since_tizen> 3 </since_tizen>
public void SetFixedWidth(uint columnIndex, float width)
{
NDalicPINVOKE.TableView_SetFixedWidth(swigCPtr, columnIndex, width);
/// </summary>
/// <param name="columnIndex">The column index with a fixed width.</param>
/// <returns>Width in world coordinate units.</returns>
+ /// <since_tizen> 3 </since_tizen>
public float GetFixedWidth(uint columnIndex)
{
float ret = NDalicPINVOKE.TableView_GetFixedWidth(swigCPtr, columnIndex);
/// </summary>
/// <param name="columnIndex">The columnIndex for column with a fixed width.</param>
/// <param name="widthPercentage">The widthPercentage between 0.0f and 1.0f.</param>
+ /// <since_tizen> 3 </since_tizen>
public void SetRelativeWidth(uint columnIndex, float widthPercentage)
{
NDalicPINVOKE.TableView_SetRelativeWidth(swigCPtr, columnIndex, widthPercentage);
/// </summary>
/// <param name="columnIndex">The column index with a relative width.</param>
/// <returns>Width in percentage units, between 0.0f and 1.0f.</returns>
+ /// <since_tizen> 3 </since_tizen>
public float GetRelativeWidth(uint columnIndex)
{
float ret = NDalicPINVOKE.TableView_GetRelativeWidth(swigCPtr, columnIndex);
/// <param name="position">The cell to set alignment on.</param>
/// <param name="horizontal">The horizontal alignment.</param>
/// <param name="vertical">The vertical alignment.</param>
+ /// <since_tizen> 3 </since_tizen>
public void SetCellAlignment(TableView.CellPosition position, HorizontalAlignmentType horizontal, VerticalAlignmentType vertical)
{
NDalicPINVOKE.TableView_SetCellAlignment(swigCPtr, TableView.CellPosition.getCPtr(position), (int)horizontal, (int)vertical);
/// <summary>
/// Enumeration for describing how the size of a row or column has been set.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum LayoutPolicy
{
Fixed,
/// <summary>
/// The amount of rows in the table.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int Rows
{
get
/// <summary>
/// The amount of columns in the table.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int Columns
{
get
/// <summary>
/// Padding between cells.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector2 CellPadding
{
get
/// <summary>
/// The number of layout rows.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public PropertyMap LayoutRows
{
get
/// <summary>
/// The number of layout columns.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public PropertyMap LayoutColumns
{
get
}
}
-}
+}
\ No newline at end of file
/// <summary>
/// TextEditor - is the texteditor control which has the text contents changed.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public TextEditor TextEditor
{
get
/// An event for the TextChanged signal which can be used to subscribe or unsubscribe the event handler
/// provided by the user. The TextChanged signal is emitted when the text changes.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandler<TextChangedEventArgs> TextChanged
{
add
/// <summary>
/// TextEditor - is the texteditor control which has the scroll state changed.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public TextEditor TextEditor
{
get
/// <summary>
/// ScrollState - is the texteditor control scroll state.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public ScrollState ScrollState
{
get
/// Event for the ScrollStateChanged signal which can be used to subscribe or unsubscribe the event handler
/// provided by the user. The ScrollStateChanged signal is emitted when the scroll state changes.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandler<ScrollStateChangedEventArgs> ScrollStateChanged
{
add
/// <summary>
/// Creates the TextEditor control.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public TextEditor() : this(NDalicPINVOKE.TextEditor_New(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// <exception cref='ArgumentNullException'>
/// ResourceManager about multilingual is null.
/// </exception>
+ /// <since_tizen> 4 </since_tizen>
public string TranslatableText
{
get
/// <exception cref='ArgumentNullException'>
/// ResourceManager about multilingual is null.
/// </exception>
+ /// <since_tizen> 4 </since_tizen>
public string TranslatablePlaceholderText
{
get
}
/// The Text property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public string Text
{
get
/// <summary>
/// The TextColor property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector4 TextColor
{
get
/// <summary>
/// The FontFamily property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public string FontFamily
{
get
/// <summary>
/// The FontStyle property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public PropertyMap FontStyle
{
get
/// <summary>
/// The PointSize property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float PointSize
{
get
/// <summary>
/// The HorizontalAlignment property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public HorizontalAlignment HorizontalAlignment
{
get
/// <summary>
/// The ScrollThreshold property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float ScrollThreshold
{
get
/// <summary>
/// The ScrollSpeed property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float ScrollSpeed
{
get
/// <summary>
/// The PrimaryCursorColor property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector4 PrimaryCursorColor
{
get
/// <summary>
/// The SecondaryCursorColor property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector4 SecondaryCursorColor
{
get
/// <summary>
/// The EnableCursorBlink property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool EnableCursorBlink
{
get
/// <summary>
/// The CursorBlinkInterval property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float CursorBlinkInterval
{
get
/// <summary>
/// The CursorBlinkDuration property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float CursorBlinkDuration
{
get
/// <summary>
/// The CursorWidth property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int CursorWidth
{
get
/// <summary>
/// The GrabHandleImage property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public string GrabHandleImage
{
get
/// <summary>
/// The GrabHandlePressedImage property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public string GrabHandlePressedImage
{
get
/// <summary>
/// The SelectionHandleImageLeft property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public PropertyMap SelectionHandleImageLeft
{
get
/// <summary>
/// The SelectionHandleImageRight property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public PropertyMap SelectionHandleImageRight
{
get
/// <summary>
/// The SelectionHandlePressedImageLeft property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public PropertyMap SelectionHandlePressedImageLeft
{
get
/// <summary>
/// The SelectionHandlePressedImageRight property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public PropertyMap SelectionHandlePressedImageRight
{
get
/// <summary>
/// The SelectionHandleMarkerImageLeft property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public PropertyMap SelectionHandleMarkerImageLeft
{
get
/// <summary>
/// The SelectionHandleMarkerImageRight property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public PropertyMap SelectionHandleMarkerImageRight
{
get
/// <summary>
/// The SelectionHighlightColor property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector4 SelectionHighlightColor
{
get
/// <summary>
/// The DecorationBoundingBox property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Rectangle DecorationBoundingBox
{
get
/// <summary>
/// The EnableMarkup property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool EnableMarkup
{
get
/// <summary>
/// The InputColor property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector4 InputColor
{
get
/// <summary>
/// The InputFontFamily property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public string InputFontFamily
{
get
/// <summary>
/// The InputFontStyle property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public PropertyMap InputFontStyle
{
get
/// <summary>
/// The InputPointSize property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float InputPointSize
{
get
/// <summary>
/// The LineSpacing property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float LineSpacing
{
get
/// <summary>
/// The InputLineSpacing property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float InputLineSpacing
{
get
/// <summary>
/// The Underline property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public PropertyMap Underline
{
get
/// <summary>
/// The InputUnderline property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public string InputUnderline
{
get
/// <summary>
/// The Shadow property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public PropertyMap Shadow
{
get
/// <summary>
/// The InputShadow property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public string InputShadow
{
get
/// <summary>
/// The Emboss property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public string Emboss
{
get
/// <summary>
/// The InputEmboss property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public string InputEmboss
{
get
/// <summary>
/// The Outline property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public string Outline
{
get
/// <summary>
/// The InputOutline property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public string InputOutline
{
get
/// <summary>
/// The SmoothScroll property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool SmoothScroll
{
get
/// <summary>
/// The SmoothScrollDuration property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float SmoothScrollDuration
{
get
/// <summary>
/// The EnableScrollBar property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool EnableScrollBar
{
get
/// <summary>
/// The ScrollBarShowDuration property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float ScrollBarShowDuration
{
get
/// <summary>
/// The ScrollBarFadeDuration property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float ScrollBarFadeDuration
{
get
/// <summary>
/// The PixelSize property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float PixelSize
{
get
/// <summary>
/// The line count of the text.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int LineCount
{
get
/// <summary>
/// The text to display when the TextEditor is empty and inactive.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public string PlaceholderText
{
get
/// <summary>
/// The Placeholder text color.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Color PlaceholderTextColor
{
get
/// <summary>
/// The EnableSelection property.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public bool EnableSelection
{
get
/// editor.Placeholder = propertyMap;
/// </code>
/// </example>
+ /// <since_tizen> 4 </since_tizen>
public Tizen.NUI.PropertyMap Placeholder
{
get
/// The LineWrapMode property.<br>
/// The line wrap mode when the text lines over the layout width.<br>
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public LineWrapMode LineWrapMode
{
get
}
-}
+}
\ No newline at end of file
/// <summary>
/// TextField.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public TextField TextField
{
get
/// <summary>
/// TextField.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public TextField TextField
{
get
/// <summary>
/// The TextChanged event.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandler<TextChangedEventArgs> TextChanged
{
add
/// <summary>
/// The MaxLengthReached event.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandler<MaxLengthReachedEventArgs> MaxLengthReached
{
add
/// <summary>
/// Creates the TextField control.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public TextField() : this(NDalicPINVOKE.TextField_New(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// <exception cref='ArgumentNullException'>
/// ResourceManager about multilingual is null.
/// </exception>
+ /// <since_tizen> 4 </since_tizen>
public string TranslatableText
{
get
/// <exception cref='ArgumentNullException'>
/// ResourceManager about multilingual is null.
/// </exception>
+ /// <since_tizen> 4 </since_tizen>
public string TranslatablePlaceholderText
{
get
}
/// The Text property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public string Text
{
get
/// <summary>
/// The PlaceholderText property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public string PlaceholderText
{
get
/// <summary>
/// The PlaceholderTextFocused property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public string PlaceholderTextFocused
{
get
/// <summary>
/// The FontFamily property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public string FontFamily
{
get
/// <summary>
/// The FontStyle property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public PropertyMap FontStyle
{
get
/// <summary>
/// The PointSize property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float PointSize
{
get
/// <summary>
/// The MaxLength property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int MaxLength
{
get
/// <summary>
/// The ExceedPolicy property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int ExceedPolicy
{
get
/// <summary>
/// The HorizontalAlignment property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public HorizontalAlignment HorizontalAlignment
{
get
/// <summary>
/// The VerticalAlignment property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public VerticalAlignment VerticalAlignment
{
get
/// <summary>
/// The TextColor property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Color TextColor
{
get
/// <summary>
/// The PlaceholderTextColor property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector4 PlaceholderTextColor
{
get
/// <summary>
/// The ShadowOffset property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector2 ShadowOffset
{
get
/// <summary>
/// The ShadowColor property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector4 ShadowColor
{
get
/// <summary>
/// The PrimaryCursorColor property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector4 PrimaryCursorColor
{
get
/// <summary>
/// The SecondaryCursorColor property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector4 SecondaryCursorColor
{
get
/// <summary>
/// The EnableCursorBlink property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool EnableCursorBlink
{
get
/// <summary>
/// The CursorBlinkInterval property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float CursorBlinkInterval
{
get
/// <summary>
/// The CursorBlinkDuration property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float CursorBlinkDuration
{
get
/// <summary>
/// The CursorWidth property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int CursorWidth
{
get
/// <summary>
/// The GrabHandleImage property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public string GrabHandleImage
{
get
/// <summary>
/// The GrabHandlePressedImage property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public string GrabHandlePressedImage
{
get
/// <summary>
/// The ScrollThreshold property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float ScrollThreshold
{
get
/// <summary>
/// The ScrollSpeed property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float ScrollSpeed
{
get
/// <summary>
/// The SelectionHandleImageLeft property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public PropertyMap SelectionHandleImageLeft
{
get
/// <summary>
/// The SelectionHandleImageRight property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public PropertyMap SelectionHandleImageRight
{
get
/// <summary>
/// The SelectionHandlePressedImageLeft property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public PropertyMap SelectionHandlePressedImageLeft
{
get
/// <summary>
/// The SelectionHandlePressedImageRight property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public PropertyMap SelectionHandlePressedImageRight
{
get
/// <summary>
/// The SelectionHandleMarkerImageLeft property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public PropertyMap SelectionHandleMarkerImageLeft
{
get
/// <summary>
/// The SelectionHandleMarkerImageRight property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public PropertyMap SelectionHandleMarkerImageRight
{
get
/// <summary>
/// The SelectionHighlightColor property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector4 SelectionHighlightColor
{
get
/// <summary>
/// The DecorationBoundingBox property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Rectangle DecorationBoundingBox
{
get
/// <summary>
/// The InputMethodSettings property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public PropertyMap InputMethodSettings
{
get
/// <summary>
/// The InputColor property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector4 InputColor
{
get
/// <summary>
/// The EnableMarkup property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool EnableMarkup
{
get
/// <summary>
/// The InputFontFamily property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public string InputFontFamily
{
get
/// <summary>
/// The InputFontStyle property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public PropertyMap InputFontStyle
{
get
/// <summary>
/// The InputPointSize property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float InputPointSize
{
get
/// <summary>
/// The Underline property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public PropertyMap Underline
{
get
/// <summary>
/// The InputUnderline property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public string InputUnderline
{
get
/// <summary>
/// The Shadow property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public PropertyMap Shadow
{
get
/// <summary>
/// The InputShadow property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public string InputShadow
{
get
/// <summary>
/// The Emboss property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public string Emboss
{
get
/// <summary>
/// The InputEmboss property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public string InputEmboss
{
get
/// <summary>
/// The Outline property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public string Outline
{
get
/// <summary>
/// The InputOutline property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public string InputOutline
{
get
/// <summary>
/// The HiddenInputSettings property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Tizen.NUI.PropertyMap HiddenInputSettings
{
get
/// <summary>
/// The PixelSize property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float PixelSize
{
get
/// <summary>
/// The Enable selection property.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public bool EnableSelection
{
get
/// field.Placeholder = propertyMap;
/// </code>
/// </example>
+ /// <since_tizen> 4 </since_tizen>
public Tizen.NUI.PropertyMap Placeholder
{
get
}
-}
+}
\ No newline at end of file
/// <summary>
/// Creates the TextLabel control.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public TextLabel() : this(NDalicPINVOKE.TextLabel_New__SWIG_0(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// Creates the TextLabel control.
/// </summary>
/// <param name="text">The text to display</param>
+ /// <since_tizen> 3 </since_tizen>
public TextLabel(string text) : this(NDalicPINVOKE.TextLabel_New__SWIG_1(text), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// <exception cref='ArgumentNullException'>
/// ResourceManager about multilingual is null.
/// </exception>
+ /// <since_tizen> 4 </since_tizen>
public string TranslatableText
{
get
/// The Text property.<br>
/// The text to display in the UTF-8 format.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public string Text
{
get
/// The FontFamily property.<br>
/// The requested font family to use.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public string FontFamily
{
get
/// The FontStyle property.<br>
/// The requested font style to use.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public PropertyMap FontStyle
{
get
/// The PointSize property.<br>
/// The size of font in points.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float PointSize
{
get
/// The MultiLine property.<br>
/// The single-line or multi-line layout option.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool MultiLine
{
get
/// The HorizontalAlignment property.<br>
/// The line horizontal alignment.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public HorizontalAlignment HorizontalAlignment
{
get
/// The VerticalAlignment property.<br>
/// The line vertical alignment.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public VerticalAlignment VerticalAlignment
{
get
/// The TextColor property.<br>
/// The color of the text.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Color TextColor
{
get
/// The ShadowOffset property.<br>
/// The drop shadow offset 0 indicates no shadow.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector2 ShadowOffset
{
get
/// The ShadowColor property.<br>
/// The color of a drop shadow.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector4 ShadowColor
{
get
/// The UnderlineEnabled property.<br>
/// The underline enabled flag.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool UnderlineEnabled
{
get
/// The UnderlineColor property.<br>
/// Overrides the underline height from font metrics.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector4 UnderlineColor
{
get
/// The UnderlineHeight property.<br>
/// Overrides the underline height from font metrics.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float UnderlineHeight
{
get
/// The EnableMarkup property.<br>
/// Whether the mark-up processing is enabled.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool EnableMarkup
{
get
/// The EnableAutoScroll property.<br>
/// Starts or stops auto scrolling.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool EnableAutoScroll
{
get
/// The AutoScrollSpeed property.<br>
/// Sets the speed of scrolling in pixels per second.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int AutoScrollSpeed
{
get
/// The AutoScrollLoopCount property.<br>
/// Number of complete loops when scrolling enabled.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int AutoScrollLoopCount
{
get
/// The AutoScrollGap property.<br>
/// Gap before scrolling wraps.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float AutoScrollGap
{
get
/// The LineSpacing property.<br>
/// The default extra space between lines in points.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float LineSpacing
{
get
/// The Underline property.<br>
/// The default underline parameters.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public PropertyMap Underline
{
get
/// The Shadow property.<br>
/// The default shadow parameters.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public PropertyMap Shadow
{
get
/// The Emboss property.<br>
/// The default emboss parameters.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public string Emboss
{
get
/// The Outline property.<br>
/// The default outline parameters.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public string Outline
{
get
/// The PixelSize property.<br>
/// The size of font in pixels.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float PixelSize
{
get
/// The Ellipsis property.<br>
/// Enable or disable the ellipsis.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool Ellipsis
{
get
/// The AutoScrollLoopDelay property.<br>
/// Do something.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float AutoScrollLoopDelay
{
get
/// The AutoScrollStopMode property.<br>
/// Do something.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public AutoScrollStopMode AutoScrollStopMode
{
get
/// Animation framework can be used to change the color of the text when not using mark up.<br>
/// Not possible when text is auto scrolling. <br>
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public Color TextColorAnimatable
{
get
/// The line count of the text.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public int LineCount
{
get
/// The LineWrapMode property.<br>
/// line wrap mode when the text lines over layout width.<br>
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public LineWrapMode LineWrapMode
{
get
}
}
}
-}
+}
\ No newline at end of file
/// <summary>
/// The view for video playback and display.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public VideoView VideoView
{
get
/// (in the type of FinishedEventHandler-DaliEventHandler<object,FinishedEventArgs>) provided by the user.<br>
/// The finished signal is emitted when a video playback has finished.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandler<FinishedEventArgs> Finished
{
add
/// <summary>
/// Creates an initialized VideoView.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public VideoView() : this(NDalicPINVOKE.VideoView_New__SWIG_0(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// If the string is empty, VideoView will not display anything.<br>
/// </summary>
/// <param name="url">The URL of the video resource to display.</param>
+ /// <since_tizen> 3 </since_tizen>
public VideoView(string url) : this(NDalicPINVOKE.VideoView_New__SWIG_1(url), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// <summary>
/// Starts the video playback.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public void Play()
{
NDalicPINVOKE.VideoView_Play(swigCPtr);
/// <summary>
/// Pauses the video playback.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public void Pause()
{
NDalicPINVOKE.VideoView_Pause(swigCPtr);
/// <summary>
/// Stops the video playback.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public void Stop()
{
NDalicPINVOKE.VideoView_Stop(swigCPtr);
/// Seeks forward by the specified number of milliseconds.
/// </summary>
/// <param name="millisecond">The position for forward playback.</param>
+ /// <since_tizen> 3 </since_tizen>
public void Forward(int millisecond)
{
NDalicPINVOKE.VideoView_Forward(swigCPtr, millisecond);
/// Seeks backward by the specified number of milliseconds.
/// </summary>
/// <param name="millisecond">The position for backward playback.</param>
+ /// <since_tizen> 3 </since_tizen>
public void Backward(int millisecond)
{
NDalicPINVOKE.VideoView_Backward(swigCPtr, millisecond);
/// <summary>
/// Video file URL as string type or PropertyMap.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public PropertyMap Video
{
get
/// <summary>
/// The looping status, true or false.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool Looping
{
get
/// <summary>
/// The mute status, true or false.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool Muted
{
get
/// <summary>
/// The left and the right volume scalar as float type, PropertyMap with two values ( "left" and "right" ).
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public PropertyMap Volume
{
get
}
-}
+}
\ No newline at end of file
/// </summary>
/// <seealso cref="Container.Add">
/// </seealso>
+ /// <since_tizen> 4 </since_tizen>
public override void Add(View child)
{
NDalicPINVOKE.Actor_Add(swigCPtr, View.getCPtr(child));
/// </summary>
/// <seealso cref="Container.Remove">
/// </seealso>
+ /// <since_tizen> 4 </since_tizen>
public override void Remove(View child)
{
NDalicPINVOKE.Actor_Remove(swigCPtr, View.getCPtr(child));
/// </summary>
/// <seealso cref="Container.GetChildAt">
/// </seealso>
+ /// <since_tizen> 4 </since_tizen>
public override View GetChildAt(uint index)
{
IntPtr cPtr = NDalicPINVOKE.Actor_GetChildAt(swigCPtr, index);
/// An event for the KeyInputFocusGained signal which can be used to subscribe or unsubscribe the event handler provided by the user.<br>
/// The KeyInputFocusGained signal is emitted when the control gets the key input focus.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandler FocusGained
{
add
/// An event for the KeyInputFocusLost signal which can be used to subscribe or unsubscribe the event handler provided by the user.<br>
/// The KeyInputFocusLost signal is emitted when the control loses the key input focus.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandler FocusLost
{
add
/// <summary>
/// Key - is the key sent to the view.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Key Key
{
get
/// An event for the KeyPressed signal which can be used to subscribe or unsubscribe the event handler provided by the user.<br>
/// The KeyPressed signal is emitted when the key event is received.<br>
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public event EventHandlerWithReturnType<object, KeyEventArgs, bool> KeyEvent
{
add
/// An event for the OnRelayout signal which can be used to subscribe or unsubscribe the event handler.<br>
/// The OnRelayout signal is emitted after the size has been set on the view during relayout.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandler Relayout
{
add
/// <summary>
/// Touch - contains the information of touch points.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Touch Touch
{
get
/// An event for the touched signal which can be used to subscribe or unsubscribe the event handler provided by the user.<br>
/// The touched signal is emitted when the touch input is received.<br>
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public event EventHandlerWithReturnType<object, TouchEventArgs, bool> TouchEvent
{
add
/// <summary>
/// Hover - contains touch points that represent the points that are currently being hovered or the points where a hover has stopped.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Hover Hover
{
get
/// An event for the hovered signal which can be used to subscribe or unsubscribe the event handler provided by the user.<br>
/// The hovered signal is emitted when the hover input is received.<br>
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public event EventHandlerWithReturnType<object, HoverEventArgs, bool> HoverEvent
{
add
/// <summary>
/// WheelEvent - store a wheel rolling type: MOUSE_WHEEL or CUSTOM_WHEEL.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Wheel Wheel
{
get
/// An event for the WheelMoved signal which can be used to subscribe or unsubscribe the event handler provided by the user.<br>
/// The WheelMoved signal is emitted when the wheel event is received.<br>
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public event EventHandlerWithReturnType<object, WheelEventArgs, bool> WheelEvent
{
add
/// An event for the OnWindow signal which can be used to subscribe or unsubscribe the event handler.<br>
/// The OnWindow signal is emitted after the view has been connected to the window.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandler AddedToWindow
{
add
/// An event for the OffWindow signal, which can be used to subscribe or unsubscribe the event handler.<br>
/// OffWindow signal is emitted after the view has been disconnected from the window.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandler RemovedFromWindow
{
add
/// <summary>
/// The view, or child of view, whose visibility has changed.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public View View
{
get
/// <summary>
/// Whether the view is now visible or not.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool Visibility
{
get
/// <summary>
/// Whether the view's visible property has changed or a parent's.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public VisibilityChangeType Type
{
get
/// An event for visibility change which can be used to subscribe or unsubscribe the event handler.<br>
/// This signal is emitted when the visible property of this or a parent view is changed.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandler<VisibilityChangedEventArgs> VisibilityChanged
{
add
/// <summary>
/// The view, or child of view, whose layout direction has changed.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public View View
{
get
/// <summary>
/// Whether the view's layout direction property has changed or a parent's.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public ViewLayoutDirectionType Type
{
get
/// Event for layout direction change which can be used to subscribe/unsubscribe the event handler.<br>
/// This signal is emitted when the layout direction property of this or a parent view is changed.<br>
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public event EventHandler<LayoutDirectionChangedEventArgs> LayoutDirectionChanged
{
add
/// An event for the ResourcesLoadedSignal signal which can be used to subscribe or unsubscribe the event handler provided by the user.<br>
/// This signal is emitted after all resources required by a view are loaded and ready.<br>
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public event EventHandler ResourcesLoaded
{
add
/// <summary>
/// Describes the direction to move the focus towards.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum FocusDirection
{
Left,
/// <summary>
/// Creates a new instance of a view.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public View() : this(NDalicPINVOKE.View_New(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// Queries whether the view has a focus.
/// </summary>
/// <returns>True if this view has a focus.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool HasFocus()
{
bool ret = NDalicPINVOKE.View_HasKeyInputFocus(swigCPtr);
/// Sets the name of the style to be applied to the view.
/// </summary>
/// <param name="styleName">A string matching a style described in a stylesheet.</param>
+ /// <since_tizen> 3 </since_tizen>
public void SetStyleName(string styleName)
{
NDalicPINVOKE.View_SetStyleName(swigCPtr, styleName);
/// Retrieves the name of the style to be applied to the view (if any).
/// </summary>
/// <returns>A string matching a style, or an empty string.</returns>
+ /// <since_tizen> 3 </since_tizen>
public string GetStyleName()
{
string ret = NDalicPINVOKE.View_GetStyleName(swigCPtr);
/// <summary>
/// Clears the background.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public void ClearBackground()
{
NDalicPINVOKE.View_ClearBackground(swigCPtr);
/// <summary>
/// The StyleName, type string.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public string StyleName
{
get
/// <summary>
/// The mutually exclusive with BACKGROUND_IMAGE & BACKGROUND type Vector4.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Color BackgroundColor
{
get
/// Creates an animation to animate the background color visual. If there is no
/// background visual, creates one with transparent black as it's mixColor.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public Animation AnimateBackgroundColor( object destinationValue,
int startTime,
int endTime,
/// <summary>
/// Creates an animation to animate the mixColor of the named visual.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public Animation AnimateColor( string targetVisual, object destinationColor, int startTime, int endTime, AlphaFunction.BuiltinFunctions? alphaFunction = null, object initialColor = null )
{
Animation animation = null;
/// <summary>
/// The mutually exclusive with BACKGROUND_COLOR & BACKGROUND type Map.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public string BackgroundImage
{
get
/// <summary>
/// The current state of the view.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public States State
{
get
/// <summary>
/// The current sub state of the view.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public States SubState
{
get
/// <summary>
/// Displays a tooltip
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Tizen.NUI.PropertyMap Tooltip
{
get
/// <summary>
/// Displays a tooltip as a text.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public string TooltipText
{
set
/// The proportion of the free space in the container, the flex item will receive.<br>
/// If all items in the container set this property, their sizes will be proportional to the specified flex factor.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float Flex
{
get
/// The Child property of FlexContainer.<br>
/// The alignment of the flex item along the cross axis, which, if set, overides the default alignment for all items in the container.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int AlignSelf
{
get
/// The Child property of FlexContainer.<br>
/// The space around the flex item.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector4 FlexMargin
{
get
/// <summary>
/// The top-left cell this child occupies, if not set, the first available cell is used.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector2 CellIndex
{
get
/// <summary>
/// The number of rows this child occupies, if not set, the default value is 1.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float RowSpan
{
get
/// <summary>
/// The number of columns this child occupies, if not set, the default value is 1.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float ColumnSpan
{
get
/// <summary>
/// The horizontal alignment of this child inside the cells, if not set, the default value is 'left'.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Tizen.NUI.HorizontalAlignmentType CellHorizontalAlignment
{
get
/// <summary>
/// The vertical alignment of this child inside the cells, if not set, the default value is 'top'.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Tizen.NUI.VerticalAlignmentType CellVerticalAlignment
{
get
/// This will return null if not set.<br>
/// This will also return null if the specified left focusable view is not on a window.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public View LeftFocusableView
{
// As native side will be only storing IDs so need a logic to convert View to ID and vice-versa.
/// This will return null if not set.<br>
/// This will also return null if the specified right focusable view is not on a window.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public View RightFocusableView
{
// As native side will be only storing IDs so need a logic to convert View to ID and vice-versa.
/// This will return null if not set.<br>
/// This will also return null if the specified up focusable view is not on a window.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public View UpFocusableView
{
// As native side will be only storing IDs so need a logic to convert View to ID and vice-versa.
/// This will return null if not set.<br>
/// This will also return null if the specified down focusable view is not on a window.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public View DownFocusableView
{
// As native side will be only storing IDs so need a logic to convert View to ID and vice-versa.
/// <summary>
/// Whether the view should be focusable by keyboard navigation.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool Focusable
{
set
/// <summary>
/// Enumeration for describing the states of the view.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum States
{
/// <summary>
/// Retrieves the position of the view.<br>
/// The coordinates are relative to the view's parent.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Position CurrentPosition
{
get
/// This does not interfere with the view's scale factor.<br>
/// The views default depth is the minimum of width and height.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Size2D Size2D
{
get
/// Retrieves the size of the view.<br>
/// The coordinates are relative to the view's parent.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Size2D CurrentSize
{
get
/// <summary>
/// Retrieves and sets the view's opacity.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float Opacity
{
get
/// By default, sets the position vector between the parent origin and the pivot point (default).<br>
/// If the position inheritance is disabled, sets the world position.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Position2D Position2D
{
get
/// <summary>
/// Retrieves the screen postion of the view.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector2 ScreenPosition
{
get
/// <remarks>If false, then the top-left of the view is used for the position.
/// Setting this to false will allow scaling or rotation around the anchor-point without affecting the view's position.
/// </remarks>
+ /// <since_tizen> 4 </since_tizen>
public bool PositionUsesPivotPoint
{
get
/// Queries whether the view is connected to the stage.<br>
/// When a view is connected, it will be directly or indirectly parented to the root view.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool IsOnWindow
{
get
/// <summary>
/// Gets the depth in the hierarchy for the view.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int HierarchyDepth
{
get
/// Raise, Lower, RaiseToTop, LowerToBottom, RaiseAbove, and LowerBelow will override the sibling order.
/// The values set by this property will likely change.
/// </remarks>
+ /// <since_tizen> 3 </since_tizen>
public int SiblingOrder
{
get
/// <remarks>
/// Deriving classes stipulate the natural size and by default a view has a zero natural size.
/// </remarks>
+ /// <since_tizen> 4 </since_tizen>
public Size2D NaturalSize2D
{
get
/// <remarks>
/// This is an asynchronous method.
/// </remarks>
+ /// <since_tizen> 3 </since_tizen>
public void Show()
{
SetVisible(true);
/// If the view is hidden, then the view and its children will not be rendered.
/// This is regardless of the individual visibility of the children, i.e., the view will only be rendered if all of its parents are shown.
/// </remarks>
+ /// <since_tizen> 3 </since_tizen>
public void Hide()
{
SetVisible(false);
/// Sibling order of views within the parent will be updated automatically.
/// Once a raise or lower API is used, that view will then have an exclusive sibling order independent of insertion.
/// </remarks>
+ /// <since_tizen> 3 </since_tizen>
public void RaiseToTop()
{
NDalicPINVOKE.RaiseToTop(swigCPtr);
/// The sibling order of views within the parent will be updated automatically.
/// Once a raise or lower API is used that view will then have an exclusive sibling order independent of insertion.
/// </remarks>
+ /// <since_tizen> 3 </since_tizen>
public void LowerToBottom()
{
NDalicPINVOKE.LowerToBottom(swigCPtr);
/// </summary>
/// <remarks>Most resources are only loaded when the control is placed on the stage.
/// </remarks>
+ /// <since_tizen> 4 </since_tizen>
public bool IsResourceReady()
{
bool ret = NDalicPINVOKE.IsResourceReady(swigCPtr);
/// Removes a view from its parent view or layer. If a view has no parent, this method does nothing.
/// </summary>
/// <pre>The (child) view has been initialized. </pre>
+ /// <since_tizen> 4 </since_tizen>
public void Unparent()
{
NDalicPINVOKE.Actor_Unparent(swigCPtr);
/// <pre>The view has been initialized.</pre>
/// <param name="viewName">The name of the view to find.</param>
/// <returns>A handle to the view if found, or an empty handle if not.</returns>
+ /// <since_tizen> 3 </since_tizen>
public View FindChildByName(string viewName)
{
IntPtr cPtr = NDalicPINVOKE.Actor_FindChildByName(swigCPtr, viewName);
/// <param name="screenX">The screen X-coordinate.</param>
/// <param name="screenY">The screen Y-coordinate.</param>
/// <returns>True if the conversion succeeded.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool ScreenToLocal(out float localX, out float localY, float screenX, float screenY)
{
bool ret = NDalicPINVOKE.Actor_ScreenToLocal(swigCPtr, out localX, out localY, screenX, screenY);
/// </summary>
/// <pre>The view has been initialized.</pre>
/// <param name="factor">A Vector3 representing the relative factor to be applied to each axis.</param>
+ /// <since_tizen> 3 </since_tizen>
public void SetSizeModeFactor(Vector3 factor)
{
NDalicPINVOKE.Actor_SetSizeModeFactor(swigCPtr, Vector3.getCPtr(factor));
/// </summary>
/// <param name="width">The width to use.</param>
/// <returns>The height based on the width.</returns>
+ /// <since_tizen> 3 </since_tizen>
public float GetHeightForWidth(float width)
{
float ret = NDalicPINVOKE.Actor_GetHeightForWidth(swigCPtr, width);
/// </summary>
/// <param name="height">The height to use.</param>
/// <returns>The width based on the height.</returns>
+ /// <since_tizen> 3 </since_tizen>
public float GetWidthForHeight(float height)
{
float ret = NDalicPINVOKE.Actor_GetWidthForHeight(swigCPtr, height);
return ret;
}
+ /// <since_tizen> 4 </since_tizen>
public uint AddRenderer(Renderer renderer)
{
uint ret = NDalicPINVOKE.Actor_AddRenderer(swigCPtr, Renderer.getCPtr(renderer));
return ret;
}
+ /// <since_tizen> 4 </since_tizen>
public Renderer GetRendererAt(uint index)
{
IntPtr cPtr = NDalicPINVOKE.Actor_GetRendererAt(swigCPtr, index);
return ret;
}
+ /// <since_tizen> 4 </since_tizen>
public void RemoveRenderer(Renderer renderer)
{
NDalicPINVOKE.Actor_RemoveRenderer__SWIG_0(swigCPtr, Renderer.getCPtr(renderer));
throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <since_tizen> 4 </since_tizen>
public void RemoveRenderer(uint index)
{
NDalicPINVOKE.Actor_RemoveRenderer__SWIG_1(swigCPtr, index);
/// A view's position is the distance between this origin and the view's anchor-point.<br>
/// </summary>
/// <pre>The view has been initialized.</pre>
+ /// <since_tizen> 3 </since_tizen>
public Position ParentOrigin
{
get
/// A view's orientation is the rotation from its default orientation, the rotation is centered around its anchor-point.<br>
/// <pre>The view has been initialized.</pre>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Position PivotPoint
{
get
/// <summary>
/// Gets or sets the size width of the view.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float SizeWidth
{
get
/// <summary>
/// Gets or sets the size height of the view.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float SizeHeight
{
get
/// By default, sets the position vector between the parent origin and pivot point (default).<br>
/// If the position inheritance is disabled, sets the world position.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Position Position
{
get
/// <summary>
/// Gets or sets the position X of the view.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float PositionX
{
get
/// <summary>
/// Gets or sets the position Y of the view.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float PositionY
{
get
/// <summary>
/// Gets or sets the position Z of the view.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float PositionZ
{
get
/// <summary>
/// Gets or sets the world position of the view.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector3 WorldPosition
{
get
/// The view's orientation is the rotation from its default orientation, and the rotation is centered around its anchor-point.<br>
/// </summary>
/// <remarks>This is an asynchronous method.</remarks>
+ /// <since_tizen> 3 </since_tizen>
public Rotation Orientation
{
get
/// <summary>
/// Gets or sets the world orientation of the view.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Rotation WorldOrientation
{
get
/// <summary>
/// Gets or sets the scale factor applied to the view.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector3 Scale
{
get
/// <summary>
/// Gets or sets the scale X factor applied to the view.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float ScaleX
{
get
/// <summary>
/// Gets or sets the scale Y factor applied to the view.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float ScaleY
{
get
/// <summary>
/// Gets or sets the scale Z factor applied to the view.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float ScaleZ
{
get
/// <summary>
/// Gets the world scale of the view.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector3 WorldScale
{
get
/// If the view is not visible, then the view and its children will not be rendered.
/// This is regardless of the individual visibility values of the children, i.e., the view will only be rendered if all of its parents have visibility set to true.
/// </remarks>
+ /// <since_tizen> 3 </since_tizen>
public bool Visibility
{
get
/// <summary>
/// Gets the view's world color.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector4 WorldColor
{
get
/// <summary>
/// Gets or sets the view's name.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public string Name
{
get
/// <summary>
/// Get the number of children held by the view.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public new uint ChildCount
{
get
/// Gets the view's ID.
/// Readonly
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public uint ID
{
get
/// <summary>
/// Gets or sets the status of whether the view should emit touch or hover signals.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool Sensitive
{
get
/// <summary>
/// Gets or sets the status of whether the view should receive a notification when touch or hover motion events leave the boundary of the view.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool LeaveRequired
{
get
/// <summary>
/// Gets or sets the status of whether a child view inherits it's parent's orientation.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool InheritOrientation
{
get
/// <summary>
/// Gets or sets the status of whether a child view inherits it's parent's scale.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool InheritScale
{
get
/// Overlay views are drawn in a separate pass, after all non-overlay views within the layer.<br>
/// For overlay views, the drawing order is with respect to tree levels of views, and depth-testing will not be used.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public DrawModeType DrawMode
{
get
/// This factor is only used when ResizePolicyType is set to either: ResizePolicyType.SizeRelativeToParent or ResizePolicyType.SizeFixedOffsetFromParent.<br>
/// This view's size is set to the view's size multiplied by or added to this factor, depending on ResizePolicyType.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector3 SizeModeFactor
{
get
/// <summary>
/// Gets or sets the width resize policy to be used.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public ResizePolicyType WidthResizePolicy
{
get
/// <summary>
/// Gets or sets the height resize policy to be used.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public ResizePolicyType HeightResizePolicy
{
get
/// Gets or sets the policy to use when setting size with size negotiation.<br>
/// Defaults to SizeScalePolicyType.UseSizeSet.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public SizeScalePolicyType SizeScalePolicy
{
get
/// <summary>
/// Gets or sets the status of whether the width size is dependent on the height size.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool WidthForHeight
{
get
/// <summary>
/// Gets or sets the status of whether the height size is dependent on the width size.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool HeightForWidth
{
get
/// <summary>
/// Gets or sets the padding for use in layout.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector4 Padding
{
get
/// <summary>
/// Gets or sets the minimum size the view can be assigned in size negotiation.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Size2D MinimumSize
{
get
/// <summary>
/// Gets or sets the maximum size the view can be assigned in size negotiation.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Size2D MaximumSize
{
get
/// Default is to inherit.<br>
/// Switching this off means that using position sets the view's world position, i.e., translates from the world origin (0,0,0) to the pivot point of the view.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool InheritPosition
{
get
/// <summary>
/// Gets or sets the clipping behavior (mode) of it's children.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public ClippingModeType ClippingMode
{
get
/// <summary>
/// Gets the number of renderers held by the view.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public uint RendererCount
{
get
}
}
+ /// <summary>
+ /// Gets/Sets whether inherit parent's the layout Direction.
+ /// </summary>
+ /// <since_tizen> 4 </since_tizen>
public bool InheritLayoutDirection
{
get
}
}
+ /// <summary>
+ /// Gets/Sets the layout Direction.
+ /// </summary>
+ /// <since_tizen> 4 </since_tizen>
public ViewLayoutDirectionType LayoutDirection
{
get
}
}
+ /// <summary>
+ /// The View layout Direction type.
+ /// </summary>
+ /// <since_tizen> 4 </since_tizen>
public enum ViewLayoutDirectionType
{
LTR,
RTL
}
-}
+}
\ No newline at end of file
namespace Tizen.NUI
{
-
+ /// <summary>
+ /// The visibility change type.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum VisibilityChangeType
{
SELF,
PARENT
}
-}
+}
\ No newline at end of file
/// <summary>
/// Overrides the parent method.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public override void OnInitialize()
{
//Initialize empty
/// </summary>
/// <param name="visualName">The name of a visual to add. If a name is added to an existing visual name, the visual will be replaced.</param>
/// <param name="visualMap">The property map of a visual to create.</param>
+ /// <since_tizen> 3 </since_tizen>
public void AddVisual(string visualName, VisualMap visualMap)
{
VisualBase visual = null;
/// Removes a visual by name.
/// </summary>
/// <param name="visualName">The name of a visual to remove.</param>
+ /// <since_tizen> 3 </since_tizen>
public void RemoveVisual(string visualName)
{
foreach (var item in _visualDictionary)
/// <summary>
/// Gets the total number of visuals which are added by users.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int NumberOfVisuals
{
get
/// <summary>
/// Removes all visuals of the visual view.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public void RemoveAll()
{
foreach (var item in _visualDictionary)
/// <remarks>As this function is called from inside the size negotiation algorithm, you cannot call RequestRelayout (the call would just be ignored).</remarks>
/// <param name="size">The allocated size.</param>
/// <param name="container">The control should add actors to this container that it is not able to allocate a size for.</param>
+ /// <since_tizen> 3 </since_tizen>
public override void OnRelayout(Vector2 size, RelayoutContainer container)
{
foreach (var item in _visualDictionary)
/// <param name="alphaFunction">The alpha function of visual animation.</param>
/// <param name="initialValue">The initial property value of visual animation.</param>
/// <returns>Animation instance</returns>
+ /// <since_tizen> 3 </since_tizen>
public Animation AnimateVisual(VisualMap target, string property, object destinationValue, int startTime, int endTime, AlphaFunction.BuiltinFunctions? alphaFunction = null, object initialValue = null)
{
string _alphaFunction = null;
/// <param name="endTime">The end time of visual animation.</param>
/// <param name="alphaFunction">The alpha function of visual animation.</param>
/// <param name="initialValue">The initial property value of visual animation.</param>
+ /// <since_tizen> 3 </since_tizen>
public void AnimateVisualAdd(VisualMap target, string property, object destinationValue, int startTime, int endTime, AlphaFunction.BuiltinFunctions? alphaFunction = null, object initialValue = null)
{
string _alphaFunction = null;
/// Finishes to add a visual animation (transition) map and creates a transition animation.
/// </summary>
/// <returns>Animation instance.</returns>
+ /// <since_tizen> 3 </since_tizen>
public Animation AnimateVisualAddFinish()
{
if ( _animateArray == null || _animateArray.Empty())
//temporary fix to pass TCT
}
-}
+}
\ No newline at end of file
namespace Tizen.NUI
{
+ /// <summary>
+ /// BaseHandle is a handle to an internal Dali resource.
+ /// </summary>
public class BaseHandle : global::System.IDisposable
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
}
}
+ /// <summary>
+ /// Dispose.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public void Dispose()
{
//Throw excpetion if Dispose() is called in separate thread.
disposed = true;
}
-
-
- // Returns the bool value true to indicate that an operand is true and returns false otherwise.
+ /// <summary>
+ /// Returns the bool value true to indicate that an operand is true and returns false otherwise.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static bool operator true(BaseHandle handle)
{
// if the C# object is null, return false
return handle.HasBody();
}
- // Returns the bool false to indicate that an operand is false and returns true otherwise.
+ /// <summary>
+ /// Returns the bool false to indicate that an operand is false and returns true otherwise.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static bool operator false(BaseHandle handle)
{
// if the C# object is null, return true
return !handle.HasBody();
}
- // Explicit conversion from Handle to bool.
+ /// <summary>
+ /// Explicit conversion from Handle to bool.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static explicit operator bool(BaseHandle handle)
{
// if the C# object is null, return false
return handle.HasBody();
}
- // Equality operator
+ /// <summary>
+ /// Equality operator
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static bool operator ==(BaseHandle x, BaseHandle y)
{
// if the C# objects are the same return true
return false;
}
- // Inequality operator. Returns Null if either operand is Null
+ /// <summary>
+ /// Inequality operator. Returns Null if either operand is Null
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static bool operator !=(BaseHandle x, BaseHandle y)
{
return !(x == y);
}
- // Logical AND operator for &&
- // It's possible when doing a && this function (opBitwiseAnd) is never called due
- // to short circuiting. E.g.
- // If you perform x && y What actually is called is
- // BaseHandle.op_False( x ) ? BaseHandle.op_True( x ) : BaseHandle.opTrue( BaseHandle.opBitwiseAnd(x,y) )
- //
+ /// <summary>
+ /// Logical AND operator for &&.<br>
+ /// It's possible when doing a && this function (opBitwiseAnd) is never called due to short circuiting.<br>
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static BaseHandle operator &(BaseHandle x, BaseHandle y)
{
if (x == y)
return null;
}
- // Logical OR operator for ||
- // It's possible when doing a || this function (opBitwiseOr) is never called due
- // to short circuiting. E.g.
- // If you perform x || y What actually is called is
- // BaseHandle.op_True( x ) ? BaseHandle.op_True( x ) : BaseHandle.opTrue( BaseHandle.opBitwiseOr(x,y) )
+ /// <summary>
+ /// Logical OR operator for ||.<br>
+ /// It's possible when doing a || this function (opBitwiseOr) is never called due to short circuiting.<br>
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static BaseHandle operator |(BaseHandle x, BaseHandle y)
{
if (!BaseHandle.ReferenceEquals(x, null) || !BaseHandle.ReferenceEquals(y, null))
return null;
}
- // Logical ! operator
+ /// <summary>
+ /// Logical ! operator
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static bool operator !(BaseHandle x)
{
// if the C# object is null, return true
return true;
}
+ /// <summary>
+ /// Equals
+ /// </summary>
+ /// <param name="o">The object should be compared.</param>
+ /// <returns>True if equal.</returns>
+ /// <since_tizen> 4 </since_tizen>
public override bool Equals(object o)
{
if(o == null)
return false;
}
+ /// <summary>
+ /// Gets the the hash code of this baseHandle.
+ /// </summary>
+ /// <returns>The Hash Code.</returns>
+ /// <since_tizen> 4 </since_tizen>
public override int GetHashCode()
{
return base.GetHashCode();
}
+ /// <summary>
+ /// Create an instance of BaseHandle.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public BaseHandle() : this(NDalicPINVOKE.new_BaseHandle__SWIG_1())
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Create an instance of BaseHandle.
+ /// </summary>
+ /// <param name="handle">The BaseHandle instance.</param>
+ /// <since_tizen> 3 </since_tizen>
public BaseHandle(BaseHandle handle) : this(NDalicPINVOKE.new_BaseHandle__SWIG_2(BaseHandle.getCPtr(handle)))
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Performs an action on this object with the given action name and attributes.
+ /// </summary>
+ /// <param name="actionName">The command for the action.</param>
+ /// <param name="attributes">The list of attributes for the action.</param>
+ /// <returns>The action is performed by the object or not.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool DoAction(string actionName, PropertyMap attributes)
{
bool ret = NDalicPINVOKE.BaseHandle_DoAction(swigCPtr, actionName, PropertyMap.getCPtr(attributes));
return ret;
}
+ /// <summary>
+ /// Returns the type name for the Handle.<br>
+ /// Will return an empty string if the typename does not exist. This will happen for types that
+ /// have not registered with type-registry.
+ /// </summary>
+ /// <returns>The type name. Empty string if the typename does not exist.</returns>
+ /// <since_tizen> 3 </since_tizen>
public string GetTypeName()
{
string ret = NDalicPINVOKE.BaseHandle_GetTypeName(swigCPtr);
return ret;
}
+ /// <summary>
+ /// Returns the type info for the Handle.<br>
+ /// </summary>
+ /// <param name="info">The type information.</param>
+ /// <returns>True If get the type info.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool GetTypeInfo(TypeInfo info)
{
bool ret = NDalicPINVOKE.BaseHandle_GetTypeInfo(swigCPtr, TypeInfo.getCPtr(info));
return ret;
}
-
+ /// <summary>
+ /// Resets the handle.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public void Reset()
{
NDalicPINVOKE.BaseHandle_Reset(swigCPtr);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// To check the BaseHandle instance is equal or not.
+ /// </summary>
+ /// <param name="rhs">The baseHandle instance.</param>
+ /// <returns>True If equal.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool EqualTo(BaseHandle rhs)
{
bool ret = NDalicPINVOKE.BaseHandle_EqualTo(swigCPtr, BaseHandle.getCPtr(rhs));
return ret;
}
+ /// <summary>
+ /// To check the BaseHandle instance is equal or not.
+ /// </summary>
+ /// <param name="rhs">The baseHandle instance.</param>
+ /// <returns>True If not equal.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool NotEqualTo(BaseHandle rhs)
{
bool ret = NDalicPINVOKE.BaseHandle_NotEqualTo(swigCPtr, BaseHandle.getCPtr(rhs));
return ret;
}
+ /// <summary>
+ /// To check the BaseHandle instance has body or not.
+ /// </summary>
+ /// <returns>True If the baseHandle instance has body.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool HasBody()
{
if (disposed == true)
return ret;
}
+ /// <summary>
+ /// To check the BaseHandle instance is equal or not.
+ /// </summary>
+ /// <param name="rhs">The baseHandle instance.</param>
+ /// <returns>True If equal.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool IsEqual(BaseHandle rhs)
{
if (disposed == true)
}
}
-
/// <summary>
/// To make a color instance be disposed.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public void Dispose()
{
//Throw excpetion if Dispose() is called in separate thread.
/// <param name="arg1">The first value.</param>
/// <param name="arg2">The second value.</param>
/// <returns>The color containing the result of the addition.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static Color operator +(Color arg1, Color arg2)
{
Color result = arg1.Add(arg2);
/// <param name="arg1">The first value.</param>
/// <param name="arg2">The second value.</param>
/// <returns>The color containing the result of the subtraction.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static Color operator -(Color arg1, Color arg2)
{
Color result = arg1.Subtract(arg2);
/// </summary>
/// <param name="arg1">The target value.</param>
/// <returns>The color containg the negation.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static Color operator -(Color arg1)
{
Color result = arg1.Subtract();
/// <param name="arg1">The first value.</param>
/// <param name="arg2">The second value.</param>
/// <returns>The color containing the result of the multiplication.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static Color operator *(Color arg1, Color arg2)
{
Color result = arg1.Multiply(arg2);
/// <param name="arg1">The first value.</param>
/// <param name="arg2">The second value.</param>
/// <returns>The color containing the result of the division.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static Color operator /(Color arg1, Color arg2)
{
Color result = arg1.Divide(arg2);
/// </summary>
/// <param name="index">The subscript index.</param>
/// <returns>The float at the given index.</returns>
+ /// <since_tizen> 3 </since_tizen>
public float this[uint index]
{
get
/// <summary>
/// Default constructor
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Color() : this(NDalicPINVOKE.new_Vector4__SWIG_0(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// <param name="g">The green component.</param>
/// <param name="b">The blue component.</param>
/// <param name="a">The alpha component.</param>
+ /// <since_tizen> 3 </since_tizen>
public Color(float r, float g, float b, float a) : this(NDalicPINVOKE.new_Vector4__SWIG_1(r, g, b, a), true)
{
ValueCheck(ref r);
/// The conversion constructor from an array of four floats.
/// </summary>
/// <param name="array">array Array of R,G,B,A.</param>
+ /// <since_tizen> 3 </since_tizen>
public Color(float[] array) : this(NDalicPINVOKE.new_Vector4__SWIG_2(array), true)
{
ValueCheck(ref array[0]);
/// </summary>
/// <param name="rhs">A color to be compared.</param>
/// <returns>If two colors are are same, then true.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool EqualTo(Color rhs)
{
bool ret = NDalicPINVOKE.Vector4_EqualTo(swigCPtr, Color.getCPtr(rhs));
/// </summary>
/// <param name="rhs">A color to be compared.</param>
/// <returns>If two colors are are different, then true.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool NotEqualTo(Color rhs)
{
bool ret = NDalicPINVOKE.Vector4_NotEqualTo(swigCPtr, Color.getCPtr(rhs));
/// <summary>
/// The red component.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float R
{
set
/// <summary>
/// The green component.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float G
{
set
/// <summary>
/// The blue component.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float B
{
set
/// <summary>
/// The alpha component.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float A
{
set
/// <summary>
/// Gets the black colored Color class.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static readonly Color Black = new Color(0.0f, 0.0f, 0.0f, 1.0f);
/// <summary>
/// Gets the white colored Color class.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static readonly Color White = new Color(1.0f, 1.0f, 1.0f, 1.0f);
/// <summary>
/// Gets the red colored Color class.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static readonly Color Red = new Color(1.0f, 0.0f, 0.0f, 1.0f);
/// <summary>
/// Gets the green colored Color class.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static readonly Color Green = new Color(0.0f, 1.0f, 0.0f, 1.0f);
/// <summary>
/// Gets the blue colored Color class.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static readonly Color Blue = new Color(0.0f, 0.0f, 1.0f, 1.0f);
/// <summary>
/// Gets the yellow colored Color class.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static readonly Color Yellow = new Color(1.0f, 1.0f, 0.0f, 1.0f);
/// <summary>
/// Gets the magenta colored Color class.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static readonly Color Magenta = new Color(1.0f, 0.0f, 1.0f, 1.0f);
/// <summary>
/// Gets the cyan colored Color class.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static readonly Color Cyan = new Color(0.0f, 1.0f, 1.0f, 1.0f);
/// <summary>
/// Gets the transparent colored Color class.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static readonly Color Transparent = new Color(0.0f, 0.0f, 0.0f, 0.0f);
/// <summary>
/// Converts the Color class to Vector4 class implicitly.
/// </summary>
/// <param name="color">A color to be converted to Vector4</param>
+ /// <since_tizen> 3 </since_tizen>
public static implicit operator Vector4(Color color)
{
return new Vector4(color.R, color.G, color.B, color.A);
/// Converts Vector4 class to Color class implicitly.
/// </summary>
/// <param name="vec">A Vector4 to be converted to color.</param></param>
+ /// <since_tizen> 3 </since_tizen>
public static implicit operator Color(Vector4 vec)
{
return new Color(vec.R, vec.G, vec.B, vec.A);
}
-
/// added to them.
///
/// </summary>
-
public abstract class Container : Animatable
{
/// <post>The child will be referenced by its parent. This means that the child will be kept alive, even if the handle passed into this method is reset or destroyed.</post>
/// <remarks>If the child already has a parent, it will be removed from the old parent and reparented to this view. This may change child's position, color, scale, etc. as it now inherits them from this view.</remarks>
/// <param name="view">The child view to add.</param>
+ /// <since_tizen> 4 </since_tizen>
public abstract void Add( View view );
/// <summary>
/// </summary>
/// <pre>This View(the parent) has been initialized. The child view is not the same as the parent view.</pre>
/// <param name="view">The view to remove</param>
+ /// <since_tizen> 4 </since_tizen>
public abstract void Remove( View view );
/// <summary>
/// <pre>The view has been initialized.</pre>
/// <param name="index">The index of the child to retrieve.</param>
/// <returns>The view for the given index or empty handle if children are not initialized.</returns>
+ /// <since_tizen> 4 </since_tizen>
public abstract View GetChildAt( uint index );
/// <summary>
/// </summary>
/// <pre>The child container has been initialized.</pre>
/// <returns>The parent container.</returns>
+ /// <since_tizen> 4 </since_tizen>
public Container Parent
{
get
/// </summary>
/// <pre>The container has been initialized.</pre>
/// <returns>The number of children.</returns>
+ /// <since_tizen> 4 </since_tizen>
public uint ChildCount
{
get
}
}
}
-} // namespace Tizen.NUI
+} // namespace Tizen.NUI
\ No newline at end of file
/// <summary>
/// Creates an initialized spin.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Spin() : base(typeof(Spin).FullName, CustomViewBehaviour.RequiresKeyboardNavigationSupport)
{
}
/// This method is called after the control has been initialized.<br>
/// Derived classes should do any second phase initialization by overriding this method.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public override void OnInitialize()
{
// Initialize the propertiesControl
/// Returns the natural size of the actor.<br>
/// </summary>
/// <returns> Natural size of this spin itself.</returns>
+ /// <since_tizen> 3 </since_tizen>
public override Size2D GetNaturalSize()
{
return new Size2D(150, 150);
/// </summary>
/// <param name="source">Sender of this event.</param>
/// <param name="e">Event arguments.</param>
+ /// <since_tizen> 3 </since_tizen>
public void TextFieldKeyInputFocusGained(object source, EventArgs e)
{
FocusManager.Instance.SetCurrentFocusView(_textField);
/// </summary>
/// <param name="source"></param>
/// <param name="e"></param>
+ /// <since_tizen> 3 </since_tizen>
public void TextFieldKeyInputFocusLost(object source, EventArgs e)
{
int previousValue = _currentValue;
/// <param name="direction">The direction to move the focus towards.</param>
/// <param name="loopEnabled">Whether the focus movement should be looped within the control.</param>
/// <returns>The next keyboard focusable view in this control or an empty handle if no view can be focused.</returns>
+ /// <since_tizen> 3 </since_tizen>
public override View GetNextFocusableView(View currentFocusedView, View.FocusDirection direction, bool loopEnabled)
{
// Respond to Up/Down keys to change the value while keeping the current spin focused
/// Value to be set in the spin.
/// </summary>
[ScriptableProperty()]
+ /// <since_tizen> 3 </since_tizen>
public int Value
{
get
/// </summary>
// MinValue property of type int:
[ScriptableProperty()]
+ /// <since_tizen> 3 </since_tizen>
public int MinValue
{
get
/// </summary>
// MaxValue property of type int:
[ScriptableProperty()]
+ /// <since_tizen> 3 </since_tizen>
public int MaxValue
{
get
/// </summary>
// Step property of type int:
[ScriptableProperty()]
+ /// <since_tizen> 3 </since_tizen>
public int Step
{
get
/// </summary>
// WrappingEnabled property of type bool:
[ScriptableProperty()]
+ /// <since_tizen> 3 </since_tizen>
public bool WrappingEnabled
{
get
/// </summary>
// TextPointSize property of type int:
[ScriptableProperty()]
+ /// <since_tizen> 3 </since_tizen>
public int TextPointSize
{
get
/// </summary>
// TextColor property of type Color:
[ScriptableProperty()]
+ /// <since_tizen> 3 </since_tizen>
public Color TextColor
{
get
/// </summary>
// MaxTextLength property of type int:
[ScriptableProperty()]
+ /// <since_tizen> 3 </since_tizen>
public int MaxTextLength
{
get
/// <summary>
/// Reference of TextField of the spin.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public TextField SpinText
{
get
/// Show indicator image, for example, up or down arrow image.
/// </summary>
// Indicator property of type string:
+ /// <since_tizen> 3 </since_tizen>
public string IndicatorImage
{
get
}
}
}
-}
+}
\ No newline at end of file
Default, // Read Writable, non-animatable property, event thread only
// Animatable // Animatable property, Currently disabled, UK
}
+ /// <since_tizen> 4 </since_tizen>
public readonly ScriptableType type;
+
+ /// <since_tizen> 4 </since_tizen>
public ScriptableProperty(ScriptableType type = ScriptableType.Default)
{
this.type = type;
}
+ /// <since_tizen> 4 </since_tizen>
public static CustomViewRegistry Instance
{
get
/// }
///
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public void Register(Func<CustomView> createFunction, System.Type viewType)
{
// add the mapping between the view name and it's create function
/// <summary>
/// Gets a property value from a view.
- ///
/// </summary>
private IntPtr GetPropertyValue(IntPtr refObjectPtr, string propertyName)
{
/// <summary>
/// Sets a property value on a view.
- ///
/// </summary>
private void SetPropertyValue(IntPtr refObjectPtr, string propertyName, IntPtr propertyValuePtr)
{
}
}
-}
+}
\ No newline at end of file
/// <summary>
/// The constructor.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Degree() : this(NDalicPINVOKE.new_Degree__SWIG_0(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// Creates an angle in degrees.
/// </summary>
/// <param name="value">The initial value in degrees.</param>
+ /// <since_tizen> 3 </since_tizen>
public Degree(float value) : this(NDalicPINVOKE.new_Degree__SWIG_1(value), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// Creates an angle in degrees from a radian.
/// </summary>
/// <param name="value">The initial value in radians.</param>
+ /// <since_tizen> 3 </since_tizen>
public Degree(Radian value) : this(NDalicPINVOKE.new_Degree__SWIG_2(Radian.getCPtr(value)), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
-}
+}
\ No newline at end of file
namespace Tizen.NUI
{
-
+ /// <summary>
+ /// The Direction Bias type.
+ /// <summary>
+ /// <since_tizen> 3 </since_tizen>
public enum DirectionBias
{
DirectionBiasLeft = -1,
DirectionBiasRight = 1
}
-}
+}
\ No newline at end of file
namespace Tizen.NUI
{
+ /// <summary>
+ /// The filter mode type.
+ /// <summary>
+ /// <since_tizen> 3 </since_tizen>
public enum FilterModeType
{
NONE = 0,
LINEAR_MIPMAP_LINEAR
}
-}
+}
\ No newline at end of file
/// This event is only triggered when the navigation key is pressed and KeyboardFocusManager tries to move the focus automatically.<br>
/// It won't be emitted for focus movement by calling the SetCurrentFocusView directly.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandlerWithReturnType<object, PreFocusChangeEventArgs, View> PreFocusChange
{
add
/// <summary>
/// The FocusGroupChanged will be triggered after the current focused view has been changed.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandler<FocusChangedEventArgs> FocusChanged
{
add
/// If the current focus group has a parent layout control, the FocusManager will make the best guess for the next focus group to move the focus to in the given direction (forward or backward).<br>
/// If not, the application has to set the new focus.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandler<FocusGroupChangedEventArgs> FocusGroupChanged
{
add
/// <summary>
/// The FocusedViewActivated will be triggered when the current focused view has the enter key pressed on it.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public event EventHandler<FocusedViewActivatedEventArgs> FocusedViewActivated
{
add
/// </summary>
/// <param name="view">The view to be focused.</param>
/// <returns>Whether the focus is successful or not.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool SetCurrentFocusView(View view)
{
if(view == null)
/// Gets the current focused view.
/// </summary>
/// <returns>A handle to the current focused view or an empty handle if no view is focused.</returns>
+ /// <since_tizen> 3 </since_tizen>
public View GetCurrentFocusView()
{
IntPtr cPtr = NDalicManualPINVOKE.FocusManager_GetCurrentFocusActor(swigCPtr);
/// </summary>
/// <param name="direction">The direction of the focus movement.</param>
/// <returns>True if the movement was successful.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool MoveFocus(View.FocusDirection direction)
{
bool ret = NDalicManualPINVOKE.FocusManager_MoveFocus(swigCPtr, (int)direction);
/// Clears the focus from the current focused view if any, so that no view is focused in the focus chain.<br>
/// It will emit the FocusChanged event without the current focused view.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public void ClearFocus()
{
NDalicManualPINVOKE.FocusManager_ClearFocus(swigCPtr);
/// <summary>
/// Move the focus to previous focused view.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public void MoveFocusBackward()
{
NDalicManualPINVOKE.FocusManager_MoveFocusBackward(swigCPtr);
/// Gets or sets the status of whether the focus movement should be looped within the same focus group.<br>
/// The focus movement is not looped by default.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool FocusGroupLoop
{
set
/// </summary>
/// <param name="view">The view to be set as a focus group.</param>
/// <param name="isFocusGroup">Whether to set the view as a focus group or not.</param>
+ /// <since_tizen> 3 </since_tizen>
public void SetAsFocusGroup(View view, bool isFocusGroup)
{
NDalicManualPINVOKE.FocusManager_SetAsFocusGroup(swigCPtr, View.getCPtr(view), isFocusGroup);
/// </summary>
/// <param name="view">The view to be checked.</param>
/// <returns>Whether the view is set as a focus group.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool IsFocusGroup(View view)
{
bool ret = NDalicManualPINVOKE.FocusManager_IsFocusGroup(swigCPtr, View.getCPtr(view));
/// </summary>
/// <param name="view">The view to be checked for its focus group.</param>
/// <returns>The focus group the given view belongs to or an empty handle if the given view.</returns>
+ /// <since_tizen> 3 </since_tizen>
public View GetFocusGroup(View view)
{
IntPtr cPtr = NDalicManualPINVOKE.FocusManager_GetFocusGroup(swigCPtr, View.getCPtr(view));
/// Gets or sets the focus indicator view.<br>
/// This will replace the default focus indicator view in the FocusManager and will be added to the focused view as a highlight.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public View FocusIndicator
{
set
/// Provides the implementation of a custom focus algorithm interface to allow the application to define the focus logic.<br>
/// </summary>
/// <param name="arg0">The user's implementation of ICustomFocusAlgorithm.</param>
+ /// <since_tizen> 3 </since_tizen>
public void SetCustomAlgorithm(ICustomFocusAlgorithm arg0)
{
_customAlgorithmInterfaceWrapper = new CustomAlgorithmInterfaceWrapper();
/// <summary>
/// Gets the singleton of the FocusManager object.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static FocusManager Instance
{
get
/// If this does not provide a valid view, then the Keyboard FocusManager will check focusable properties to determine the next focusable actor.<br>
/// If focusable properties are not set, then the keyboard FocusManager calls the GetNextFocusableView() method of this interface.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public interface ICustomFocusAlgorithm
{
View GetNextFocusableView(View current, View proposed, View.FocusDirection direction);
- //Please do not use! this will be deprecated
- [EditorBrowsable(EditorBrowsableState.Never)]
+ //Please do not use! this will be deprecated
+ [EditorBrowsable(EditorBrowsableState.Never)]
public class FocusedViewEnterKeyEventArgs : EventArgs
{
private View _view;
}
}
}
-}
+}
\ No newline at end of file
namespace Tizen.NUI
{
+ /// <summary>
+ /// Geometry is handle to an object that can be used to define a geometric elements.
+ /// </summary>
public class Geometry : BaseHandle
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
base.Dispose(type);
}
+ /// <summary>
+ /// Create an instance of Geometry.
+ /// <since_tizen> 3 </since_tizen>
+ /// </summary>
public Geometry() : this(NDalicPINVOKE.Geometry_New(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Adds a PropertyBuffer to be used as source of geometry vertices.
+ /// </summary>
+ /// <param name="vertexBuffer">PropertyBuffer to be used as source of geometry vertices.</param>
+ /// <returns>Index of the newly added buffer.</returns>
+ /// <since_tizen> 3 </since_tizen>
public uint AddVertexBuffer(PropertyBuffer vertexBuffer)
{
uint ret = NDalicPINVOKE.Geometry_AddVertexBuffer(swigCPtr, PropertyBuffer.getCPtr(vertexBuffer));
return ret;
}
+ /// <summary>
+ /// Retrieves the number of vertex buffers that have been added to this geometry.
+ /// </summary>
+ /// <returns>Number of vertex buffers that have been added to this geometry.</returns>
+ /// <since_tizen> 3 </since_tizen>
public uint GetNumberOfVertexBuffers()
{
uint ret = NDalicPINVOKE.Geometry_GetNumberOfVertexBuffers(swigCPtr);
return ret;
}
+ /// <summary>
+ /// Removes a vertex buffer.
+ /// </summary>
+ /// <param name="index">Index to the vertex buffer to remove.</param>
+ /// <since_tizen> 3 </since_tizen>
public void RemoveVertexBuffer(uint index)
{
NDalicPINVOKE.Geometry_RemoveVertexBuffer(swigCPtr, index);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Sets a the index data to be used as a source of indices for the geometry
+ /// Setting this buffer will cause the geometry to be rendered using indices.
+ /// </summary>
+ /// <param name="indices">Array of indices.</param>
+ /// <param name="count">Number of indices in the array.</param>
+ /// <since_tizen> 3 </since_tizen>
public void SetIndexBuffer(ushort[] indices, uint count)
{
NDalicPINVOKE.Geometry_SetIndexBuffer(swigCPtr, indices, count);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Sets the type of primitives this geometry contains.
+ /// </summary>
+ /// <param name="geometryType">Array of indices.</param>
+ /// <since_tizen> 3 </since_tizen>
public void SetType(Geometry.Type geometryType)
{
NDalicPINVOKE.Geometry_SetType(swigCPtr, (int)geometryType);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Gets the type of primitives this geometry contains.
+ /// </summary>
+ /// <returns>Type of primitives this geometry contains.</returns>
+ /// <since_tizen> 3 </since_tizen>
public new Geometry.Type GetType()
{
Geometry.Type ret = (Geometry.Type)NDalicPINVOKE.Geometry_GetType(swigCPtr);
return ret;
}
+ /// <summary>
+ /// Enumeration for the description of the type of geometry,
+ /// used to determine how the coordinates will be used.
+ /// </summary>
+ /// <returns>Type of primitives this geometry contains.</returns>
+ /// <since_tizen> 3 </since_tizen>
public enum Type
{
+ /// <summary>
+ /// Individual points.
+ /// </summary>
POINTS,
+
+ /// <summary>
+ /// Individual lines (made of 2 points each).
+ /// </summary>
LINES,
+
+ /// <summary>
+ /// A strip of lines (made of 1 point each) which also joins the first and last point.
+ /// </summary>
LINE_LOOP,
+
+ /// <summary>
+ /// A strip of lines (made of 1 point each).
+ /// </summary>
LINE_STRIP,
+
+ /// <summary>
+ /// Individual triangles (made of 3 points each).
+ /// </summary>
TRIANGLES,
+
+ /// <summary>
+ /// A fan of triangles around a centre point (after the first triangle, following triangles need only 1 point).
+ /// </summary>
TRIANGLE_FAN,
+
+ /// <summary>
+ /// A strip of triangles (after the first triangle, following triangles need only 1 point).
+ /// </summary>
TRIANGLE_STRIP
}
}
-}
+}
\ No newline at end of file
}
}
+ /// <summary>
+ /// Dispose.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public void Dispose()
{
//Throw excpetion if Dispose() is called in separate thread.
/// <summary>
/// The gesture type.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Gesture.GestureType Type
{
get
/// <summary>
/// The gesture state.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Gesture.StateType State
{
get
/// <summary>
/// The time the gesture took place.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public uint Time
{
get
/// The Copy constructor.
/// </summary>
/// <param name="rhs">A reference to the copied handle</param>
+ /// <since_tizen> 3 </since_tizen>
public Gesture(Gesture rhs) : this(NDalicPINVOKE.new_Gesture(Gesture.getCPtr(rhs)), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// <summary>
/// Enumeration for type of gesture.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum GestureType
{
Pinch = 1 << 0,
/// <summary>
/// Enumeration for state of the gesture.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum StateType
{
Clear,
}
-}
+}
\ No newline at end of file
/// <summary>
/// The time (in ms) that the hover event occurred.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public uint Time
{
get
/// </summary>
/// <param name="point">The point required.</param>
/// <returns>The device ID of this point.</returns>
+ /// <since_tizen> 3 </since_tizen>
public int GetDeviceId(uint point)
{
if (point < points.Count)
/// </summary>
/// <param name="point">The point required.</param>
/// <returns>The state of the point specified.</returns>
+ /// <since_tizen> 3 </since_tizen>
public PointStateType GetState(uint point)
{
if (point < points.Count)
/// </summary>
/// <param name="point">The point required.</param>
/// <returns>The view that was underneath the point specified.</returns>
+ /// <since_tizen> 3 </since_tizen>
public View GetHitView(uint point)
{
if (point < points.Count)
/// </summary>
/// <param name="point">The point required.</param>
/// <returns>The coordinates relative to the top-left of the hit-view of the point specified.</returns>
+ /// <since_tizen> 3 </since_tizen>
public Vector2 GetLocalPosition(uint point)
{
if (point < points.Count)
/// </summary>
/// <param name="point">The point required.</param>
/// <returns>The coordinates relative to the top-left of the screen of the point specified.</returns>
+ /// <since_tizen> 3 </since_tizen>
public Vector2 GetScreenPosition(uint point)
{
if (point < points.Count)
/// <summary>
/// The default constructor.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Hover() : this(NDalicPINVOKE.new_Hover__SWIG_0(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// Returns the total number of points.
/// </summary>
/// <returns>Total number of points.</returns>
+ /// <since_tizen> 3 </since_tizen>
public uint GetPointCount()
{
uint ret = NDalicPINVOKE.Hover_GetPointCount(swigCPtr);
}
-}
+}
\ No newline at end of file
/// <summary>
/// The dispose pattern.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public void Dispose()
{
//Throw excpetion if Dispose() is called in separate thread.
/// <summary>
/// The default constructor.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public ImfEventData() : this(NDalicManualPINVOKE.new_ImfManager_ImfEventData__SWIG_0(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// <param name="aPredictiveString">The pre-edit or the commit string.</param>
/// <param name="aCursorOffset">Start the position from the current cursor position to start deleting characters.</param>
/// <param name="aNumberOfChars">The number of characters to delete from the cursorOffset.</param>
+ /// <since_tizen> 3 </since_tizen>
public ImfEventData(ImfManager.ImfEvent aEventName, string aPredictiveString, int aCursorOffset, int aNumberOfChars) : this(NDalicManualPINVOKE.new_ImfManager_ImfEventData__SWIG_1((int)aEventName, aPredictiveString, aCursorOffset, aNumberOfChars), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// </summary>
//Please do not use! this will be deprecated
[EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 3 </since_tizen>
public string predictiveString
{
set
/// <summary>
/// The pre-edit or the commit string.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public string PredictiveString
{
set
/// <summary>
/// The name of the event from the IMF.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public ImfManager.ImfEvent EventName
{
set
/// <summary>
/// The start position from the current cursor position to start deleting characters.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public int CursorOffset
{
set
/// <summary>
/// The number of characters to delete from the cursorOffset.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public int NumberOfChars
{
set
/// <summary>
/// The dispose pattern.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public void Dispose()
{
//Throw excpetion if Dispose() is called in separate thread.
/// <summary>
/// The default constructor.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public ImfCallbackData() : this(NDalicManualPINVOKE.new_ImfManager_ImfCallbackData__SWIG_0(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// <param name="aCursorPosition">The new position of the cursor.</param>
/// <param name="aCurrentText">The current text string.</param>
/// <param name="aPreeditResetRequired">Flag if preedit reset is required.</param>
+ /// <since_tizen> 3 </since_tizen>
public ImfCallbackData(bool aUpdate, int aCursorPosition, string aCurrentText, bool aPreeditResetRequired) : this(NDalicManualPINVOKE.new_ImfManager_ImfCallbackData__SWIG_1(aUpdate, aCursorPosition, aCurrentText, aPreeditResetRequired), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// <summary>
/// The current text string.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public string CurrentText
{
set
/// <summary>
/// The current text string.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public int CursorPosition
{
set
/// <summary>
/// If the cursor position needs to be updated.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public bool Update
{
set
/// <summary>
/// Flags if preedit reset is required.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public bool PreeditResetRequired
{
set
/// Retrieves a handle to the instance of the ImfManager.
/// </summary>
/// <returns>A handle to the ImfManager.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static ImfManager Get()
{
ImfManager ret = new ImfManager(NDalicManualPINVOKE.ImfManager_Get(), true);
/// It means that the text editing is started somewhere.<br/>
/// If the hardware keyboard isn't connected, then it will show the virtual keyboard.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public void Activate()
{
NDalicManualPINVOKE.ImfManager_Activate(swigCPtr);
/// Deactivates the IMF.<br/>
/// It means that the text editing is finished somewhere.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public void Deactivate()
{
NDalicManualPINVOKE.ImfManager_Deactivate(swigCPtr);
/// If true, then the keyboard will be restored (activated) after focus is regained.
/// </summary>
/// <returns>The restoration status.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool RestoreAfterFocusLost()
{
bool ret = NDalicManualPINVOKE.ImfManager_RestoreAfterFocusLost(swigCPtr);
/// Sets the status whether the IMF has to restore the keyboard after losing focus.
/// </summary>
/// <param name="toggle">True means that keyboard should be restored after the focus is lost and regained.</param>
+ /// <since_tizen> 3 </since_tizen>
public void SetRestoreAfterFocusLost(bool toggle)
{
NDalicManualPINVOKE.ImfManager_SetRestoreAfterFocusLost(swigCPtr, toggle);
/// <summary>
/// Sends a message reset to the preedit state or the IMF module.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public new void Reset()
{
NDalicManualPINVOKE.ImfManager_Reset(swigCPtr);
/// <summary>
/// Notifies the IMF context that the cursor position has changed, required for features like auto-capitalization.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public void NotifyCursorPosition()
{
NDalicManualPINVOKE.ImfManager_NotifyCursorPosition(swigCPtr);
/// Sets the cursor position stored in VirtualKeyboard, this is required by the IMF context.
/// </summary>
/// <param name="cursorPosition">The position of the cursor.</param>
+ /// <since_tizen> 3 </since_tizen>
public void SetCursorPosition(uint cursorPosition)
{
NDalicManualPINVOKE.ImfManager_SetCursorPosition(swigCPtr, cursorPosition);
/// Gets the cursor position stored in VirtualKeyboard, this is required by the IMF context.
/// </summary>
/// <returns>The current position of the cursor.</returns>
+ /// <since_tizen> 3 </since_tizen>
public uint GetCursorPosition()
{
uint ret = NDalicManualPINVOKE.ImfManager_GetCursorPosition(swigCPtr);
/// A method to store the string required by the IMF, this is used to provide predictive word suggestions.
/// </summary>
/// <param name="text">The text string surrounding the current cursor point.</param>
+ /// <since_tizen> 3 </since_tizen>
public void SetSurroundingText(string text)
{
NDalicManualPINVOKE.ImfManager_SetSurroundingText(swigCPtr, text);
/// Gets the current text string set within the IMF manager, this is used to offer predictive suggestions.
/// </summary>
/// <returns>The surrounding text.</returns>
+ /// <since_tizen> 3 </since_tizen>
public string GetSurroundingText()
{
string ret = NDalicManualPINVOKE.ImfManager_GetSurroundingText(swigCPtr);
/// Notifies the IMF context that text input is set to multiline or not.
/// </summary>
/// <param name="multiLine">True if multiline text input is used.</param>
+ /// <since_tizen> 3 </since_tizen>
public void NotifyTextInputMultiLine(bool multiLine)
{
NDalicManualPINVOKE.ImfManager_NotifyTextInputMultiLine(swigCPtr, multiLine);
/// Returns the text direction of the keyboard's current input language.
/// </summary>
/// <returns>The direction of the text.</returns>
+ /// <since_tizen> 3 </since_tizen>
public ImfManager.TextDirection GetTextDirection()
{
ImfManager.TextDirection ret = (ImfManager.TextDirection)NDalicManualPINVOKE.ImfManager_GetTextDirection(swigCPtr);
/// the values then taken down. So ideally, GetInputMethodArea() should be called after Show().
/// </summary>
/// <returns>Rectangle which is keyboard panel x, y, width, height.</returns>
+ /// <since_tizen> 3 </since_tizen>
public Rectangle GetInputMethodArea()
{
Rectangle ret = new Rectangle(NDalicManualPINVOKE.ImfManager_GetInputMethodArea(swigCPtr), true);
/// Sets up the input-panel specific data.
/// </summary>
/// <param name="text">The specific data to be set to the input panel.</param>
+ /// <since_tizen> 3 </since_tizen>
public void SetInputPanelUserData(string text)
{
NDalicManualPINVOKE.ImfManager_SetInputPanelUserData(swigCPtr, text);
/// Gets the specific data of the current active input panel.
/// </summary>
/// <param name="text">The specific data to be received from the input panel.</param>
+ /// <since_tizen> 3 </since_tizen>
public void GetInputPanelUserData(out string text)
{
NDalicManualPINVOKE.ImfManager_GetInputPanelUserData(swigCPtr, out text);
/// Gets the state of the current active input panel.
/// </summary>
/// <returns>The state of the input panel.</returns>
+ /// <since_tizen> 3 </since_tizen>
public ImfManager.State GetInputPanelState()
{
ImfManager.State ret = (ImfManager.State)NDalicManualPINVOKE.ImfManager_GetInputPanelState(swigCPtr);
/// The default is true.
/// </summary>
/// <param name="visible">True if the return key is visible (enabled), false otherwise.</param>
+ /// <since_tizen> 3 </since_tizen>
public void SetReturnKeyState(bool visible)
{
NDalicManualPINVOKE.ImfManager_SetReturnKeyState(swigCPtr, visible);
/// Enables to show the input panel automatically when focused.
/// </summary>
/// <param name="enabled">If true, the input panel will be shown when focused.</param>
+ /// <since_tizen> 3 </since_tizen>
public void AutoEnableInputPanel(bool enabled)
{
NDalicManualPINVOKE.ImfManager_AutoEnableInputPanel(swigCPtr, enabled);
/// <summary>
/// Shows the input panel.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public void ShowInputPanel()
{
NDalicManualPINVOKE.ImfManager_ShowInputPanel(swigCPtr);
/// <summary>
/// Hides the input panel.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public void HideInputPanel()
{
NDalicManualPINVOKE.ImfManager_HideInputPanel(swigCPtr);
/// The default keyboard type is SoftwareKeyboard.
/// </summary>
/// <returns>The keyboard type.</returns>
+ /// <since_tizen> 4 </since_tizen>
public ImfManager.KeyboardType GetKeyboardType()
{
ImfManager.KeyboardType ret = (ImfManager.KeyboardType)NDalicManualPINVOKE.ImfManager_GetKeyboardType(swigCPtr);
/// For example, en_US, en_GB, en_PH, fr_FR, ...
/// </summary>
/// <returns>The current language locale of the input panel.</returns>
+ /// <since_tizen> 4 </since_tizen>
public string GetInputPanelLocale()
{
string ret = NDalicManualPINVOKE.ImfManager_GetInputPanelLocale(swigCPtr);
/// <summary>
/// The constructor.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public ImfManager() : this(NDalicManualPINVOKE.new_ImfManager(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// <summary>
/// ImfManager activated.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public event EventHandler<ActivatedEventArgs> Activated
{
add
/// <summary>
/// ImfManager event received.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public event EventHandlerWithReturnType<object, EventReceivedEventArgs, ImfCallbackData> EventReceived
{
add
/// <summary>
/// ImfManager event received signal.
/// </summary>
- //Please do not use! this will be internal
- [EditorBrowsable(EditorBrowsableState.Never)]
+ //Please do not use! this will be internal
+ [EditorBrowsable(EditorBrowsableState.Never)]
public ImfEventSignalType EventReceivedSignal()
{
ImfEventSignalType ret = new ImfEventSignalType(NDalicManualPINVOKE.ImfManager_EventReceivedSignal(swigCPtr), false);
/// <summary>
/// ImfManager status changed.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public event EventHandler<StatusChangedEventArgs> StatusChanged
{
add
/// <summary>
/// ImfManager resized.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public event EventHandler Resized
{
add
/// <summary>
/// ImfManager language changed.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public event EventHandler LanguageChanged
{
add
/// <summary>
/// ImfManager keyboard type changed.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public event EventHandler<KeyboardTypeChangedEventArgs> KeyboardTypeChanged
{
add
/// <summary>
/// The direction of the text.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum TextDirection
{
/// <summary>
/// <summary>
/// Events that are generated by the IMF.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public enum ImfEvent
{
/// <summary>
/// <summary>
/// Enumeration for the state of the input panel.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public enum State
{
/// <summary>
/// <summary>
/// Enumeration for the types of keyboard.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public enum KeyboardType
{
/// <summary>
HardwareKeyboard
}
}
-}
+}
\ No newline at end of file
/// <summary>
/// The default constructor.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public InputMethod()
{
}
/// <summary>
/// Gets or sets the panel layout.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public PanelLayoutType PanelLayout
{
get
/// <summary>
/// Gets or sets the action button.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public ActionButtonTitleType ActionButton
{
get
/// <summary>
/// Gets or sets the auto capital.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public AutoCapitalType AutoCapital
{
get
/// <summary>
/// Gets or sets the variation.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int Variation
{
get
/// <summary>
/// Gets or sets the variation for normal layout.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public NormalLayoutType NormalVariation
{
get
/// <summary>
/// Gets or sets the variation for the number only layout.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public NumberOnlyLayoutType NumberOnlyVariation
{
get
/// <summary>
/// Gets or sets the variation for the password layout.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public PasswordLayoutType PasswordVariation
{
get
/// <summary>
/// Gets the input method map.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public PropertyMap OutputMap
{
get
/// <summary>
/// SetType that can be changed in the system input method.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum CategoryType
{
/// <summary>
/// <summary>
/// Autocapitalization Types.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum AutoCapitalType
{
/// <summary>
/// <summary>
/// Input panel (virtual keyboard) layout types..
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum PanelLayoutType
{
/// <summary>
/// <summary>
/// Specifies what the Input Method "action" button functionality is set to.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum ActionButtonTitleType
{
/// <summary>
/// <summary>
/// Available variation for the normal layout.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum NormalLayoutType
{
/// <summary>
/// <summary>
/// Available variation for the number only layout.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum NumberOnlyLayoutType
{
/// <summary>
/// <summary>
/// Available variation for the password layout.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum PasswordLayoutType
{
/// <summary>
}
}
-}
+}
\ No newline at end of file
/// <summary>
/// Name given to the key pressed.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public string KeyPressedName
{
get
/// <summary>
/// Keycode for the key pressed.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int KeyCode
{
get
/// <summary>
/// Special keys like Shift, Alt, and Ctrl which modify the next key pressed.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int KeyModifier
{
get
/// <summary>
/// The time (in ms) that the key event occurred.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public uint Time
{
get
/// <summary>
/// State of the key event.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Key.StateType State
{
get
/// <summary>
/// The default constructor.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Key() : this(NDalicPINVOKE.new_Key__SWIG_0(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// Checks to see if the Shift key modifier has been supplied.
/// </summary>
/// <returns>True if Shift modifier.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool IsShiftModifier()
{
bool ret = NDalicPINVOKE.Key_IsShiftModifier(swigCPtr);
/// Checks to see if Ctrl (control) key modifier has been supplied.
/// </summary>
/// <returns>True if Ctrl modifier.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool IsCtrlModifier()
{
bool ret = NDalicPINVOKE.Key_IsCtrlModifier(swigCPtr);
/// Checks to see if Alt key modifier has been supplied.
/// </summary>
/// <returns>True if Alt modifier.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool IsAltModifier()
{
bool ret = NDalicPINVOKE.Key_IsAltModifier(swigCPtr);
/// <summary>
/// Enumeration for specifying the state of the key event.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum StateType
{
Down,
}
}
-}
+}
\ No newline at end of file
/// </summary>
/// <param name="progress">A progress value between 0.0 and 1.0.</param>
/// <param name="value">A value.</param>
+ /// <since_tizen> 3 </since_tizen>
public void Add(float progress, object value)
{
PropertyValue val = PropertyValue.CreateFromObject(value);
/// <param name="progress">A progress value between 0.0 and 1.0.</param>
/// <param name="value">A value</param>
/// <param name="alpha">The alpha function used to blend to the next keyframe.</param>
+ /// <since_tizen> 3 </since_tizen>
public void Add(float progress, object value, AlphaFunction alpha)
{
PropertyValue val = PropertyValue.CreateFromObject(value);
/// <summary>
/// Creates an initialized KeyFrames handle.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public KeyFrames() : this(NDalicPINVOKE.KeyFrames_New(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// Gets the type of the key frame.
/// </summary>
/// <returns>The key frame property type</returns>
+ /// <since_tizen> 3 </since_tizen>
public new PropertyType GetType()
{
PropertyType ret = (PropertyType)NDalicPINVOKE.KeyFrames_GetType(swigCPtr);
/// </summary>
/// <param name="progress">A progress value between 0.0 and 1.0.</param>
/// <param name="value">A value.</param>
+ /// <since_tizen> 3 </since_tizen>
public void Add(float progress, PropertyValue value)
{
NDalicPINVOKE.KeyFrames_Add__SWIG_0(swigCPtr, progress, PropertyValue.getCPtr(value));
/// <param name="progress">A progress value between 0.0 and 1.0.</param>
/// <param name="value">A value.</param>
/// <param name="alpha">The alpha function used to blend to the next keyframe.</param>
+ /// <since_tizen> 3 </since_tizen>
public void Add(float progress, PropertyValue value, AlphaFunction alpha)
{
NDalicPINVOKE.KeyFrames_Add__SWIG_1(swigCPtr, progress, PropertyValue.getCPtr(value), AlphaFunction.getCPtr(alpha));
}
-}
+}
\ No newline at end of file
/// </summary>
/// <seealso cref="Container.Add">
/// </seealso>
+ /// <since_tizen> 4 </since_tizen>
public override void Add(View child)
{
NDalicPINVOKE.Actor_Add(swigCPtr, View.getCPtr(child));
/// </summary>
/// <seealso cref="Container.Remove">
/// </seealso>
+ /// <since_tizen> 4 </since_tizen>
public override void Remove(View child)
{
NDalicPINVOKE.Actor_Remove(swigCPtr, View.getCPtr(child));
/// <pre>The view has been initialized.</pre>
/// <param name="index">The index of the child to retrieve.</param>
/// <returns>The view for the given index or empty handle if children not initialized.</returns>
+ /// <since_tizen> 4 </since_tizen>
public override View GetChildAt(uint index)
{
System.IntPtr cPtr = NDalicPINVOKE.Actor_GetChildAt(swigCPtr, index);
/// <summary>
/// Creates a Layer object.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Layer() : this(NDalicPINVOKE.Layer_New(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// <remarks>The actor itself is also considered in the search.</remarks>
/// <param name="id">The id of the child to find</param>
/// <returns> A handle to the view if found, or an empty handle if not. </returns>
+ /// <since_tizen> 3 </since_tizen>
public View FindChildById(uint id)
{
IntPtr cPtr = NDalicPINVOKE.Actor_FindChildById(swigCPtr, id);
/// Queries the depth of the layer.<br>
/// 0 is the bottommost layer, higher number is on the top.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public uint Depth
{
get
/// <summary>
/// Increments the depth of the layer.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public void Raise()
{
NDalicPINVOKE.Layer_Raise(swigCPtr);
/// <summary>
/// Decrements the depth of the layer.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public void Lower()
{
NDalicPINVOKE.Layer_Lower(swigCPtr);
/// <summary>
/// Raises the layer to the top.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public void RaiseToTop()
{
NDalicPINVOKE.Layer_RaiseToTop(swigCPtr);
/// <summary>
/// Lowers the layer to the bottom.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public void LowerToBottom()
{
NDalicPINVOKE.Layer_LowerToBottom(swigCPtr);
/// After the call, this layer's depth will be immediately above target.<br>
/// </summary>
/// <param name="target">The layer to get on top of.</param>
+ /// <since_tizen> 3 </since_tizen>
public void MoveAbove(Layer target)
{
NDalicPINVOKE.Layer_MoveAbove(swigCPtr, Layer.getCPtr(target));
/// After the call, this layer's depth will be immediately below target.<br>
/// </summary>
/// <param name="target">The layer to get below of.</param>
+ /// <since_tizen> 3 </since_tizen>
public void MoveBelow(Layer target)
{
NDalicPINVOKE.Layer_MoveBelow(swigCPtr, Layer.getCPtr(target));
/// <summary>
/// Enumeration for the behavior of the layer.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum LayerBehavior
{
Layer2D,
/// <summary>
/// Layer behavior, type String (Layer.LayerBehavior).
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Layer.LayerBehavior Behavior
{
get
/// Sets the viewport (in window coordinates), type rectangle.
/// The contents of the layer will not be visible outside this box, when ViewportEnabled is true.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public Rectangle Viewport
{
get
/// <summary>
/// Retrieves and sets the layer's opacity.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float Opacity
{
get
/// <summary>
/// Retrieves and sets the layer's visibility.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool Visibility
{
get
/// <summary>
/// Get the number of children held by the layer.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public new uint ChildCount
{
get
/// <summary>
/// Gets or sets the layer's name.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public string Name
{
get
}
}
-}
+}
\ No newline at end of file
/// The number of touch points in this long press gesture, i.e., the number of fingers the user had
/// on the screen to generate the long press gesture.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public uint NumberOfTouches
{
get
/// This is the point, in screen coordinates, where the long press occurred.<br>
/// If a multi-touch long press, then this is the centroid of all the touch points.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector2 ScreenPoint
{
get
/// This is the point, in local actor coordinates, where the long press occurred.<br>
/// If a multi-touch long press, then this is the centroid of all the touch points.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector2 LocalPoint
{
get
/// The constructor.
/// </summary>
/// <param name="state">The state of the gesture</param>
+ /// <since_tizen> 3 </since_tizen>
public LongPressGesture(Gesture.StateType state) : this(NDalicPINVOKE.new_LongPressGesture__SWIG_0((int)state), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
-}
+}
\ No newline at end of file
/// <summary>
/// Occurs whenever the application is resumed.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public event EventHandler Resumed;
/// <summary>
/// Occurs whenever the application is paused.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public event EventHandler Paused;
/// <summary>
/// <summary>
/// The default constructor.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public NUIApplication() : base(new NUICoreBackend())
{
}
/// <summary>
/// The constructor with a stylesheet.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public NUIApplication(string stylesheet) : base(new NUICoreBackend(stylesheet))
{
}
/// <summary>
/// The constructor with a stylesheet and window mode.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public NUIApplication(string stylesheet, WindowMode windowMode) : base(new NUICoreBackend(stylesheet,windowMode))
{
}
/// Runs the NUIApplication.
/// </summary>
/// <param name="args">Arguments from commandline.</param>
+ /// <since_tizen> 4 </since_tizen>
public override void Run(string[] args)
{
Backend.AddEventHandler(EventType.PreCreated, OnPreCreate);
/// <summary>
/// Exits the NUIApplication.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public override void Exit()
{
base.Exit();
/// </summary>
/// <param name="func">The function to call</param>
/// <returns>true if added successfully, false otherwise</returns>
+ /// <since_tizen> 4 </since_tizen>
public bool AddIdle(System.Delegate func)
{
return ((NUICoreBackend)this.Backend).AddIdle(func);
/// <summary>
/// Enumeration for deciding whether a NUI application window is opaque or transparent.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum WindowMode
{
Opaque = 0,
/// <summary>
/// ResourceManager to handle multilingual.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public static System.Resources.ResourceManager MultilingualResourceManager
{
get
}
}
}
-}
+}
\ No newline at end of file
namespace Tizen.NUI
{
+ /// <summary>
+ /// This specifies all the scroll mode type.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum ScrollModeType
{
XAxisScrollEnabled,
/// <summary>
/// This specifies whether the actor uses its own color or inherits.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum ColorMode
{
/// <summary>
/// <summary>
/// This specifies the dimension of the width or the height for size negotiation.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum DimensionType
{
/// <summary>
/// <summary>
/// Enumeration for the instance of how the actor and it's children will be drawn.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum DrawModeType
{
/// <summary>
/// <summary>
/// Enumeration for size negotiation resize policies.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum ResizePolicyType
{
/// <summary>
/// <summary>
/// Enumeration for policies to determine how an actor should resize itself when having its size set in size negotiation.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum SizeScalePolicyType
{
/// <summary>
/// <summary>
/// Enumeration for the ClippingMode describing how this actor's children will be clipped against it.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum ClippingModeType
{
/// <summary>
/// <summary>
/// Enumeration for type determination of how the camera operates.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum CameraType
{
/// <summary>
/// <summary>
/// Enumeration for the projection modes.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum ProjectionMode
{
/// <summary>
/// <summary>
/// This specifies customView behavior types.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum CustomViewBehaviour
{
/// <summary>
LastViewBehaviourFlag
}
+ /// <since_tizen> 3 </since_tizen>
public enum DeviceClassType
{
None,
/// This specifies all the property types.<br>
/// Enumeration for the property types supported.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum PropertyType
{
/// <summary>
/// This specifies the property access mode types.<br>
/// Enumeration for the access mode for custom properties.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum PropertyAccessMode
{
/// <summary>
/// <summary>
/// Types of style change. Enumeration for the StyleChange type.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum StyleChangeType
{
/// <summary>
/// <summary>
/// Enumeration for horizontal alignment types.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum HorizontalAlignmentType
{
/// <summary>
/// <summary>
/// Enumeration for vertical alignment types.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum VerticalAlignmentType
{
/// <summary>
/// <summary>
/// Enumeration for point state type.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum PointStateType
{
/// <summary>
/// <summary>
/// Enumeration for the text horizontal aligning.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum HorizontalAlignment
{
/// <summary>
/// <summary>
/// Enumeration for the text horizontal aligning.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum VerticalAlignment
{
/// <summary>
/// This specifies wrap mode types.<br>
/// 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.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum WrapModeType
{
/// <summary>
/// <summary>
/// The type of coordinate system for certain attributes of the points in a gradient.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum GradientVisualUnitsType
{
/// <summary>
/// This specifies SpreadMethod types.<br>
/// SpreadMethod defines what happens if the gradient starts or ends inside the bounds of the target rectangle.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum GradientVisualSpreadMethodType
{
/// <summary>
/// <summary>
/// The shading mode used by the mesh visual.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum MeshVisualShadingModeValue
{
/// <summary>
/// <summary>
/// The primitive shape to render as a primitive visual.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum PrimitiveVisualShapeType
{
/// <summary>
/// A fitting mode controls the region of a loaded image to be mapped to the desired image rectangle.<br>
/// All fitting modes preserve the aspect ratio of the image contents.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum FittingModeType
{
/// <summary>
/// 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>
/// but all other filter modes do if the desired dimensions are `<=` the raw dimensions of the input image file.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum SamplingModeType
{
/// <summary>
/// <summary>
/// This specifies policy types that could be used by the transform for the offset or size.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum VisualTransformPolicyType
{
/// <summary>
/// <summary>
/// This specifies all the transform property types.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum VisualTransformPropertyType
{
/// <summary>
/// <summary>
/// This specifies visual types.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public struct Visual
{
/// <summary>
/// The index for the visual type.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum Type
{
/// <summary>
/// <summary>
/// This specifies visual properties.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public struct Property
{
public static readonly int Type = NDalic.VISUAL_PROPERTY_TYPE;
/// <summary>
/// This specifies shader properties.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public struct ShaderProperty
{
public static readonly int VertexShader = NDalic.VISUAL_SHADER_VERTEX;
/// <summary>
/// This specifies visaul align types.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum AlignType
{
TopBegin = 0,
/// <summary>
/// This specifies properties of the BorderVisual.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public struct BorderVisualProperty
{
public static readonly int Color = NDalic.BORDER_VISUAL_COLOR;
/// <summary>
/// This specifies properties of the ColorVisual.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public struct ColorVisualProperty
{
public static readonly int MixColor = NDalic.COLOR_VISUAL_MIX_COLOR;
/// <summary>
/// This specifies properties of the GradientVisual.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public struct GradientVisualProperty
{
public static readonly int StartPosition = NDalic.GRADIENT_VISUAL_START_POSITION;
/// <summary>
/// This specifies properties of the ImageVisual.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public struct ImageVisualProperty
{
public static readonly int URL = NDalic.IMAGE_VISUAL_URL;
/// <summary>
/// This specifies properties of the MeshVisual.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public struct MeshVisualProperty
{
public static readonly int ObjectURL = NDalic.MESH_VISUAL_OBJECT_URL;
/// <summary>
/// This specifies properties of the PrimitiveVisual.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public struct PrimitiveVisualProperty
{
public static readonly int Shape = NDalic.PRIMITIVE_VISUAL_SHAPE;
/// <summary>
/// This specifies properties of the TextVisual.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public struct TextVisualProperty
{
public static readonly int Text = NDalic.TEXT_VISUAL_TEXT;
/// <summary>
/// This specifies properties of the NpatchImageVisual.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public struct NpatchImageVisualProperty
{
public static readonly int URL = NDalic.IMAGE_VISUAL_URL;
/// <summary>
/// The HiddenInput property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public struct HiddenInputProperty
{
public static readonly int Mode = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_MODE_get();
/// <summary>
/// The type for HiddenInput mode.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum HiddenInputModeType
{
/// <summary>
/// <summary>
/// ParentOrigin constants.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public struct ParentOrigin
{
public static float Top
/// <summary>
/// PivotPoint constants.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public struct PivotPoint
{
public static float Top
/// <summary>
/// PositionAxis constants.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public struct PositionAxis
{
public static Position X
/// <summary>
/// Auto scrolling stop behavior.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum AutoScrollStopMode
{
/// <summary>
/// <summary>
/// An enum of screen mode.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum ScreenMode {
/// <summary>
/// The mode which turns the screen off after a timeout.
/// <summary>
/// An enum of notification window's priority level.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum NotificationLevel {
/// <summary>
/// No notification level.<br>
/// <summary>
/// An enum of window types.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum WindowType {
/// <summary>
/// A default window type.<br>
Dialog
}
+ /// <since_tizen> 3 </since_tizen>
public enum DisposeTypes
{
Explicit, //Called By User
/// <summary>
/// An enum of the scroll state of the text eidtor.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum ScrollState
{
/// <summary>
/// <summary>
/// An enum of the line wrap mode of text controls.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public enum LineWrapMode
{
/// <summary>
Character
}
-}
+}
\ No newline at end of file
/// <summary>
/// The default constructor.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public NUIWidgetApplication() : base(new NUIWidgetCoreBackend())
{
Tizen.Log.Fatal("NUI", "### NUIWidgetApplication called");
/// <summary>
/// The constructor with stylesheet.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public NUIWidgetApplication(string stylesheet) : base(new NUIWidgetCoreBackend(stylesheet))
{
Tizen.Log.Fatal("NUI", "### NUIWidgetApplication(string) called");
/// Run NUIWidgetApplication.
/// </summary>
/// <param name="args">Arguments from commandline.</param>
+ /// <since_tizen> 4 </since_tizen>
public override void Run(string[] args)
{
Backend.AddEventHandler(EventType.PreCreated, OnPreCreate);
/// <summary>
/// Exit NUIWidgetApplication.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public override void Exit()
{
Tizen.Log.Fatal("NUI", "### NUIWidgetApplication Exit called");
/// <summary>
/// Get the window instance.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public Window Window
{
get
}
}
}
-}
+}
\ No newline at end of file
namespace Tizen.NUI
{
-
+ /// <summary>
+ /// The gesture state.
+ /// </summary>
public class PaddingType : global::System.IDisposable
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
}
}
+ /// <summary>
+ /// Dispose.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public void Dispose()
{
//Throw excpetion if Dispose() is called in separate thread.
disposed = true;
}
+ /// <summary>
+ /// Equality operator
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static bool operator ==(PaddingType a, PaddingType b)
{
// If both are null, or both are same instance, return true.
(System.Math.Abs(a.Top - b.Top) < NDalic.GetRangedEpsilon(a.Top, b.Top));
}
+ /// <summary>
+ /// Inequality operator. Returns Null if either operand is Null
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static bool operator !=(PaddingType a, PaddingType b)
{
return !(a == b);
}
+
+ /// <summary>
+ /// Equals
+ /// </summary>
+ /// <param name="o">The object should be compared.</param>
+ /// <returns>True if equal.</returns>
+ /// <since_tizen> 4 </since_tizen>
public override bool Equals(object o)
{
if(o == null)
(System.Math.Abs(Top - p.Top) < NDalic.GetRangedEpsilon(Top, p.Top));
}
+ /// <summary>
+ /// Gets the the hash code of this baseHandle.
+ /// </summary>
+ /// <returns>The Hash Code.</returns>
+ /// <since_tizen> 4 </since_tizen>
public override int GetHashCode()
{
return base.GetHashCode();
}
- ///< The Left value
+ /// <summary>
+ /// The Left value.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float Left
{
set
}
}
- ///< The Right value
+ /// <summary>
+ /// The Right value.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float Right
{
set
}
}
- ///< The Bottom value
+ /// <summary>
+ /// The Bottom value.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float Bottom
{
set
}
}
- ///< The Top value
+ /// <summary>
+ /// The Top value.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float Top
{
set
}
}
-
+ /// <summary>
+ /// Create an instance of paddingType.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public PaddingType() : this(NDalicPINVOKE.new_PaddingType__SWIG_0(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Create an instance of BaseHandle.
+ /// </summary>
+ /// <param name="x">The x value.</param>
+ /// <param name="y">The y value.</param>
+ /// <param name="width">The width value.</param>
+ /// <param name="height">The height value.</param>
+ /// <since_tizen> 3 </since_tizen>
public PaddingType(float x, float y, float width, float height) : this(NDalicPINVOKE.new_PaddingType__SWIG_1(x, y, width, height), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Set the x, y, width, height of this paddingtype.
+ /// </summary>
+ /// <param name="x">The x value.</param>
+ /// <param name="y">The y value.</param>
+ /// <param name="width">The width value.</param>
+ /// <param name="height">The height value.</param>
+ /// <since_tizen> 3 </since_tizen>
public void Set(float newX, float newY, float newWidth, float newHeight)
{
NDalicPINVOKE.PaddingType_Set(swigCPtr, newX, newY, newWidth, newHeight);
}
-}
+}
\ No newline at end of file
/// A positive x value shows that the user is panning to the right, a negative x value means the opposite.<br>
/// A positive y value shows that the user is panning downwards, a negative y values means upwards.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector2 Velocity
{
get
/// A positive x value shows that the user is panning to the right, a negative x value means the opposite.<br>
/// A positive y value shows that the user is panning downwards, a negative y value means upwards.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector2 Displacement
{
get
/// <summary>
/// The current touch position of the primary touch point in local actor coordinates.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector2 Position
{
get
/// A positive y value shows that the user is panning downwards, a negative y values means upwards.<br>
/// This value represents the screen coordinates.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector2 ScreenVelocity
{
get
/// A positive y value shows that the user is panning downwards, a negative y value means upwards.<br>
/// This value is in screen coordinates.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector2 ScreenDisplacement
{
get
/// <summary>
/// The current touch position of the primary touch point in screen coordinates.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector2 ScreenPosition
{
get
/// <summary>
/// The total number of fingers touching the screen in a pan gesture.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public uint NumberOfTouches
{
get
/// <summary>
/// The default constructor.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public PanGesture() : this(NDalicPINVOKE.new_PanGesture__SWIG_0(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// This is the pixel movement per millisecond.<br>
/// </summary>
/// <returns>The speed of the pan (in pixels per millisecond).</returns>
+ /// <since_tizen> 3 </since_tizen>
public float GetSpeed()
{
float ret = NDalicPINVOKE.PanGesture_GetSpeed(swigCPtr);
/// This is always a positive value.<br>
/// </summary>
/// <returns>The distance, as a float, a user's finger has panned.</returns>
+ /// <since_tizen> 3 </since_tizen>
public float GetDistance()
{
float ret = NDalicPINVOKE.PanGesture_GetDistance(swigCPtr);
/// This is the pixel movement per millisecond.<br>
/// </summary>
/// <returns>The speed of the pan (in pixels per millisecond).</returns>
+ /// <since_tizen> 3 </since_tizen>
public float GetScreenSpeed()
{
float ret = NDalicPINVOKE.PanGesture_GetScreenSpeed(swigCPtr);
/// This is always a positive value.<br>
/// </summary>
/// <returns>The distance, as a float, a user's finger has panned.</returns>
+ /// <since_tizen> 3 </since_tizen>
public float GetScreenDistance()
{
float ret = NDalicPINVOKE.PanGesture_GetScreenDistance(swigCPtr);
}
-}
+}
\ No newline at end of file
/// <summary>
/// Creates an initialized path handle.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Path() : this(NDalicPINVOKE.Path_New(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// Adds an interpolation point.
/// </summary>
/// <param name="point">The new interpolation point to be added.</param>
+ /// <since_tizen> 3 </since_tizen>
public void AddPoint(Position point)
{
NDalicPINVOKE.Path_AddPoint(swigCPtr, Position.getCPtr(point));
/// Adds a control point.
/// </summary>
/// <param name="point">The new control point to be added.</param>
+ /// <since_tizen> 3 </since_tizen>
public void AddControlPoint(Vector3 point)
{
NDalicPINVOKE.Path_AddControlPoint(swigCPtr, Vector3.getCPtr(point));
/// The out control point is the length of the succeeding segment forward along this bisector multiplied by the curvature.<br>
/// </summary>
/// <param name="curvature">The curvature of the spline. 0 gives straight lines between the knots, negative values means the spline contains loops, positive values up to 0.5 result in a smooth curve, positive values between 0.5 and 1 result in looped curves where the loops are not distinct (i.e., the curve appears to be non-continuous), positive values higher than 1 result in looped curves.</param>
+ /// <since_tizen> 3 </since_tizen>
public void GenerateControlPoints(float curvature)
{
NDalicPINVOKE.Path_GenerateControlPoints(swigCPtr, curvature);
/// <param name="progress">A floating point value between 0.0 and 1.0.</param>
/// <param name="position">The interpolated position at that progress.</param>
/// <param name="tangent">The interpolated tangent at that progress.</param>
+ /// <since_tizen> 3 </since_tizen>
public void Sample(float progress, Vector3 position, Vector3 tangent)
{
NDalicPINVOKE.Path_Sample(swigCPtr, progress, Vector3.getCPtr(position), Vector3.getCPtr(tangent));
/// An accessor for the interpolation points.
/// </summary>
/// <param name="index">The index of the interpolation point.</param>
+ /// <since_tizen> 3 </since_tizen>
public Vector3 GetPoint(uint index)
{
Vector3 ret = new Vector3(NDalicPINVOKE.Path_GetPoint(swigCPtr, index), false);
/// An accessor for the control points.
/// </summary>
/// <param name="index">The index of the control point.</param>
+ /// <since_tizen> 3 </since_tizen>
public Vector3 GetControlPoint(uint index)
{
Vector3 ret = new Vector3(NDalicPINVOKE.Path_GetControlPoint(swigCPtr, index), false);
/// Gets the number of interpolation points in the path.
/// </summary>
/// <returns>The number of interpolation points in the path.</returns>
+ /// <since_tizen> 3 </since_tizen>
public uint GetPointCount()
{
uint ret = NDalicPINVOKE.Path_GetPointCount(swigCPtr);
/// <summary>
/// Enumeration for the Points.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public PropertyArray Points
{
get
/// <summary>
/// Enumeration for the ControlPoints.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public PropertyArray ControlPoints
{
get
}
-}
+}
\ No newline at end of file
/// this value increases. Conversely, if the user is moving their
/// fingers towards each other, this value will decrease.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float Scale
{
get
/// The speed at which the user is moving their fingers.<br>
/// This is the pixel movement per second.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float Speed
{
get
/// <summary>
/// The center point of the two points that caused the pinch gesture in screen coordinates.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector2 ScreenCenterPoint
{
get
/// <summary>
/// The center point of the two points that caused the pinch gesture in local actor coordinates.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector2 LocalCenterPoint
{
get
}
-}
+}
\ No newline at end of file
namespace Tizen.NUI
{
-
+ /// <summary>
+ /// The PixelData object holds a pixel buffer.<br>
+ /// The PixelData takes over the ownership of the pixel buffer.<br>
+ /// The buffer memory must NOT be released outside of this class, instead,
+ /// the PixelData object will release it automatically when the reference count falls to zero.
+ /// </summary>
public class PixelData : BaseHandle
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
base.Dispose(type);
}
-
-
+ /// <summary>
+ /// Creates a PixelData object.
+ /// </summary>
+ /// <param name="buffer">The raw pixel data.</param>
+ /// <param name="bufferSize">The size of the buffer in bytes.</param>
+ /// <param name="width">Buffer width in pixels.</param>
+ /// <param name="height">Buffer height in pixels.</param>
+ /// <param name="pixelFormat">The pixel format.</param>
+ /// <param name="releaseFunction">The function used to release the memory.</param>
+ /// <since_tizen> 3 </since_tizen>
public PixelData(byte[] buffer, uint bufferSize, uint width, uint height, PixelFormat pixelFormat, PixelData.ReleaseFunction releaseFunction) : this(NDalicPINVOKE.PixelData_New(buffer, bufferSize, width, height, (int)pixelFormat, (int)releaseFunction), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
-
+ /// <summary>
+ /// Gets the width of the buffer in pixels.
+ /// </summary>
+ /// <returns>The width of the buffer in pixels.</returns>
+ /// <since_tizen> 3 </since_tizen>
public uint GetWidth()
{
uint ret = NDalicPINVOKE.PixelData_GetWidth(swigCPtr);
return ret;
}
+ /// <summary>
+ /// Gets the height of the buffer in pixels.
+ /// </summary>
+ /// <returns>The height of the buffer in pixels.</returns>
+ /// <since_tizen> 3 </since_tizen>
public uint GetHeight()
{
uint ret = NDalicPINVOKE.PixelData_GetHeight(swigCPtr);
return ret;
}
+ /// <summary>
+ /// Gets the pixel format.
+ /// </summary>
+ /// <returns>The pixel format.</returns>
+ /// <since_tizen> 3 </since_tizen>
public PixelFormat GetPixelFormat()
{
PixelFormat ret = (PixelFormat)NDalicPINVOKE.PixelData_GetPixelFormat(swigCPtr);
return ret;
}
+ /// <summary>
+ /// Enumeration for Function to release the pixel buffer.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum ReleaseFunction
{
+ /// <summary>
+ /// Use free function to release the pixel buffer.
+ /// </summary>
FREE,
+
+ /// <summary>
+ /// Use delete[] operator to release the pixel buffer.
+ /// </summary>
DELETE_ARRAY
}
}
-}
+}
\ No newline at end of file
COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR
}
-}
+}
\ No newline at end of file
/// <param name="arg1">The vector to add.</param>
/// <param name="arg2">The vector to add.</param>
/// <returns>The vector containing the result of the addition.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static Position operator +(Position arg1, Position arg2)
{
return arg1.Add(arg2);
/// <param name="arg1">The vector to subtract.</param>
/// <param name="arg2">The vector to subtract.</param>
/// <returns>The vector containing the result of the subtraction.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static Position operator -(Position arg1, Position arg2)
{
return arg1.Subtract(arg2);
/// </summary>
/// <param name="arg1">The vector to negate.</param>
/// <returns>The vector containg the negation.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static Position operator -(Position arg1)
{
return arg1.Subtract();
/// <param name="arg1">The vector to multiply.</param>
/// <param name="arg2">The vector to multiply.</param>
/// <returns>The vector containing the result of the multiplication.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static Position operator *(Position arg1, Position arg2)
{
return arg1.Multiply(arg2);
/// <param name="arg1">The vector to multiply</param>
/// <param name="arg2">The float value to scale the vector.</param>
/// <returns>The vector containing the result of scaling.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static Position operator *(Position arg1, float arg2)
{
return arg1.Multiply(arg2);
/// <param name="arg1">The vector to divide.</param>
/// <param name="arg2">The vector to divide.</param>
/// <returns>The vector containing the result of the division.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static Position operator /(Position arg1, Position arg2)
{
return arg1.Divide(arg2);
/// <param name="arg1">The vector to divide.</param>
/// <param name="arg2">The float value to scale the vector by.</param>
/// <returns>The vector containing the result of scaling.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static Position operator /(Position arg1, float arg2)
{
return arg1.Divide(arg2);
/// </summary>
/// <param name="index">The subscript index.</param>
/// <returns>The float at the given index.</returns>
+ /// <since_tizen> 3 </since_tizen>
public float this[uint index]
{
get
/// <summary>
/// The constructor.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Position() : this(NDalicPINVOKE.new_Vector3__SWIG_0(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// <param name="x">The x component.</param>
/// <param name="y">The y component.</param>
/// <param name="z">The z component.</param>
+ /// <since_tizen> 3 </since_tizen>
public Position(float x, float y, float z) : this(NDalicPINVOKE.new_Vector3__SWIG_1(x, y, z), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// The constructor.
/// </summary>
/// <param name="position2d">Position2D to create this vector from.</param>
+ /// <since_tizen> 3 </since_tizen>
public Position(Position2D position2d) : this(NDalicPINVOKE.new_Vector3__SWIG_3(Position2D.getCPtr(position2d)), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// </summary>
/// <param name="rhs">The vector to compare.</param>
/// <returns>Returns true if the two vectors are equal, otherwise false.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool EqualTo(Position rhs)
{
bool ret = NDalicPINVOKE.Vector3_EqualTo(swigCPtr, Position.getCPtr(rhs));
/// </summary>
/// <param name="rhs">The vector to compare.</param>
/// <returns>Returns true if the two vectors are not equal, otherwise false.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool NotEqualTo(Position rhs)
{
bool ret = NDalicPINVOKE.Vector3_NotEqualTo(swigCPtr, Position.getCPtr(rhs));
/// <summary>
/// The x component.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float X
{
set
/// <summary>
/// The y component.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float Y
{
set
/// <summary>
/// The z component.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float Z
{
set
/// <summary>
/// ParentOrigin constants. It's 0.0.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static float ParentOriginTop
{
get
/// <summary>
/// ParentOrigin constants. It's 1.0.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static float ParentOriginBottom
{
get
/// <summary>
/// ParentOrigin constants. It's 0.0.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static float ParentOriginLeft
{
get
/// <summary>
/// ParentOrigin constants. It's 1.0.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static float ParentOriginRight
{
get
/// <summary>
/// ParentOrigin constants. It's 0.5.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static float ParentOriginMiddle
{
get
/// <summary>
/// ParentOrigin constants: 0.0, 0.0, 0.5.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static Position ParentOriginTopLeft
{
get
/// <summary>
/// ParentOrigin constants: 0.5, 0.0, 0.5.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static Position ParentOriginTopCenter
{
get
/// <summary>
/// ParentOrigin constants: 1.0, 0.0, 0.5.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static Position ParentOriginTopRight
{
get
/// <summary>
/// ParentOrigin constants: 0.0, 0.5, 0.5.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static Position ParentOriginCenterLeft
{
get
/// <summary>
/// ParentOrigin constants: 0.0, 0.5, 0.5
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static Position ParentOriginCenter
{
get
/// <summary>
/// ParentOrigin constants: 1.0, 0.5, 0.5.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static Position ParentOriginCenterRight
{
get
/// <summary>
/// ParentOrigin constants: 0.0f, 1.0f, 0.5f.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static Position ParentOriginBottomLeft
{
get
/// <summary>
/// ParentOrigin constants: 0.5, 1.0, 0.5.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static Position ParentOriginBottomCenter
{
get
/// <summary>
/// ParentOrigin constants: 1.0, 1.0, 0.5.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static Position ParentOriginBottomRight
{
get
/// <summary>
/// PivotPoint constants: 0.0.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public static float PivotPointTop
{
get
/// <summary>
/// PivotPoint constants: 1.0.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public static float PivotPointBottom
{
get
/// <summary>
/// PivotPoint constants: 0.0.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public static float PivotPointLeft
{
get
/// <summary>
/// PivotPoint constants: 1.0.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public static float PivotPointRight
{
get
/// <summary>
/// PivotPoint constants: 0.0.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public static float PivotPointMiddle
{
get
/// <summary>
/// PivotPoint constants: 0.0, 0.0, 0.5.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public static Position PivotPointTopLeft
{
get
/// <summary>
/// PivotPoint constants: 0.5, 0.0, 0.5.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public static Position PivotPointTopCenter
{
get
/// <summary>
/// PivotPoint constants: 1.0, 0.0, 0.5.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public static Position PivotPointTopRight
{
get
/// <summary>
/// PivotPoint constants: 0.0, 0.5, 0.5.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public static Position PivotPointCenterLeft
{
get
/// <summary>
/// PivotPoint constants: 0.5, 0.5, 0.5.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public static Position PivotPointCenter
{
get
/// <summary>
/// PivotPoint constants: 1.0, 0.5, 0.5.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public static Position PivotPointCenterRight
{
get
/// <summary>
/// PivotPoint constants: 0.0, 1.0, 0.5.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public static Position PivotPointBottomLeft
{
get
/// <summary>
/// PivotPoint constants: 0.5, 1.0, 0.5
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public static Position PivotPointBottomCenter
{
get
/// <summary>
/// PivotPoint constants: 1.0, 1.0, 0.5.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public static Position PivotPointBottomRight
{
get
/// <summary>
/// Constant ( 1.0f, 1.0f, 1.0f ).
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static Position One
{
get
/// <summary>
/// Constant ( 0.0f, 0.0f, 0.0f ).
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static Position Zero
{
get
/// <summary>
/// Converts a position instance to a Vector3 instance.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static implicit operator Vector3(Position Position)
{
return new Vector3(Position.X, Position.Y, Position.Z);
/// <summary>
/// Converts a Vector3 instance to a position instance.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static implicit operator Position(Vector3 vec)
{
return new Position(vec.X, vec.Y, vec.Z);
}
}
-}
+}
\ No newline at end of file
/// <param name="arg1">The vector to add.</param>
/// <param name="arg2">The vector to add.</param>
/// <returns>The vector containing the result of the addition.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static Position2D operator +(Position2D arg1, Position2D arg2)
{
return arg1.Add(arg2);
/// <param name="arg1">The vector to subtract.</param>
/// <param name="arg2">The vector to subtract.</param>
/// <returns>The vector containing the result of the subtraction.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static Position2D operator -(Position2D arg1, Position2D arg2)
{
return arg1.Subtract(arg2);
/// </summary>
/// <param name="arg1">The vector to negate.</param>
/// <returns>The vector containing the negation.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static Position2D operator -(Position2D arg1)
{
return arg1.Subtract();
/// <param name="arg1">The vector to multiply.</param>
/// <param name="arg2">The vector to multiply.</param>
/// <returns>The vector containing the result of the multiplication.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static Position2D operator *(Position2D arg1, Position2D arg2)
{
return arg1.Multiply(arg2);
/// <param name="arg1">The vector to multiply.</param>
/// <param name="arg2">The integer value to scale the vector.</param>
/// <returns>The vector containing the result of the multiplication.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static Position2D operator *(Position2D arg1, int arg2)
{
return arg1.Multiply(arg2);
/// <param name="arg1">The vector to divide.</param>
/// <param name="arg2">The vector to divide.</param>
/// <returns>The vector containing the result of the division.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static Position2D operator /(Position2D arg1, Position2D arg2)
{
return arg1.Divide(arg2);
/// <param name="arg1">The vector to divide.</param>
/// <param name="arg2">The integer value to scale the vector by.</param>
/// <returns>The vector containing the result of the division.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static Position2D operator /(Position2D arg1, int arg2)
{
return arg1.Divide(arg2);
/// </summary>
/// <param name="index">The subscript index.</param>
/// <returns>The float at the given index.</returns>
+ /// <since_tizen> 3 </since_tizen>
public float this[uint index]
{
get
/// <summary>
/// The constructor.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Position2D() : this(NDalicPINVOKE.new_Vector2__SWIG_0(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// </summary>
/// <param name="x">x component</param>
/// <param name="y">y component</param>
+ /// <since_tizen> 3 </since_tizen>
public Position2D(int x, int y) : this(NDalicPINVOKE.new_Vector2__SWIG_1((float)x, (float)y), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// The constructor.
/// </summary>
/// <param name="position">Position to create this vector from</param>
+ /// <since_tizen> 3 </since_tizen>
public Position2D(Position position) : this(NDalicPINVOKE.new_Vector2__SWIG_3(Position.getCPtr(position)), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// </summary>
/// <param name="rhs">The vector to compare</param>
/// <returns>Returns true if the two vectors are equal, otherwise false</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool EqualTo(Position2D rhs)
{
bool ret = NDalicPINVOKE.Vector2_EqualTo(swigCPtr, Position2D.getCPtr(rhs));
/// </summary>
/// <param name="rhs">The vector to compare.</param>
/// <returns>Returns true if the two vectors are not equal, otherwise false.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool NotEqualTo(Position2D rhs)
{
bool ret = NDalicPINVOKE.Vector2_NotEqualTo(swigCPtr, Position2D.getCPtr(rhs));
/// <summary>
/// The x component.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int X
{
set
/// <summary>
/// The y component.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int Y
{
set
/// <summary>
/// Converts a Position2D instance to a Vector2 instance.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static implicit operator Vector2(Position2D position2d)
{
return new Vector2((float)position2d.X, (float)position2d.Y);
/// <summary>
/// Converts a Vector2 instance to a Position2D instance.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static implicit operator Position2D(Vector2 vec)
{
return new Position2D((int)vec.X, (int)vec.Y);
/// <summary>
/// Converts a Position2D instance to a Uint16Pair instance.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public static implicit operator Uint16Pair(Position2D position2d)
{
return new Uint16Pair((uint)position2d.X, (uint)position2d.Y);
/// <summary>
/// Converts a Uint16Pair instance to a Position2D instance.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public static implicit operator Position2D(Uint16Pair pair)
{
return new Position2D((int)pair.GetX(), (int)pair.GetY());
}
-
/// </summary>
/// <param name="arg0">A valid handle to the target object.</param>
/// <param name="propertyIndex">The index of a property.</param>
+ /// <since_tizen> 3 </since_tizen>
public Property(Animatable arg0, int propertyIndex) : this(NDalicPINVOKE.new_Property__SWIG_0(Animatable.getCPtr(arg0), propertyIndex), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// <param name="arg0">A valid handle to the target object.</param>
/// <param name="propertyIndex">The index of a property.</param>
/// <param name="componentIndex">Index to a sub component of a property, for use with Vector2, Vector3 and Vector4. -1 for the main property (default is -1).</param>
+ /// <since_tizen> 3 </since_tizen>
public Property(Animatable arg0, int propertyIndex, int componentIndex) : this(NDalicPINVOKE.new_Property__SWIG_1(Animatable.getCPtr(arg0), propertyIndex, componentIndex), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// </summary>
/// <param name="arg0">A valid handle to the target object.</param>
/// <param name="propertyName">The property name.</param>
+ /// <since_tizen> 3 </since_tizen>
public Property(Animatable arg0, string propertyName) : this(NDalicPINVOKE.new_Property__SWIG_2(Animatable.getCPtr(arg0), propertyName), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// <param name="arg0">A valid handle to the target object.</param>
/// <param name="propertyName">The property name.</param>
/// <param name="componentIndex">Index to a sub component of a property, for use with Vector2, Vector3 and Vector4. -1 for main property (default is -1).</param>
+ /// <since_tizen> 3 </since_tizen>
public Property(Animatable arg0, string propertyName, int componentIndex) : this(NDalicPINVOKE.new_Property__SWIG_3(Animatable.getCPtr(arg0), propertyName, componentIndex), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// <summary>
/// Gets or sets the index of the property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int propertyIndex
{
set
/// <summary>
/// Gets or sets the component index of the property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int componentIndex
{
set
/// </summary>
/// <param name="index">The element index to access. No bounds checking is performed.</param>
/// <returns>The reference to the element.</returns>
+ /// <since_tizen> 3 </since_tizen>
public PropertyValue this[uint index]
{
get
/// <summary>
/// The constructor.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public PropertyArray() : this(NDalicPINVOKE.new_Property_Array__SWIG_0(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// Retrieves the number of elements in the array.
/// </summary>
/// <returns>The number of elements in the array.</returns>
+ /// <since_tizen> 3 </since_tizen>
public uint Size()
{
uint ret = NDalicPINVOKE.Property_Array_Size(swigCPtr);
/// Retrieves the number of elements in the array.
/// </summary>
/// <returns>The number of elements in the array.</returns>
+ /// <since_tizen> 3 </since_tizen>
public uint Count()
{
uint ret = NDalicPINVOKE.Property_Array_Count(swigCPtr);
/// Returns whether the array is empty.
/// </summary>
/// <returns>Returns true if empty, false otherwise.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool Empty()
{
bool ret = NDalicPINVOKE.Property_Array_Empty(swigCPtr);
/// <summary>
/// Clears the array.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public void Clear()
{
NDalicPINVOKE.Property_Array_Clear(swigCPtr);
/// Increases the capacity of the array.
/// </summary>
/// <param name="size">The size to reserve.</param>
+ /// <since_tizen> 3 </since_tizen>
public void Reserve(uint size)
{
NDalicPINVOKE.Property_Array_Reserve(swigCPtr, size);
/// Resizes to size.
/// </summary>
/// <param name="size">The size to resize</param>
+ /// <since_tizen> 3 </since_tizen>
public void Resize(uint size)
{
NDalicPINVOKE.Property_Array_Resize(swigCPtr, size);
/// Retrieves the capacity of the array.
/// </summary>
/// <returns>The allocated capacity of the array.</returns>
+ /// <since_tizen> 3 </since_tizen>
public uint Capacity()
{
uint ret = NDalicPINVOKE.Property_Array_Capacity(swigCPtr);
/// Adds an element to the array.
/// </summary>
/// <param name="value">The value to add at the end of the array.</param>
+ /// <since_tizen> 3 </since_tizen>
public void PushBack(PropertyValue value)
{
NDalicPINVOKE.Property_Array_PushBack(swigCPtr, PropertyValue.getCPtr(value));
/// Adds an element to the array.
/// </summary>
/// <param name="value">The value to add at the end of the array.</param>
+ /// <since_tizen> 3 </since_tizen>
public PropertyArray Add(PropertyValue value)
{
PropertyArray ret = new PropertyArray(NDalicPINVOKE.Property_Array_Add(swigCPtr, PropertyValue.getCPtr(value)), false);
/// </summary>
/// <param name="index">The element index to access. No bounds checking is performed.</param>
/// <returns>The reference to the element.</returns>
+ /// <since_tizen> 3 </since_tizen>
public PropertyValue GetElementAt(uint index)
{
PropertyValue ret = new PropertyValue(NDalicPINVOKE.Property_Array_GetElementAt__SWIG_0(swigCPtr, index), false);
/// <summary>
/// The type of the key.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public PropertyKey.KeyType Type
{
set
/// <summary>
/// The index key.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int IndexKey
{
set
/// <summary>
/// The string key.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public string StringKey
{
set
/// The constructor.
/// </summary>
/// <param name="key">The string key.</param>
+ /// <since_tizen> 3 </since_tizen>
public PropertyKey(string key) : this(NDalicPINVOKE.new_Property_Key__SWIG_0(key), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// The constructor.
/// </summary>
/// <param name="key">The index key.</param>
+ /// <since_tizen> 3 </since_tizen>
public PropertyKey(int key) : this(NDalicPINVOKE.new_Property_Key__SWIG_1(key), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// </summary>
/// <param name="rhs">A string key to compare against.</param>
/// <returns>Returns true if the key compares, or false if it isn't equal or of the wrong type.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool EqualTo(string rhs)
{
bool ret = NDalicPINVOKE.Property_Key_EqualTo__SWIG_0(swigCPtr, rhs);
/// </summary>
/// <param name="rhs">The index key to compare against.</param>
/// <returns>Returns true if the key compares, or false if it isn't equal or of the wrong type.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool EqualTo(int rhs)
{
bool ret = NDalicPINVOKE.Property_Key_EqualTo__SWIG_1(swigCPtr, rhs);
/// </summary>
/// <param name="rhs">A key to compare against</param>
/// <returns>Returns true if the keys are of the same type and have the same value.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool EqualTo(PropertyKey rhs)
{
bool ret = NDalicPINVOKE.Property_Key_EqualTo__SWIG_2(swigCPtr, PropertyKey.getCPtr(rhs));
/// </summary>
/// <param name="rhs">The index key to compare against.</param>
/// <returns>Returns true if the key is not equal or not a string key.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool NotEqualTo(string rhs)
{
bool ret = NDalicPINVOKE.Property_Key_NotEqualTo__SWIG_0(swigCPtr, rhs);
/// </summary>
/// <param name="rhs">The index key to compare against.</param>
/// <returns>Returns true if the key is not equal, or not the index key.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool NotEqualTo(int rhs)
{
bool ret = NDalicPINVOKE.Property_Key_NotEqualTo__SWIG_1(swigCPtr, rhs);
/// </summary>
/// <param name="rhs">A key to compare against.</param>
/// <returns>Returns true if the keys are not of the same type or are not equal.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool NotEqualTo(PropertyKey rhs)
{
bool ret = NDalicPINVOKE.Property_Key_NotEqualTo__SWIG_2(swigCPtr, PropertyKey.getCPtr(rhs));
/// <summary>
/// The type of key.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum KeyType
{
Index,
/// </summary>
/// <param name="key">The key whose value to access.</param>
/// <returns>A value for the element with the specified key.</returns>
+ /// <since_tizen> 3 </since_tizen>
public PropertyValue this[string key]
{
get
/// </summary>
/// <param name="key">The key whose value to access.</param>
/// <returns>A value for the element with the specified key.</returns>
+ /// <since_tizen> 3 </since_tizen>
public PropertyValue this[int key]
{
get
/// <summary>
/// The constructor.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public PropertyMap() : this(NDalicPINVOKE.new_Property_Map__SWIG_0(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// The copy constructor.
/// </summary>
/// <param name="other">The map to copy from.</param>
+ /// <since_tizen> 3 </since_tizen>
public PropertyMap(PropertyMap other) : this(NDalicPINVOKE.new_Property_Map__SWIG_1(PropertyMap.getCPtr(other)), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// Retrieves the number of elements in the map.
/// </summary>
/// <returns>The number of elements in the map.</returns>
+ /// <since_tizen> 3 </since_tizen>
public uint Count()
{
uint ret = NDalicPINVOKE.Property_Map_Count(swigCPtr);
/// Returns whether the map is empty.
/// </summary>
/// <returns>Returns true if empty, false otherwise.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool Empty()
{
bool ret = NDalicPINVOKE.Property_Map_Empty(swigCPtr);
/// </summary>
/// <param name="key">The key to insert.</param>
/// <param name="value">The value to insert.</param>
+ /// <since_tizen> 3 </since_tizen>
public void Insert(string key, PropertyValue value)
{
NDalicPINVOKE.Property_Map_Insert__SWIG_0(swigCPtr, key, PropertyValue.getCPtr(value));
/// </summary>
/// <param name="key">The key to insert.</param>
/// <param name="value">The value to insert.</param>
+ /// <since_tizen> 3 </since_tizen>
public void Insert(int key, PropertyValue value)
{
NDalicPINVOKE.Property_Map_Insert__SWIG_2(swigCPtr, key, PropertyValue.getCPtr(value));
/// <param name="key">The key to insert.</param>
/// <param name="value">The value to insert.</param>
/// <returns>Returns a reference to this object.</returns>
+ /// <since_tizen> 3 </since_tizen>
public PropertyMap Add(string key, PropertyValue value)
{
PropertyMap ret = new PropertyMap(NDalicPINVOKE.Property_Map_Add__SWIG_0(swigCPtr, key, PropertyValue.getCPtr(value)), false);
/// <param name="key">The key to insert.</param>
/// <param name="value">The value to insert.</param>
/// <returns>Returns a reference to this object.</returns>
+ /// <since_tizen> 3 </since_tizen>
public PropertyMap Add(int key, PropertyValue value)
{
PropertyMap ret = new PropertyMap(NDalicPINVOKE.Property_Map_Add__SWIG_2(swigCPtr, key, PropertyValue.getCPtr(value)), false);
/// </summary>
/// <param name="position">The specified position.</param>
/// <returns>A reference to the value at the specified position.</returns>
+ /// <since_tizen> 3 </since_tizen>
public PropertyValue GetValue(uint position)
{
PropertyValue ret = new PropertyValue(NDalicPINVOKE.Property_Map_GetValue(swigCPtr, position), false);
/// </summary>
/// <param name="position">The specified position.</param>
/// <returns>A copy of the key at the specified position.</returns>
+ /// <since_tizen> 3 </since_tizen>
public PropertyKey GetKeyAt(uint position)
{
PropertyKey ret = new PropertyKey(NDalicPINVOKE.Property_Map_GetKeyAt(swigCPtr, position), true);
/// </summary>
/// <param name="key">The key to find.</param>
/// <returns>The value if it exists, an empty object otherwise.</returns>
+ /// <since_tizen> 3 </since_tizen>
public PropertyValue Find(int key)
{
global::System.IntPtr cPtr = NDalicPINVOKE.Property_Map_Find__SWIG_2(swigCPtr, key);
/// <param name="indexKey">The index key to find.</param>
/// <param name="stringKey">The string key to find.</param>
/// <returns>The value if it exists, an empty object otherwise.</returns>
+ /// <since_tizen> 3 </since_tizen>
public PropertyValue Find(int indexKey, string stringKey)
{
global::System.IntPtr cPtr = NDalicPINVOKE.Property_Map_Find__SWIG_3(swigCPtr, indexKey, stringKey);
/// <summary>
/// Clears the map.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public void Clear()
{
NDalicPINVOKE.Property_Map_Clear(swigCPtr);
/// Any values in 'from' will overwrite the values in the current map.<br>
/// </summary>
/// <param name="from">The map to merge from.</param>
+ /// <since_tizen> 3 </since_tizen>
public void Merge(PropertyMap from)
{
NDalicPINVOKE.Property_Map_Merge(swigCPtr, PropertyMap.getCPtr(from));
/// </summary>
/// <param name="obj">An object to create.</param>
/// <returns>The created value.</returns>
- static public PropertyValue CreateFromObject(System.Object obj)
+ static /// <since_tizen> 3 </since_tizen>
+ public PropertyValue CreateFromObject(System.Object obj)
{
System.Type type = obj.GetType();
/// Creates a Size2D property value.
/// </summary>
/// <param name="vectorValue">Size2D values.</param>
+ /// <since_tizen> 3 </since_tizen>
public PropertyValue(Size2D vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_4(Size2D.getCPtr(vectorValue)), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// Creates a Position2D property value.
/// </summary>
/// <param name="vectorValue">Position2D values.</param>
+ /// <since_tizen> 3 </since_tizen>
public PropertyValue(Position2D vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_4(Position2D.getCPtr(vectorValue)), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// Creates a Position property value.
/// </summary>
/// <param name="vectorValue">Position values.</param>
+ /// <since_tizen> 3 </since_tizen>
public PropertyValue(Position vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_5(Position.getCPtr(vectorValue)), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// Creates a Color property value.
/// </summary>
/// <param name="vectorValue">Color values.</param>
+ /// <since_tizen> 3 </since_tizen>
public PropertyValue(Color vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_6(Color.getCPtr(vectorValue)), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// Retrieves a Size2D value.
/// </summary>
/// <param name="vectorValue"> On return, a Size2D value.</param>
+ /// <since_tizen> 3 </since_tizen>
public bool Get(Size2D vectorValue)
{
bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_5(swigCPtr, Size2D.getCPtr(vectorValue));
/// Retrieves a Position2D value.
/// </summary>
/// <param name="vectorValue"> On return, a Position2D value.</param>
+ /// <since_tizen> 3 </since_tizen>
public bool Get(Position2D vectorValue)
{
bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_5(swigCPtr, Position2D.getCPtr(vectorValue));
/// Retrieves a Position value.
/// </summary>
/// <param name="vectorValue"> On return, a position value.</param>
+ /// <since_tizen> 3 </since_tizen>
public bool Get(Position vectorValue)
{
bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_6(swigCPtr, Position.getCPtr(vectorValue));
/// Retrieves a Color value.
/// </summary>
/// <param name="vectorValue"> On return, a color value.</param>
+ /// <since_tizen> 3 </since_tizen>
public bool Get(Color vectorValue)
{
bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_7(swigCPtr, Color.getCPtr(vectorValue));
/// <summary>
/// The default constructor.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public PropertyValue() : this(NDalicPINVOKE.new_Property_Value__SWIG_0(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// Creates a boolean property value.
/// </summary>
/// <param name="boolValue">A boolean value.</param>
+ /// <since_tizen> 3 </since_tizen>
public PropertyValue(bool boolValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_1(boolValue), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// Creates an integer property value.
/// </summary>
/// <param name="integerValue">An integer value.</param>
+ /// <since_tizen> 3 </since_tizen>
public PropertyValue(int integerValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_2(integerValue), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// Creates a float property value.
/// </summary>
/// <param name="floatValue">A floating-point value.</param>
+ /// <since_tizen> 3 </since_tizen>
public PropertyValue(float floatValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_3(floatValue), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// Creates a Vector2 property value.
/// </summary>
/// <param name="vectorValue">A vector of 2 floating-point values.</param>
+ /// <since_tizen> 3 </since_tizen>
public PropertyValue(Vector2 vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_4(Vector2.getCPtr(vectorValue)), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// Creates a Vector3 property value.
/// </summary>
/// <param name="vectorValue">A vector of 3 floating-point values.</param>
+ /// <since_tizen> 3 </since_tizen>
public PropertyValue(Vector3 vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_5(Vector3.getCPtr(vectorValue)), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// Creates a Vector4 property value.
/// </summary>
/// <param name="vectorValue">A vector of 4 floating-point values.</param>
+ /// <since_tizen> 3 </since_tizen>
public PropertyValue(Vector4 vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_6(Vector4.getCPtr(vectorValue)), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// Creates a Rectangle property value.
/// </summary>
/// <param name="vectorValue">Rectangle values.</param>
+ /// <since_tizen> 3 </since_tizen>
public PropertyValue(Rectangle vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_9(Rectangle.getCPtr(vectorValue)), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// Creates a Rotation property value.
/// </summary>
/// <param name="quaternion">Rotation values.</param>
+ /// <since_tizen> 3 </since_tizen>
public PropertyValue(Rotation quaternion) : this(NDalicPINVOKE.new_Property_Value__SWIG_11(Rotation.getCPtr(quaternion)), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// Creates a string property value.
/// </summary>
/// <param name="stringValue">A string.</param>
+ /// <since_tizen> 3 </since_tizen>
public PropertyValue(string stringValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_12(stringValue), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// Creates an array property value.
/// </summary>
/// <param name="arrayValue">An array.</param>
+ /// <since_tizen> 3 </since_tizen>
public PropertyValue(PropertyArray arrayValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_14(PropertyArray.getCPtr(arrayValue)), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// Creates a map property value.
/// </summary>
/// <param name="mapValue">An array.</param>
+ /// <since_tizen> 3 </since_tizen>
public PropertyValue(PropertyMap mapValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_15(PropertyMap.getCPtr(mapValue)), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// Creates a PropertyType value.
/// </summary>
/// <param name="type">A PropertyType value.</param>
+ /// <since_tizen> 3 </since_tizen>
public PropertyValue(PropertyType type) : this(NDalicPINVOKE.new_Property_Value__SWIG_16((int)type), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// Creates a PropertyValue value.
/// </summary>
/// <param name="value">A PropertyValue value.</param>
+ /// <since_tizen> 3 </since_tizen>
public PropertyValue(PropertyValue value) : this(NDalicPINVOKE.new_Property_Value__SWIG_17(PropertyValue.getCPtr(value)), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// Queries the type of this property value.
/// </summary>
/// <returns>The type ID</returns>
+ /// <since_tizen> 3 </since_tizen>
public new PropertyType GetType()
{
PropertyType ret = (PropertyType)NDalicPINVOKE.Property_Value_GetType(swigCPtr);
/// </summary>
/// <param name="boolValue">On return, a boolean value.</param>
/// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool Get(out bool boolValue)
{
bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_1(swigCPtr, out boolValue);
/// </summary>
/// <param name="floatValue">On return, a floating-point value.</param>
/// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool Get(out float floatValue)
{
bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_2(swigCPtr, out floatValue);
/// </summary>
/// <param name="integerValue">On return, an integer value.</param>
/// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool Get(out int integerValue)
{
bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_3(swigCPtr, out integerValue);
/// </summary>
/// <param name="rect">On return, an integer rectangle.</param>
/// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool Get(Rectangle rect)
{
bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_4(swigCPtr, Rectangle.getCPtr(rect));
/// </summary>
/// <param name="vectorValue">On return, a vector value.</param>
/// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool Get(Vector2 vectorValue)
{
bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_5(swigCPtr, Vector2.getCPtr(vectorValue));
/// </summary>
/// <param name="vectorValue">On return, a vector value.</param>
/// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool Get(Vector3 vectorValue)
{
bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_6(swigCPtr, Vector3.getCPtr(vectorValue));
/// </summary>
/// <param name="vectorValue">On return, a vector value.</param>
/// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool Get(Vector4 vectorValue)
{
bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_7(swigCPtr, Vector4.getCPtr(vectorValue));
/// </summary>
/// <param name="quaternionValue">On return, a rotation value.</param>
/// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool Get(Rotation quaternionValue)
{
bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_11(swigCPtr, Rotation.getCPtr(quaternionValue));
/// </summary>
/// <param name="stringValue">On return, a string.</param>
/// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool Get(out string stringValue)
{
bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_12(swigCPtr, out stringValue);
/// </summary>
/// <param name="arrayValue">On return, the array as a vector property values.</param>
/// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool Get(PropertyArray arrayValue)
{
bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_13(swigCPtr, PropertyArray.getCPtr(arrayValue));
/// </summary>
/// <param name="mapValue">On return, the map as vector of string and property value pairs.</param>
/// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool Get(PropertyMap mapValue)
{
bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_14(swigCPtr, PropertyMap.getCPtr(mapValue));
return ret;
}
}
-}
+}
\ No newline at end of file
namespace Tizen.NUI
{
-
+ /// <summary>
+ /// PropertyBuffer is a handle to an object that contains a buffer of structured properties.<br>
+ /// PropertyBuffers can be used to provide data to Geometry objects.
+ /// </summary>
public class PropertyBuffer : BaseHandle
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
base.Dispose(type);
}
-
+ /// <summary>
+ /// Creates a PropertyBuffer.
+ /// </summary>
+ /// <param name="bufferFormat">The map of names and types that describes the components of the buffer.</param>
+ /// <since_tizen> 3 </since_tizen>
public PropertyBuffer(PropertyMap bufferFormat) : this(NDalicPINVOKE.PropertyBuffer_New(PropertyMap.getCPtr(bufferFormat)), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Gets the number of elements in the buffer.
+ /// </summary>
+ /// <returns>Number of elements to expand or contract the buffer.</returns>
+ /// <since_tizen> 3 </since_tizen>
public uint GetSize()
{
uint ret = NDalicPINVOKE.PropertyBuffer_GetSize(swigCPtr);
}
-}
+}
\ No newline at end of file
base.Dispose(type);
}
-
+ /// <summary>
+ /// Create a property condition instance.
+ /// </summary>
+ /// <since_tizen> 4 </since_tizen>
public PropertyCondition() : this(NDalicPINVOKE.new_PropertyCondition__SWIG_0(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// <summary>
/// Retrieves the arguments that this condition uses.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public uint GetArgumentCount()
{
uint ret = NDalicPINVOKE.PropertyCondition_GetArgumentCount(swigCPtr);
///<summary>
/// Retrieves the arguments that this condition uses
///</summary>
+ ///<since_tizen> 4 </since_tizen>
public float GetArgument(uint index)
{
float ret = NDalicPINVOKE.PropertyCondition_GetArgument(swigCPtr, index);
///<summary>
/// LessThan condition compares whether property is less than arg.
///</summary>
+ ///<since_tizen> 4 </since_tizen>
public static PropertyCondition LessThan(float arg)
{
PropertyCondition ret = new PropertyCondition(NDalicPINVOKE.LessThanCondition(arg), true);
///<summary>
/// GreaterThan condition compares whether property is greater than arg.
///</summary>
+ ///<since_tizen> 4 </since_tizen>
public static PropertyCondition GreaterThan(float arg)
{
PropertyCondition ret = new PropertyCondition(NDalicPINVOKE.GreaterThanCondition(arg), true);
///<summary>
/// Inside condition compares whether property is greater than arg0 and less than arg1.
///</summary>
+ ///<since_tizen> 4 </since_tizen>
public static PropertyCondition Inside(float arg0, float arg1)
{
PropertyCondition ret = new PropertyCondition(NDalicPINVOKE.InsideCondition(arg0, arg1), true);
///<summary>
/// Outside condition compares whether property is less than arg0 or greater than arg1
///</summary>
+ ///<since_tizen> 4 </since_tizen>
public static PropertyCondition Outside(float arg0, float arg1)
{
PropertyCondition ret = new PropertyCondition(NDalicPINVOKE.OutsideCondition(arg0, arg1), true);
///<summary>
/// Detects when a property changes by stepAmount from initialValue, in both positive and negative directions. This will continue checking for multiples of stepAmount.
///</summary>
+ ///<since_tizen> 4 </since_tizen>
public static PropertyCondition Step(float stepAmount, float initialValue)
{
PropertyCondition ret = new PropertyCondition(NDalicPINVOKE.StepCondition__SWIG_0(stepAmount, initialValue), true);
///<summary>
/// Receives notifications as a property goes above/below the inputted values. Values must be ordered and can be either ascending or descending.
///</summary>
+ ///<since_tizen> 4 </since_tizen>
public static PropertyCondition Step(float stepAmount)
{
PropertyCondition ret = new PropertyCondition(NDalicPINVOKE.StepCondition__SWIG_1(stepAmount), true);
}
-}
+}
\ No newline at end of file
base.Dispose(type);
}
- /**
- * @brief Event arguments that passed via Notify signal
- *
- */
+ ///<summary>
+ /// Event arguments that passed via Notify signal
+ ///</summary>
public class NotifyEventArgs : EventArgs
{
private PropertyNotification _propertyNotification;
- /**
- * @brief PropertyNotification - is the PropertyNotification handle that has the notification properties.
- *
- */
+ ///<summary>
+ /// PropertyNotification - is the PropertyNotification handle that has the notification properties.
+ ///</summary>
+ /// <since_tizen> 4 </since_tizen>
public PropertyNotification PropertyNotification
{
get
private DaliEventHandler<object, NotifyEventArgs> _propertyNotificationNotifyEventHandler;
private NotifyEventCallbackDelegate _propertyNotificationNotifyEventCallbackDelegate;
- /**
- * @brief Event for Notified signal which can be used to subscribe/unsubscribe the event handler
- * (in the type of NotifyEventHandler-DaliEventHandler<object,NotifyEventArgs>) provided by the user.
- * Notified signal is emitted when the notification upon a condition of the property being met, has occurred.
- */
+ ///<summary>
+ /// Event for Notified signal which can be used to subscribe/unsubscribe the event handler
+ /// (in the type of NotifyEventHandler-DaliEventHandler<object,NotifyEventArgs>) provided by the user.
+ /// Notified signal is emitted when the notification upon a condition of the property being met, has occurred.
+ ///</summary>
+ /// <since_tizen> 4 </since_tizen>
public event DaliEventHandler<object, NotifyEventArgs> Notified
{
add
}
}
+ /// <summary>
+ /// Get property notification from Intptr.
+ /// </summary>
+ /// <since_tizen> 4 </since_tizen>
public static PropertyNotification GetPropertyNotificationFromPtr(global::System.IntPtr cPtr)
{
PropertyNotification ret = new PropertyNotification(cPtr, false);
return ret;
}
-
+ /// <summary>
+ /// Create a instance of PropertyNotification.
+ /// </summary>
+ /// <since_tizen> 4 </since_tizen>
public PropertyNotification() : this(NDalicPINVOKE.new_PropertyNotification__SWIG_0(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Downcast a PropertyNotification instance.
+ /// </summary>
+ /// <since_tizen> 4 </since_tizen>
public static PropertyNotification DownCast(BaseHandle handle)
{
PropertyNotification ret = Registry.GetManagedBaseHandleFromNativePtr(handle) as PropertyNotification;
return ret;
}
+ /// <summary>
+ /// Create a instance of PropertyNotification.
+ /// </summary>
+ /// <since_tizen> 4 </since_tizen>
public PropertyNotification(PropertyNotification handle) : this(NDalicPINVOKE.new_PropertyNotification__SWIG_1(PropertyNotification.getCPtr(handle)), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Assign.
+ /// </summary>
+ /// <since_tizen> 4 </since_tizen>
public PropertyNotification Assign(PropertyNotification rhs)
{
PropertyNotification ret = new PropertyNotification(NDalicPINVOKE.PropertyNotification_Assign(swigCPtr, PropertyNotification.getCPtr(rhs)), false);
return ret;
}
+ /// <summary>
+ /// Gets the condition of this notification.
+ /// </summary>
+ /// <since_tizen> 4 </since_tizen>
public PropertyCondition GetCondition()
{
PropertyCondition ret = new PropertyCondition(NDalicPINVOKE.PropertyNotification_GetCondition__SWIG_0(swigCPtr), true);
return ret;
}
+ /// <summary>
+ /// Gets the target handle that this notification is observing.
+ /// </summary>
+ /// <since_tizen> 4 </since_tizen>
public Animatable GetTarget()
{
Animatable ret = new Animatable(NDalicPINVOKE.PropertyNotification_GetTarget(swigCPtr), true);
return ret;
}
+ /// <summary>
+ /// Gets the target handle's property index that this notification.
+ /// </summary>
+ /// <since_tizen> 4 </since_tizen>
public int GetTargetProperty()
{
int ret = NDalicPINVOKE.PropertyNotification_GetTargetProperty(swigCPtr);
return ret;
}
+ /// <summary>
+ /// Sets the Notification mode.
+ /// </summary>
+ /// <since_tizen> 4 </since_tizen>
public void SetNotifyMode(PropertyNotification.NotifyMode mode)
{
NDalicPINVOKE.PropertyNotification_SetNotifyMode(swigCPtr, (int)mode);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Retrieves the current Notification mode.
+ /// </summary>
+ /// <since_tizen> 4 </since_tizen>
public PropertyNotification.NotifyMode GetNotifyMode()
{
PropertyNotification.NotifyMode ret = (PropertyNotification.NotifyMode)NDalicPINVOKE.PropertyNotification_GetNotifyMode(swigCPtr);
return ret;
}
+ /// <summary>
+ /// Gets the result of the last condition check that caused a signal emit,
+ /// useful when using NotifyOnChanged mode and need to know what it changed to.
+ /// </summary>
+ /// <since_tizen> 4 </since_tizen>
public bool GetNotifyResult()
{
bool ret = NDalicPINVOKE.PropertyNotification_GetNotifyResult(swigCPtr);
return ret;
}
+ /// <summary>
+ /// Enumeration for description of how to check condition.
+ /// </summary>
+ /// <since_tizen> 4 </since_tizen>
public enum NotifyMode
{
Disabled,
}
-}
+}
\ No newline at end of file
}
-}
+}
\ No newline at end of file
/// <summary>
/// The default constructor, initializes to 0.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Radian() : this(NDalicPINVOKE.new_Radian__SWIG_0(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// Creates an angle in radians.
/// </summary>
/// <param name="value">The initial value in radians.</param>
+ /// <since_tizen> 3 </since_tizen>
public Radian(float value) : this(NDalicPINVOKE.new_Radian__SWIG_1(value), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// Creates an angle in radians from an angle in degrees.
/// </summary>
/// <param name="degree">The initial value in degrees.</param>
+ /// <since_tizen> 3 </since_tizen>
public Radian(Degree degree) : this(NDalicPINVOKE.new_Radian__SWIG_2(Degree.getCPtr(degree)), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// Conversion to float.
/// </summary>
/// <returns>The float value of this radian.</returns>
+ /// <since_tizen> 3 </since_tizen>
public float ConvertToFloat()
{
float ret = NDalicPINVOKE.Radian_ConvertToFloat(swigCPtr);
/// <summary>
/// The value in radians.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float Value
{
set
}
-}
+}
\ No newline at end of file
/// <param name="a">The first operand.</param>
/// <param name="b">The second operand.</param>
/// <returns>True if the boxes are exactly the same.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static bool operator ==(Rectangle a, Rectangle b)
{
// If both are null, or both are same instance, return true.
/// </summary>
/// <param name="o">The object to compare with the current object.</param>
/// <returns>True if boxes are exactly same.</returns>
+ /// <since_tizen> 4 </since_tizen>
public override bool Equals(object o)
{
if(o == null)
/// Serves as the default hash function.
/// </summary>
/// <returns>A hash code for the current object.</returns>
+ /// <since_tizen> 4 </since_tizen>
public override int GetHashCode()
{
return base.GetHashCode();
/// <param name="a">The first rectangle.</param>
/// <param name="b">The second rectangle.</param>
/// <returns>True if the rectangles are not identical.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static bool operator !=(Rectangle a, Rectangle b)
{
return !(a == b);
/// <summary>
/// The x position of the rectangle.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int X
{
set
/// <summary>
/// The Y position of the rectangle.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int Y
{
set
/// <summary>
/// The width of the rectangle.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int Width
{
set
/// <summary>
/// The height of the rectangle.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int Height
{
set
/// <summary>
/// The constructor.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Rectangle() : this(NDalicPINVOKE.new_Rectangle__SWIG_0(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// <param name="y">The y coordinate (or right).</param>
/// <param name="width">The width (or bottom).</param>
/// <param name="height">The height (or top).</param>
+ /// <since_tizen> 3 </since_tizen>
public Rectangle(int x, int y, int width, int height) : this(NDalicPINVOKE.new_Rectangle__SWIG_1(x, y, width, height), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// <param name="newY">The y coordinate.</param>
/// <param name="newWidth">The width.</param>
/// <param name="newHeight">The height./param>
+ /// <since_tizen> 3 </since_tizen>
public void Set(int newX, int newY, int newWidth, int newHeight)
{
NDalicPINVOKE.Rectangle_Set(swigCPtr, newX, newY, newWidth, newHeight);
/// Determines whether or not this rectangle is empty.
/// </summary>
/// <returns>True if width or height are zero.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool IsEmpty()
{
bool ret = NDalicPINVOKE.Rectangle_IsEmpty(swigCPtr);
/// Gets the left of the rectangle.
/// </summary>
/// <returns>The left edge of the rectangle.</returns>
+ /// <since_tizen> 3 </since_tizen>
public int Left()
{
int ret = NDalicPINVOKE.Rectangle_Left(swigCPtr);
/// Gets the right of the rectangle.
/// </summary>
/// <returns>The right edge of the rectangle.</returns>
+ /// <since_tizen> 3 </since_tizen>
public int Right()
{
int ret = NDalicPINVOKE.Rectangle_Right(swigCPtr);
/// Gets the top of the rectangle.
/// </summary>
/// <returns>The top of the rectangle.</returns>
+ /// <since_tizen> 3 </since_tizen>
public int Top()
{
int ret = NDalicPINVOKE.Rectangle_Top(swigCPtr);
/// Gets the bottom of the rectangle.
/// </summary>
/// <returns>The bottom of the rectangle.</returns>
+ /// <since_tizen> 3 </since_tizen>
public int Bottom()
{
int ret = NDalicPINVOKE.Rectangle_Bottom(swigCPtr);
/// Gets the area of the rectangle.
/// </summary>
/// <returns>The area of the rectangle.</returns>
+ /// <since_tizen> 3 </since_tizen>
public int Area()
{
int ret = NDalicPINVOKE.Rectangle_Area(swigCPtr);
/// </summary>
/// <param name="other">The other rectangle to test against this rectangle.</param>
/// <returns>True if the rectangles intersect.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool Intersects(Rectangle other)
{
bool ret = NDalicPINVOKE.Rectangle_Intersects(swigCPtr, Rectangle.getCPtr(other));
/// </summary>
/// <param name="other">The other rectangle to test against this rectangle.</param>
/// <returns>True if the specified rectangle is contained.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool Contains(Rectangle other)
{
bool ret = NDalicPINVOKE.Rectangle_Contains(swigCPtr, Rectangle.getCPtr(other));
}
-}
+}
\ No newline at end of file
/// <param name="arg1">The vector to add.</param>
/// <param name="arg2">The vector to add.</param>
/// <returns>The vector containing the result of the addition.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static RelativeVector2 operator +(RelativeVector2 arg1, RelativeVector2 arg2)
{
RelativeVector2 result = arg1.Add(arg2);
/// <param name="arg1">The vector to subtract.</param>
/// <param name="arg2">The vector to subtract.</param>
/// <returns>The vector containing the result of the subtraction.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static RelativeVector2 operator -(RelativeVector2 arg1, RelativeVector2 arg2)
{
RelativeVector2 result = arg1.Subtract(arg2);
/// <param name="arg1">The vector to multiply.</param>
/// <param name="arg2">The vector to multiply.</param>
/// <returns>The vector containing the result of the multiplication.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static RelativeVector2 operator *(RelativeVector2 arg1, RelativeVector2 arg2)
{
RelativeVector2 result = arg1.Multiply(arg2);
/// <param name="arg1">The vector to multiply.</param>
/// <param name="arg2">The float value to scale the vector.</param>
/// <returns>The vector containing the result of the scaling.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static RelativeVector2 operator *(RelativeVector2 arg1, float arg2)
{
RelativeVector2 result = arg1.Multiply(arg2);
/// <param name="arg1">The vector to divide.</param>
/// <param name="arg2">The vector to divide.</param>
/// <returns>The vector containing the result of the division.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static RelativeVector2 operator /(RelativeVector2 arg1, RelativeVector2 arg2)
{
RelativeVector2 result = arg1.Divide(arg2);
/// <param name="arg1">The vector to divide.</param>
/// <param name="arg2">The float value to scale the vector by.</param>
/// <returns>The vector containing the result of the scaling.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static RelativeVector2 operator /(RelativeVector2 arg1, float arg2)
{
RelativeVector2 result = arg1.Divide(arg2);
/// </summary>
/// <param name="index">The subscript index.</param>
/// <returns>The float at the given index.</returns>
+ /// <since_tizen> 3 </since_tizen>
public float this[uint index]
{
get
/// <summary>
/// The constructor.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public RelativeVector2() : this(NDalicPINVOKE.new_Vector2__SWIG_0(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// </summary>
/// <param name="x">The x component.</param>
/// <param name="y">The y component.</param>
+ /// <since_tizen> 3 </since_tizen>
public RelativeVector2(float x, float y) : this(NDalicPINVOKE.new_Vector2__SWIG_1(x, y), true)
{
ValueCheck(x);
/// The constructor.
/// </summary>
/// <param name="relativeVector3">The RelativeVector3 to create this vector from.</param>
+ /// <since_tizen> 3 </since_tizen>
public RelativeVector2(RelativeVector3 relativeVector3) : this(NDalicPINVOKE.new_Vector2__SWIG_3(RelativeVector3.getCPtr(relativeVector3)), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// The constructor.
/// </summary>
/// <param name="relativeVector4">The RelativeVector4 to create this vector from.</param>
+ /// <since_tizen> 3 </since_tizen>
public RelativeVector2(RelativeVector4 relativeVector4) : this(NDalicPINVOKE.new_Vector2__SWIG_4(RelativeVector4.getCPtr(relativeVector4)), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// </summary>
/// <param name="rhs">The vector to compare.</param>
/// <returns>Returns true if the two vectors are equal, otherwise false.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool EqualTo(RelativeVector2 rhs)
{
bool ret = NDalicPINVOKE.Vector2_EqualTo(swigCPtr, RelativeVector2.getCPtr(rhs));
/// </summary>
/// <param name="rhs">The vector to compare.</param>
/// <returns>Returns true if the two vectors are not equal, otherwise false.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool NotEqualTo(RelativeVector2 rhs)
{
bool ret = NDalicPINVOKE.Vector2_NotEqualTo(swigCPtr, RelativeVector2.getCPtr(rhs));
/// <summary>
/// The x component.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float X
{
set
/// <summary>
/// The y component.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float Y
{
set
/// <summary>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static implicit operator Vector2(RelativeVector2 relativeVector2)
{
return new Vector2(relativeVector2.X, relativeVector2.Y);
/// <summary>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static implicit operator RelativeVector2(Vector2 vec)
{
ValueCheck(vec.X);
}
-
/// <param name="arg1">The vector to add.</param>
/// <param name="arg2">Th vector to add.</param>
/// <returns>The vector containing the result of the addition.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static RelativeVector3 operator +(RelativeVector3 arg1, RelativeVector3 arg2)
{
RelativeVector3 result = arg1.Add(arg2);
/// <param name="arg1">The vector to subtract.</param>
/// <param name="arg2">The vector to subtract.</param>
/// <returns>The vector containing the result of the subtraction.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static RelativeVector3 operator -(RelativeVector3 arg1, RelativeVector3 arg2)
{
RelativeVector3 result = arg1.Subtract(arg2);
/// <param name="arg1">The vector to multiply.</param>
/// <param name="arg2">The vector to multiply.</param>
/// <returns>The vector containing the result of the multiplication.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static RelativeVector3 operator *(RelativeVector3 arg1, RelativeVector3 arg2)
{
RelativeVector3 result = arg1.Multiply(arg2);
/// <param name="arg1">The vector to multiply.</param>
/// <param name="arg2">The float value to scale the vector.</param>
/// <returns>The vector containing the result of the scaling.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static RelativeVector3 operator *(RelativeVector3 arg1, float arg2)
{
RelativeVector3 result = arg1.Multiply(arg2);
/// <param name="arg1">The vector to divide.</param>
/// <param name="arg2">The vector to divide.</param>
/// <returns>The vector containing the result of the division.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static RelativeVector3 operator /(RelativeVector3 arg1, RelativeVector3 arg2)
{
RelativeVector3 result = arg1.Divide(arg2);
/// <param name="arg1">The vector to divide.</param>
/// <param name="arg2">The float value to scale the vector by.</param>
/// <returns>The vector containing the result of the scaling.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static RelativeVector3 operator /(RelativeVector3 arg1, float arg2)
{
RelativeVector3 result = arg1.Divide(arg2);
/// </summary>
/// <param name="index">The subscript index.</param>
/// <returns>The float at the given index.</returns>
+ /// <since_tizen> 3 </since_tizen>
public float this[uint index]
{
get
/// <summary>
/// The constructor.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public RelativeVector3() : this(NDalicPINVOKE.new_Vector3__SWIG_0(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// <param name="x">The x component.</param>
/// <param name="y">The y component.</param>
/// <param name="z">The z component.</param>
+ /// <since_tizen> 3 </since_tizen>
public RelativeVector3(float x, float y, float z) : this(NDalicPINVOKE.new_Vector3__SWIG_1(x, y, z), true)
{
ValueCheck(x);
/// The constructor.
/// </summary>
/// <param name="relativeVector2">The RelativeVector2 to create this vector from.</param>
+ /// <since_tizen> 3 </since_tizen>
public RelativeVector3(RelativeVector2 relativeVector2) : this(NDalicPINVOKE.new_Vector3__SWIG_3(RelativeVector2.getCPtr(relativeVector2)), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// The constructor.
/// </summary>
/// <param name="relativeVector4">The RelativeVector4 to create this vector from.</param>
+ /// <since_tizen> 3 </since_tizen>
public RelativeVector3(RelativeVector4 relativeVector4) : this(NDalicPINVOKE.new_Vector3__SWIG_4(RelativeVector4.getCPtr(relativeVector4)), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// </summary>
/// <param name="rhs">The vector to compare.</param>
/// <returns>Returns true if the two vectors are equal, otherwise false.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool EqualTo(RelativeVector3 rhs)
{
bool ret = NDalicPINVOKE.Vector3_EqualTo(swigCPtr, RelativeVector3.getCPtr(rhs));
/// </summary>
/// <param name="rhs">The vector to compare.</param>
/// <returns>Returns true if the two vectors are not equal, otherwise false.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool NotEqualTo(RelativeVector3 rhs)
{
bool ret = NDalicPINVOKE.Vector3_NotEqualTo(swigCPtr, RelativeVector3.getCPtr(rhs));
/// <summary>
/// The x component.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float X
{
set
/// <summary>
/// The y component.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float Y
{
set
/// <summary>
/// The z component.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float Z
{
set
/// <summary>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static implicit operator Vector3(RelativeVector3 relativeVector3)
{
return new Vector3(relativeVector3.X, relativeVector3.Y, relativeVector3.Z);
/// <summary>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static implicit operator RelativeVector3(Vector3 vec)
{
ValueCheck(vec.X);
}
-
/// <param name="arg1">The vector to add.</param>
/// <param name="arg2">The vector to add.</param>
/// <returns>The vector containing the result of the addition.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static RelativeVector4 operator +(RelativeVector4 arg1, RelativeVector4 arg2)
{
RelativeVector4 result = arg1.Add(arg2);
/// <param name="arg1">The vector to subtract.</param>
/// <param name="arg2">The vector to subtract.</param>
/// <returns>The vector containing the result of the subtraction.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static RelativeVector4 operator -(RelativeVector4 arg1, RelativeVector4 arg2)
{
RelativeVector4 result = arg1.Subtract(arg2);
/// <param name="arg1">The vector to multiply.</param>
/// <param name="arg2">The vector to multiply.</param>
/// <returns>The vector containing the result of the multiplication.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static RelativeVector4 operator *(RelativeVector4 arg1, RelativeVector4 arg2)
{
RelativeVector4 result = arg1.Multiply(arg2);
/// <param name="arg1">The vector to multiply.</param>
/// <param name="arg2">The float value to scale the vector.</param>
/// <returns>The vector containing the result of the scaling.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static RelativeVector4 operator *(RelativeVector4 arg1, float arg2)
{
RelativeVector4 result = arg1.Multiply(arg2);
/// <param name="arg1">The vector to divide.</param>
/// <param name="arg2">The vector to divide.</param>
/// <returns>The vector containing the result of the division.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static RelativeVector4 operator /(RelativeVector4 arg1, RelativeVector4 arg2)
{
RelativeVector4 result = arg1.Divide(arg2);
/// <param name="arg1">The vector to divide.</param>
/// <param name="arg2">The float value to scale the vector by.</param>
/// <returns>The vector containing the result of the scaling.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static RelativeVector4 operator /(RelativeVector4 arg1, float arg2)
{
RelativeVector4 result = arg1.Divide(arg2);
/// </summary>
/// <param name="index">The subscript index.</param>
/// <returns>The float at the given index.</returns>
+ /// <since_tizen> 3 </since_tizen>
public float this[uint index]
{
get
/// <summary>
/// The constructor.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public RelativeVector4() : this(NDalicPINVOKE.new_Vector4__SWIG_0(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// <param name="y">The y component.</param>
/// <param name="z">The z component.</param>
/// <param name="w">The w component.</param>
+ /// <since_tizen> 3 </since_tizen>
public RelativeVector4(float x, float y, float z, float w) : this(NDalicPINVOKE.new_Vector4__SWIG_1(x, y, z, w), true)
{
ValueCheck(x);
/// The constructor.
/// </summary>
/// <param name="relativeVector2">The RelativeVector2 to create this vector from.</param>
+ /// <since_tizen> 3 </since_tizen>
public RelativeVector4(RelativeVector2 relativeVector2) : this(NDalicPINVOKE.new_Vector4__SWIG_3(RelativeVector2.getCPtr(relativeVector2)), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// The constructor.
/// </summary>
/// <param name="relativeVector3">The RelativeVector3 to create this vector from.</param>
+ /// <since_tizen> 3 </since_tizen>
public RelativeVector4(RelativeVector3 relativeVector3) : this(NDalicPINVOKE.new_Vector4__SWIG_4(RelativeVector3.getCPtr(relativeVector3)), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// </summary>
/// <param name="rhs">The vector to compare.</param>
/// <returns>Returns true if the two vectors are equal, otherwise false.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool EqualTo(RelativeVector4 rhs)
{
bool ret = NDalicPINVOKE.Vector4_EqualTo(swigCPtr, RelativeVector4.getCPtr(rhs));
/// </summary>
/// <param name="rhs">The vector to compare.</param>
/// <returns>Returns true if the two vectors are not equal, otherwise false.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool NotEqualTo(RelativeVector4 rhs)
{
bool ret = NDalicPINVOKE.Vector4_NotEqualTo(swigCPtr, RelativeVector4.getCPtr(rhs));
/// <summary>
/// The x component.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float X
{
set
/// <summary>
/// The y component.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float Y
{
set
/// <summary>
/// The z component.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float Z
{
set
/// <summary>
/// The w component.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float W
{
set
/// <summary>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static implicit operator Vector4(RelativeVector4 relativeVector4)
{
return new Vector4(relativeVector4.X, relativeVector4.Y, relativeVector4.Z, relativeVector4.W);
/// <summary>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static implicit operator RelativeVector4(Vector4 vec)
{
ValueCheck(vec.X);
}
-
/// <summary>
/// To make the RelayoutContainer instance be disposed.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public void Dispose()
{
//Throw excpetion if Dispose() is called in separate thread.
/// </summary>
/// <param name="view">The view to relayout.</param>
/// <param name="size">The size to relayout.</param>
+ /// <since_tizen> 3 </since_tizen>
public virtual void Add(View view, Size2D size)
{
NDalicPINVOKE.RelayoutContainer_Add(swigCPtr, View.getCPtr(view), Size2D.getCPtr(size));
}
-}
+}
\ No newline at end of file
namespace Tizen.NUI
{
-
+ /// <summary>
+ /// Renderer is a handle to an object used to show content by combining a Geometry, a TextureSet and a shader.
+ /// </summary>
public class Renderer : Animatable
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
}
+ /// <summary>
+ /// Create an instance of Renderer.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Renderer(Geometry geometry, Shader shader) : this(NDalicPINVOKE.Renderer_New(Geometry.getCPtr(geometry), Shader.getCPtr(shader)), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Sets the geometry to be used by this renderer.
+ /// </summary>
+ /// <param name="geometry">The geometry to be used by this renderer.</param>
+ /// <since_tizen> 3 </since_tizen>
public void SetGeometry(Geometry geometry)
{
NDalicPINVOKE.Renderer_SetGeometry(swigCPtr, Geometry.getCPtr(geometry));
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Gets the geometry used by this renderer.
+ /// </summary>
+ /// <returns>The geometry used by the renderer.</returns>
+ /// <since_tizen> 3 </since_tizen>
public Geometry GetGeometry()
{
System.IntPtr cPtr = NDalicPINVOKE.Renderer_GetGeometry(swigCPtr);
return ret;
}
+ /// <summary>
+ /// Sets effective range of indices to draw from bound index buffer.
+ /// </summary>
+ /// <param name="firstElement">The First element to draw.</param>
+ /// <param name="elementsCount">The number of elements to draw.</param>
+ /// <since_tizen> 3 </since_tizen>
public void SetIndexRange(int firstElement, int elementsCount)
{
NDalicPINVOKE.Renderer_SetIndexRange(swigCPtr, firstElement, elementsCount);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Sets the texture set to be used by this renderer.
+ /// </summary>
+ /// <param name="textureSet">The texture set to be used by this renderer.</param>
+ /// <since_tizen> 3 </since_tizen>
public void SetTextures(TextureSet textureSet)
{
NDalicPINVOKE.Renderer_SetTextures(swigCPtr, TextureSet.getCPtr(textureSet));
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Gets the texture set used by this renderer.
+ /// </summary>
+ /// <returns>The texture set used by the renderer.</returns>
+ /// <since_tizen> 3 </since_tizen>
public TextureSet GetTextures()
{
System.IntPtr cPtr = NDalicPINVOKE.Renderer_GetTextures(swigCPtr);
return ret;
}
+ /// <summary>
+ /// Sets the shader used by this renderer.
+ /// </summary>
+ /// <param name="shader">The shader to be used by this renderer.</param>
+ /// <since_tizen> 3 </since_tizen>
public void SetShader(Shader shader)
{
NDalicPINVOKE.Renderer_SetShader(swigCPtr, Shader.getCPtr(shader));
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Gets the shader used by this renderer.
+ /// </summary>
+ /// <returns>The shader used by the renderer.</returns>
+ /// <since_tizen> 3 </since_tizen>
public Shader GetShader()
{
System.IntPtr cPtr = NDalicPINVOKE.Renderer_GetShader(swigCPtr);
return ret;
}
+ /// <summary>
+ /// Gets and Sets DepthIndex property.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int DepthIndex
{
get
Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.DEPTH_INDEX, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Gets and Sets FaceCullingMode.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int FaceCullingMode
{
get
Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.FACE_CULLING_MODE, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Gets and Sets BlendMode.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int BlendMode
{
get
Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.BLEND_MODE, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Gets and Sets BlendEquationRgb.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int BlendEquationRgb
{
get
Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.BLEND_EQUATION_RGB, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Gets and Sets BlendEquationAlpha.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int BlendEquationAlpha
{
get
Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.BLEND_EQUATION_ALPHA, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Gets and Sets BlendFactorSrcRgb.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int BlendFactorSrcRgb
{
get
Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.BLEND_FACTOR_SRC_RGB, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Gets and Sets BlendFactorDestRgb.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int BlendFactorDestRgb
{
get
Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.BLEND_FACTOR_DEST_RGB, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Gets and Sets BlendFactorSrcAlpha.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int BlendFactorSrcAlpha
{
get
Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.BLEND_FACTOR_SRC_ALPHA, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Gets and Sets BlendFactorDestAlpha.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int BlendFactorDestAlpha
{
get
Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.BLEND_FACTOR_DEST_ALPHA, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Gets and Sets BlendColor.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector4 BlendColor
{
get
Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.BLEND_COLOR, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Gets and Sets BlendPreMultipliedAlpha.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool BlendPreMultipliedAlpha
{
get
Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.BLEND_PRE_MULTIPLIED_ALPHA, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Gets and Sets IndexRangeFirst.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int IndexRangeFirst
{
get
Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.INDEX_RANGE_FIRST, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Gets and Sets IndexRangeCount.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int IndexRangeCount
{
get
Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.INDEX_RANGE_COUNT, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Gets and Sets DepthWriteMode.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int DepthWriteMode
{
get
Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.DEPTH_WRITE_MODE, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Gets and Sets DepthFunction.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int DepthFunction
{
get
Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.DEPTH_FUNCTION, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Gets and Sets DepthTestMode.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int DepthTestMode
{
get
Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.DEPTH_TEST_MODE, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Gets and Sets RenderMode.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int RenderMode
{
get
Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.RENDER_MODE, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Gets and Sets StencilFunction.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int StencilFunction
{
get
Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.STENCIL_FUNCTION, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Gets and Sets StencilFunctionMask.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int StencilFunctionMask
{
get
Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.STENCIL_FUNCTION_MASK, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Gets and Sets StencilFunctionReference.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int StencilFunctionReference
{
get
Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.STENCIL_FUNCTION_REFERENCE, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Gets and Sets StencilMask.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int StencilMask
{
get
Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.STENCIL_MASK, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Gets and Sets StencilOperationOnFail.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int StencilOperationOnFail
{
get
Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.STENCIL_OPERATION_ON_FAIL, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Gets and Sets StencilOperationOnZFail.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int StencilOperationOnZFail
{
get
Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.STENCIL_OPERATION_ON_Z_FAIL, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Gets and Sets StencilOperationOnZPass property.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int StencilOperationOnZPass
{
get
}
-}
+}
\ No newline at end of file
/// <summary>
/// To make the Rotation instance be disposed.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public void Dispose()
{
//Throw excpetion if Dispose() is called in separate thread.
/// <param name="arg1">The first rotation.</param>
/// <param name="arg2">The second rotation.</param>
/// <returns>The rotation containing the result of the addition.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static Rotation operator +(Rotation arg1, Rotation arg2)
{
return arg1.Add(arg2);
/// <param name="arg1">The first rotation.</param>
/// <param name="arg2">The second rotation.</param>
/// <returns>The rotation containing the result of the subtraction.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static Rotation operator -(Rotation arg1, Rotation arg2)
{
return arg1.Subtract(arg2);
/// </summary>
/// <param name="arg1">The first rotation.</param>
/// <returns>The rotation containing the negated result.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static Rotation operator -(Rotation arg1)
{
return arg1.Subtract();
/// <param name="arg1">The first rotation.</param>
/// <param name="arg2">The second rotation.</param>
/// <returns>The rotation containing the result of the multiplication.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static Rotation operator *(Rotation arg1, Rotation arg2)
{
return arg1.Multiply(arg2);
/// <param name="arg1">Rotation.</param>
/// <param name="arg2">The vector to multiply.</param>
/// <returns>The rotation containing the result of the multiplication.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static Vector3 operator *(Rotation arg1, Vector3 arg2)
{
return arg1.Multiply(arg2);
/// <param name="arg1">Rotation.</param>
/// <param name="arg2">A value to scale by.</param>
/// <returns>The rotation containing the result of scaling.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static Rotation operator *(Rotation arg1, float arg2)
{
return arg1.Multiply(arg2);
/// <param name="arg1">The first rotation.</param>
/// <param name="arg2">The second rotation.</param>
/// <returns>The rotation containing the result of scaling.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static Rotation operator /(Rotation arg1, Rotation arg2)
{
return arg1.Divide(arg2);
/// <param name="arg1">Rotation.</param>
/// <param name="arg2">A value to scale by.</param>
/// <returns>The rotation containing the result of scaling.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static Rotation operator /(Rotation arg1, float arg2)
{
return arg1.Divide(arg2);
/// <summary>
/// The default constructor.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Rotation() : this(NDalicPINVOKE.new_Rotation__SWIG_0(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// </summary>
/// <param name="angle">The angle around the axis.</param>
/// <param name="axis">The vector of the axis.</param>
+ /// <since_tizen> 3 </since_tizen>
public Rotation(Radian angle, Vector3 axis) : this(NDalicPINVOKE.new_Rotation__SWIG_1(Radian.getCPtr(angle), Vector3.getCPtr(axis)), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// <summary>
/// (0.0f,0.0f,0.0f,1.0f).
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static Rotation IDENTITY
{
get
/// Helper to check if this is an identity quaternion.
/// </summary>
/// <returns>True if this is identity quaternion.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool IsIdentity()
{
bool ret = NDalicPINVOKE.Rotation_IsIdentity(swigCPtr);
/// <param name="axis">The result of an an axis.</param>
/// <param name="angle">The result of angle in radians.</param>
/// <returns>True if converted correctly.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool GetAxisAngle(Vector3 axis, Radian angle)
{
bool ret = NDalicPINVOKE.Rotation_GetAxisAngle(swigCPtr, Vector3.getCPtr(axis), Radian.getCPtr(angle));
/// Returns the length of the rotation.
/// </summary>
/// <returns>The length of the rotation.</returns>
+ /// <since_tizen> 3 </since_tizen>
public float Length()
{
float ret = NDalicPINVOKE.Rotation_Length(swigCPtr);
/// Returns the squared length of the rotation.
/// </summary>
/// <returns>The squared length of the rotation.</returns>
+ /// <since_tizen> 3 </since_tizen>
public float LengthSquared()
{
float ret = NDalicPINVOKE.Rotation_LengthSquared(swigCPtr);
/// <summary>
/// Normalizes this to unit length.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public void Normalize()
{
NDalicPINVOKE.Rotation_Normalize(swigCPtr);
/// Normalized.
/// </summary>
/// <returns>A normalized version of this rotation.</returns>
+ /// <since_tizen> 3 </since_tizen>
public Rotation Normalized()
{
Rotation ret = new Rotation(NDalicPINVOKE.Rotation_Normalized(swigCPtr), true);
/// <summary>
/// Conjugates this rotation.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public void Conjugate()
{
NDalicPINVOKE.Rotation_Conjugate(swigCPtr);
/// <summary>
/// Inverts this rotation.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public void Invert()
{
NDalicPINVOKE.Rotation_Invert(swigCPtr);
/// Performs the logarithm of a rotation.
/// </summary>
/// <returns>The rotation representing the logarithm.</returns>
+ /// <since_tizen> 3 </since_tizen>
public Rotation Log()
{
Rotation ret = new Rotation(NDalicPINVOKE.Rotation_Log(swigCPtr), true);
/// Performs an exponent.
/// </summary>
/// <returns>The rotation representing the exponent.</returns>
+ /// <since_tizen> 3 </since_tizen>
public Rotation Exp()
{
Rotation ret = new Rotation(NDalicPINVOKE.Rotation_Exp(swigCPtr), true);
/// <param name="q1">The first rotation.</param>
/// <param name="q2">The second rotation.</param>
/// <returns>The dot product of the two rotations.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static float Dot(Rotation q1, Rotation q2)
{
float ret = NDalicPINVOKE.Rotation_Dot(Rotation.getCPtr(q1), Rotation.getCPtr(q2));
/// <param name="q2">The end rotation.</param>
/// <param name="t">A progress value between 0 and 1.</param>
/// <returns>The interpolated rotation.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static Rotation Lerp(Rotation q1, Rotation q2, float t)
{
Rotation ret = new Rotation(NDalicPINVOKE.Rotation_Lerp(Rotation.getCPtr(q1), Rotation.getCPtr(q2), t), true);
/// <param name="q2">The end rotation.</param>
/// <param name="progress">A progress value between 0 and 1.</param>
/// <returns>The interpolated rotation.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static Rotation Slerp(Rotation q1, Rotation q2, float progress)
{
Rotation ret = new Rotation(NDalicPINVOKE.Rotation_Slerp(Rotation.getCPtr(q1), Rotation.getCPtr(q2), progress), true);
/// <param name="q2">The end rotation.</param>
/// <param name="t">A progress value between 0 and 1.</param>
/// <returns>The interpolated rotation.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static Rotation SlerpNoInvert(Rotation q1, Rotation q2, float t)
{
Rotation ret = new Rotation(NDalicPINVOKE.Rotation_SlerpNoInvert(Rotation.getCPtr(q1), Rotation.getCPtr(q2), t), true);
/// <param name="ctrl2">The control rotation for q2.</param>
/// <param name="t">A progress value between 0 and 1.</param>
/// <returns>The interpolated rotation.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static Rotation Squad(Rotation start, Rotation end, Rotation ctrl1, Rotation ctrl2, float t)
{
Rotation ret = new Rotation(NDalicPINVOKE.Rotation_Squad(Rotation.getCPtr(start), Rotation.getCPtr(end), Rotation.getCPtr(ctrl1), Rotation.getCPtr(ctrl2), t), true);
/// <param name="q1">The first rotation.</param>
/// <param name="q2">The second rotation.</param>
/// <returns>The angle between the two rotation.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static float AngleBetween(Rotation q1, Rotation q2)
{
float ret = NDalicPINVOKE.Rotation_AngleBetween(Rotation.getCPtr(q1), Rotation.getCPtr(q2));
}
-}
+}
\ No newline at end of file
namespace Tizen.NUI
{
-
+ /// <summary>
+ /// Sampler is a handle to an object that can be used to provide the sampling parameters to sample textures.
+ /// </summary>
public class Sampler : BaseHandle
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
base.Dispose(type);
}
-
+ /// <summary>
+ /// Create an instance of Sampler.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Sampler() : this(NDalicPINVOKE.Sampler_New(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Sets the filter modes for this sampler.
+ /// </summary>
+ /// <param name="minFilter">The minification filter that will be used.</param>
+ /// <param name="magFilter">The magnification filter that will be used.</param>
+ /// <since_tizen> 3 </since_tizen>
public void SetFilterMode(FilterModeType minFilter, FilterModeType magFilter)
{
NDalicPINVOKE.Sampler_SetFilterMode(swigCPtr, (int)minFilter, (int)magFilter);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Sets the wrap modes for this sampler.
+ /// </summary>
+ /// <param name="uWrap">Wrap mode for u coordinates.</param>
+ /// <param name="vWrap">Wrap mode for v coordinates.</param>
+ /// <since_tizen> 3 </since_tizen>
public void SetWrapMode(WrapModeType uWrap, WrapModeType vWrap)
{
NDalicPINVOKE.Sampler_SetWrapMode__SWIG_0(swigCPtr, (int)uWrap, (int)vWrap);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Sets the wrap modes for this sampler.
+ /// </summary>
+ /// <param name="rWrap">Wrap mode for the x direction.</param>
+ /// <param name="sWrap">Wrap mode for the y direction.</param>
+ /// <param name="tWrap">Wrap mode for the z direction.</param>
+ /// <since_tizen> 3 </since_tizen>
public void SetWrapMode(WrapModeType rWrap, WrapModeType sWrap, WrapModeType tWrap)
{
NDalicPINVOKE.Sampler_SetWrapMode__SWIG_1(swigCPtr, (int)rWrap, (int)sWrap, (int)tWrap);
}
-}
+}
\ No newline at end of file
}
-}
+}
\ No newline at end of file
namespace Tizen.NUI
{
-
+ /// <summary>
+ /// Shader.
+ /// </summary>
public class Shader : Animatable
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
public class Hint
{
+ /// <summary>
+ /// Enumeration for the hint value.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum Value
{
+ /// <summary>
+ /// No hints.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
NONE = 0x00,
+
+ /// <summary>
+ /// Might generate transparent alpha from opaque inputs
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
OUTPUT_IS_TRANSPARENT = 0x01,
+
+ /// <summary>
+ /// Might change position of vertices, this option disables any culling optimizations
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
MODIFIES_GEOMETRY = 0x02
}
}
public static readonly int PROGRAM = NDalicPINVOKE.Shader_Property_PROGRAM_get();
}
+ /// <summary>
+ /// Creates Shader object.
+ /// </summary>
+ /// <param name="vertexShader">The vertex shader code for the effect.</param>
+ /// <param name="fragmentShader">The fragment Shader code for the effect.</param>
+ /// <param name="hints">The hints to define the geometry of the rendered object.</param>
+ /// <since_tizen> 3 </since_tizen>
public Shader(string vertexShader, string fragmentShader, Shader.Hint.Value hints) : this(NDalicPINVOKE.Shader_New__SWIG_0(vertexShader, fragmentShader, (int)hints), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+
+ /// <summary>
+ /// Creates Shader object.
+ /// </summary>
+ /// <param name="vertexShader">The vertex shader code for the effect.</param>
+ /// <param name="fragmentShader">The fragment Shader code for the effect.</param>
+ /// <since_tizen> 3 </since_tizen>
public Shader(string vertexShader, string fragmentShader) : this(NDalicPINVOKE.Shader_New__SWIG_1(vertexShader, fragmentShader), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+
+ /// <summary>
+ /// Gets and Sets the program property.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Tizen.NUI.PropertyMap Program
{
get
}
}
-}
+}
\ No newline at end of file
/// <summary>
/// Dispose.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public void Dispose()
{
//Throw excpetion if Dispose() is called in separate thread.
/// <param name="arg1">Size A.</param>
/// <param name="arg2">Size to assign B.</param>
/// <returns>A size containing the result of the addition.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static Size2D operator +(Size2D arg1, Size2D arg2)
{
return arg1.Add(arg2);
/// <param name="arg1">Size A.</param>
/// <param name="arg2">Size to subtract B.</param>
/// <returns>A size containing the result of the subtraction.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static Size2D operator -(Size2D arg1, Size2D arg2)
{
return arg1.Subtract(arg2);
/// </summary>
/// <param name="arg1">Size for unary negation.</param>
/// <returns>A size containing the negation.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static Size2D operator -(Size2D arg1)
{
return arg1.Subtract();
/// <param name="arg1">Size for multiplication.</param>
/// <param name="arg2">Size to multiply.</param>
/// <returns>A size containing the result of the multiplication.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static Size2D operator *(Size2D arg1, Size2D arg2)
{
return arg1.Multiply(arg2);
/// <param name="arg2">The integer value to scale the size.</param>
/// <returns>A size containing the result of the scaling.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static Size2D operator *(Size2D arg1, int arg2)
{
return arg1.Multiply(arg2);
/// <param name="arg1">Size for division.</param>
/// <param name="arg2">Size to divide.</param>
/// <returns>A size containing the result of the division.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static Size2D operator /(Size2D arg1, Size2D arg2)
{
return arg1.Divide(arg2);
/// <param name="arg1">Size for division.</param>
/// <param name="arg2">The integer value to scale the size by.</param>
/// <returns>A size containing the result of the scaling.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static Size2D operator /(Size2D arg1, int arg2)
{
return arg1.Divide(arg2);
/// </summary>
/// <param name="index">The subscript index.</param>
/// <returns>The float at the given index.</returns>
+ /// <since_tizen> 3 </since_tizen>
public float this[uint index]
{
get
/// <summary>
/// The constructor.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Size2D() : this(NDalicPINVOKE.new_Vector2__SWIG_0(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// </summary>
/// <param name="x">The x (or width) component.</param>
/// <param name="y">The y (or height) component.</param>
+ /// <since_tizen> 3 </since_tizen>
public Size2D(int x, int y) : this(NDalicPINVOKE.new_Vector2__SWIG_1((float)x, (float)y), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// </summary>
/// <param name="rhs">The size to test against.</param>
/// <returns>True if the sizes are equal.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool EqualTo(Size2D rhs)
{
bool ret = NDalicPINVOKE.Vector2_EqualTo(swigCPtr, Size2D.getCPtr(rhs));
/// </summary>
/// <param name="rhs">The size to test against.</param>
/// <returns>True if the sizes are not equal.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool NotEqualTo(Size2D rhs)
{
bool ret = NDalicPINVOKE.Vector2_NotEqualTo(swigCPtr, Size2D.getCPtr(rhs));
/// <summary>
/// The property for the width component of a size.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int Width
{
set
/// <summary>
/// The property for the height component of a size.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int Height
{
set
/// The type cast operator, Size2D to Vector2.
/// </summary>
/// <param name="size">An object of the Size2D type.</param>
+ /// <since_tizen> 3 </since_tizen>
public static implicit operator Vector2(Size2D size)
{
return new Vector2((float)size.Width, (float)size.Height);
/// The type cast operator, Vector2 to Size2D type.
/// </summary>
/// <param name="vec">An object of the Vector2 type.</param>
+ /// <since_tizen> 3 </since_tizen>
public static implicit operator Size2D(Vector2 vec)
{
return new Size2D((int)vec.X, (int)vec.Y);
/// The type cast operator, Size2D to Uint16Pair.
/// </summary>
/// <param name="size2d">An object of the Size2D type.</param>
+ /// <since_tizen> 4 </since_tizen>
public static implicit operator Uint16Pair(Size2D size2d)
{
return new Uint16Pair((uint)size2d.Width, (uint)size2d.Height);
/// The type cast operator, Uint16Pair to Size2D type.
/// </summary>
/// <param name="pair">An object of the Vector2 type.</param>
+ /// <since_tizen> 4 </since_tizen>
public static implicit operator Size2D(Uint16Pair pair)
{
return new Size2D((int)pair.GetWidth(), (int)pair.GetWidth());
}
}
-
/// <summary>
/// StyleManager.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public StyleManager StyleManager
{
get
/// StyleChange - contains the style change information (default font changed or
/// default font size changed or theme has changed).<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public StyleChangeType StyleChange
{
get
/// The StyleChanged signal is emitted after the style (for example, theme or font change) has changed
/// and the controls have been informed.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandler<StyleChangedEventArgs> StyleChanged
{
add
/// Creates a StyleManager handle.<br>
/// This can be initialized with StyleManager::Get().<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public StyleManager() : this(NDalicPINVOKE.new_StyleManager(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// Gets the singleton of StyleManager object.
/// </summary>
/// <returns>A handle to the StyleManager control.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static StyleManager Get()
{
StyleManager ret = new StyleManager(NDalicPINVOKE.StyleManager_Get(), true);
/// instead for those controls.<br>
/// </summary>
/// <param name="themeFile">A relative path is specified for style theme.</param>
+ /// <since_tizen> 3 </since_tizen>
public void ApplyTheme(string themeFile)
{
NDalicPINVOKE.StyleManager_ApplyTheme(swigCPtr, themeFile);
/// <summary>
/// Applies the default Toolkit theme.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public void ApplyDefaultTheme()
{
NDalicPINVOKE.StyleManager_ApplyDefaultTheme(swigCPtr);
/// </summary>
/// <param name="key">The key of the constant.</param>
/// <param name="value">The value of the constant.</param>
+ /// <since_tizen> 3 </since_tizen>
public void AddConstant(string key, PropertyValue value)
{
NDalicPINVOKE.StyleManager_SetStyleConstant(swigCPtr, key, PropertyValue.getCPtr(value));
/// <param name="key">The key of the constant.</param>
/// <param name="valueOut">The value of the constant if it exists.</param>
/// <returns></returns>
+ /// <since_tizen> 3 </since_tizen>
public bool GetConstant(string key, PropertyValue valueOut)
{
bool ret = NDalicPINVOKE.StyleManager_GetStyleConstant(swigCPtr, key, PropertyValue.getCPtr(valueOut));
/// <param name="control">The control to which to apply the style.</param>
/// <param name="jsonFileName">The name of the JSON style file to apply.</param>
/// <param name="styleName">The name of the style within the JSON file to apply.</param>
+ /// <since_tizen> 3 </since_tizen>
public void ApplyStyle(View control, string jsonFileName, string styleName)
{
NDalicPINVOKE.StyleManager_ApplyStyle(swigCPtr, View.getCPtr(control), jsonFileName, styleName);
}
}
-}
+}
\ No newline at end of file
/// </summary>
/// <param name="mode"> The mode of TTS player.</param>
/// <returns> A handle of the TTS player for the given mode.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static TTSPlayer Get(TTSMode mode)
{
TTSPlayer ret = new TTSPlayer(NDalicManualPINVOKE.TtsPlayer_Get__SWIG_0((int)mode), true);
/// Gets the singleton of the TTS player for the default mode.
/// </summary>
/// <returns> A handle of the TTS player for the default mode.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static TTSPlayer Get()
{
TTSPlayer ret = new TTSPlayer(NDalicManualPINVOKE.TtsPlayer_Get__SWIG_1(), true);
/// </summary>
/// <param name="text"> The text to play.</param>
/// <remarks>The TTS player needs to be initialized.</remarks>
+ /// <since_tizen> 3 </since_tizen>
public void Play(string text)
{
NDalicManualPINVOKE.TtsPlayer_Play(swigCPtr, text);
/// Stops playing the utterance.
/// </summary>
/// <remarks>The TTS player needs to be initialized.</remarks>
+ /// <since_tizen> 3 </since_tizen>
public void Stop()
{
NDalicManualPINVOKE.TtsPlayer_Stop(swigCPtr);
/// Pauses the currently playing utterance.
/// </summary>
/// <remarks>The TTS player needs to be initialized.</remarks>
+ /// <since_tizen> 3 </since_tizen>
public void Pause()
{
NDalicManualPINVOKE.TtsPlayer_Pause(swigCPtr);
/// Resumes the previously paused utterance.
/// </summary>
/// <remarks>The TTS player needs to be initialized.</remarks>
+ /// <since_tizen> 3 </since_tizen>
public void Resume()
{
NDalicManualPINVOKE.TtsPlayer_Resume(swigCPtr);
/// </summary>
/// <returns> The current TTS state. </returns>
/// <remarks>The TTS player needs to be initialized.</remarks>
+ /// <since_tizen> 3 </since_tizen>
public TTSState GetState()
{
TTSState ret = (TTSState)NDalicManualPINVOKE.TtsPlayer_GetState(swigCPtr);
/// <summary>
/// State changed event.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandler<StateChangedEventArgs> StateChanged
{
add
/// <summary>
/// Enumeration for the instance of TTS mode.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum TTSMode
{
/// <summary>
/// <summary>
/// Enumeration for the instance of TTS state.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum TTSState
{
/// <summary>
}
-}
+}
\ No newline at end of file
/// <summary>
/// The number of taps property (read-only).
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public uint NumberOfTaps
{
get
/// <summary>
/// The number of touches property (read-only).
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public uint NumberOfTouches
{
get
/// <summary>
/// The screen point property (read-only).
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector2 ScreenPoint
{
get
/// <summary>
/// The local point property (read-only).
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector2 LocalPoint
{
get
/// <summary>
/// Creates a TapGesture.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public TapGesture() : this(NDalicPINVOKE.new_TapGesture__SWIG_0(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
-}
+}
\ No newline at end of file
namespace Tizen.NUI
{
-
+ /// <summary>
+ /// Texture represents a texture object used as input or output by shaders.
+ /// </summary>
public class Texture : BaseHandle
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
base.Dispose(type);
}
+ /// <summary>
+ /// Creates a new Texture object.
+ /// </summary>
+ /// <param name="type">The type of the texture.</param>
+ /// <param name="format">The format of the pixel data.</param>
+ /// <param name="width">The width of the texture.</param>
+ /// <param name="height">The height of the texture.</param>
+ /// <since_tizen> 3 </since_tizen>
public Texture(TextureType type, PixelFormat format, uint width, uint height) : this(NDalicPINVOKE.Texture_New__SWIG_0((int)type, (int)format, width, height), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Uploads data to the texture from a PixelData object.
+ /// </summary>
+ /// <param name="pixelData">The pixelData object.</param>
+ /// <returns>True if the PixelData object has compatible pixel format and fits within the texture, false otherwise.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool Upload(PixelData pixelData)
{
bool ret = NDalicPINVOKE.Texture_Upload__SWIG_0(swigCPtr, PixelData.getCPtr(pixelData));
return ret;
}
+ /// <summary>
+ /// Uploads data to the texture from a PixelData object.
+ /// </summary>
+ /// <param name="pixelData">The pixelData object.</param>
+ /// <param name="layer">The layer of a cube map or array texture.</param>
+ /// <param name="mipmap">The level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.</param>
+ /// <param name="xOffset">The horizontal offset of the rectangular area in the texture that will be updated.</param>
+ /// <param name="yOffset">The vertical offset of the rectangular area in the texture that will be updated.</param>
+ /// <param name="width">The width of the rectangular area in the texture that will be updated.</param>
+ /// <param name="height">height of the rectangular area in the texture that will be updated.</param>
+ /// <returns>True if the PixelData object has compatible pixel format and fits within the texture, false otherwise.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool Upload(PixelData pixelData, uint layer, uint mipmap, uint xOffset, uint yOffset, uint width, uint height)
{
bool ret = NDalicPINVOKE.Texture_Upload__SWIG_1(swigCPtr, PixelData.getCPtr(pixelData), layer, mipmap, xOffset, yOffset, width, height);
return ret;
}
+ /// <summary>
+ /// Generates mipmaps for the texture.<br>
+ /// This will auto generate all the mipmaps for the texture based on the data in the base level.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public void GenerateMipmaps()
{
NDalicPINVOKE.Texture_GenerateMipmaps(swigCPtr);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Returns the width of the texture.<br>
+ /// </summary>
+ /// <returns>The width, in pixels, of the texture.</returns>
+ /// <since_tizen> 3 </since_tizen>
public uint GetWidth()
{
uint ret = NDalicPINVOKE.Texture_GetWidth(swigCPtr);
return ret;
}
+ /// <summary>
+ /// Returns the height of the texture..<br>
+ /// </summary>
+ /// <returns>The height, in pixels, of the texture.</returns>
+ /// <since_tizen> 3 </since_tizen>
public uint GetHeight()
{
uint ret = NDalicPINVOKE.Texture_GetHeight(swigCPtr);
}
-}
+}
\ No newline at end of file
namespace Tizen.NUI
{
-
+ /// <summary>
+ /// TextureSet is a handle to an object that specifies the set of images used as textures by a renderer.<br>
+ /// The images have to be ordered in the same order they are declared in the shader.
+ /// </summary>
public class TextureSet : BaseHandle
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
base.Dispose(type);
}
-
+ /// <summary>
+ /// Create an instance of TextureSet.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public TextureSet() : this(NDalicPINVOKE.TextureSet_New(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Sets the texture at position "index".
+ /// </summary>
+ /// <param name="index">The position in the texture set of the texture.</param>
+ /// <param name="texture">The texture.</param>
+ /// <since_tizen> 3 </since_tizen>
public void SetTexture(uint index, Texture texture)
{
NDalicPINVOKE.TextureSet_SetTexture(swigCPtr, index, Texture.getCPtr(texture));
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Gets the image at position "index".
+ /// </summary>
+ /// <param name="index">The position in the texture set of the image.</param>
+ /// <returns>A handle to the image at the the specified position.</returns>
+ /// <since_tizen> 3 </since_tizen>
public Texture GetTexture(uint index)
{
System.IntPtr cPtr = NDalicPINVOKE.TextureSet_GetTexture(swigCPtr, index);
return ret;
}
+ /// <summary>
+ /// Sets the sampler to be used by the image at position "index".
+ /// </summary>
+ /// <param name="index">The position in the texture set of the image.</param>
+ /// <param name="sampler">The sampler to use.</param>
+ /// <since_tizen> 3 </since_tizen>
public void SetSampler(uint index, Sampler sampler)
{
NDalicPINVOKE.TextureSet_SetSampler(swigCPtr, index, Sampler.getCPtr(sampler));
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Sets the sampler to be used by the image at position "index".
+ /// </summary>
+ /// <param name="index">The position in the texture set of the image.</param>
+ /// <returns>A handle to the sampler at the specified position.</returns>
+ /// <since_tizen> 3 </since_tizen>
public Sampler GetSampler(uint index)
{
System.IntPtr cPtr = NDalicPINVOKE.TextureSet_GetSampler(swigCPtr, index);
return ret;
}
+ /// <summary>
+ /// Gets the number of textures present in the TextureSet.
+ /// </summary>
+ /// <returns>The number of textures in the TextureSet.</returns>
+ /// <since_tizen> 3 </since_tizen>
public uint GetTextureCount()
{
uint ret = NDalicPINVOKE.TextureSet_GetTextureCount(swigCPtr);
}
-}
+}
\ No newline at end of file
namespace Tizen.NUI
{
+ /// <summary>
+ /// The texture type.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum TextureType
{
TEXTURE_2D,
TEXTURE_CUBE
}
-}
+}
\ No newline at end of file
/// (in the type of TickEventHandler-DaliEventHandlerWithReturnType<object,TickEventArgs,bool>)<br>
/// provided by the user. The ticked signal is emitted after specified time interval.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandlerWithReturnType<object, TickEventArgs, bool> Tick
{
add
/// </summary>
/// <param name="milliSec">Interval in milliseconds.</param>
/// <returns>A new timer.</returns>
+ /// <since_tizen> 3 </since_tizen>
public Timer(uint milliSec) : this(NDalicPINVOKE.Timer_New(milliSec), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// Starts the timer.<br>
/// In case a timer is already running, its time is reset and the timer is restarted.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public void Start()
{
NDalicPINVOKE.Timer_Start(swigCPtr);
/// <summary>
/// Stops the timer.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public void Stop()
{
NDalicPINVOKE.Timer_Stop(swigCPtr);
/// <summary>
/// Gets/Sets the interval of the timer.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public uint Interval
{
get
/// Tells whether the timer is running.
/// </summary>
/// <returns>Whether the timer is started or not.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool IsRunning()
{
bool ret = NDalicPINVOKE.Timer_IsRunning(swigCPtr);
}
-}
+}
\ No newline at end of file
/// An uninitialized touch instance.<br>
/// Calling member functions with an uninitialized touch handle is not allowed.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Touch() : this(NDalicPINVOKE.new_Touch__SWIG_0(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// Returns the time (in ms) that the touch event occurred.
/// </summary>
/// <returns>The time (in ms) that the touch event occurred.</returns>
+ /// <since_tizen> 3 </since_tizen>
public uint GetTime()
{
uint ret = NDalicPINVOKE.Touch_GetTime(swigCPtr);
/// Returns the total number of points in this TouchData.
/// </summary>
/// <returns>The total number of points.</returns>
+ /// <since_tizen> 3 </since_tizen>
public uint GetPointCount()
{
uint ret = NDalicPINVOKE.Touch_GetPointCount(swigCPtr);
/// </summary>
/// <param name="point">The point required.</param>
/// <returns>The device ID of this point.</returns>
+ /// <since_tizen> 3 </since_tizen>
public int GetDeviceId(uint point)
{
int ret = NDalicPINVOKE.Touch_GetDeviceId(swigCPtr, point);
/// </summary>
/// <param name="point">The point required.</param>
/// <returns>The state of the point specified.</returns>
+ /// <since_tizen> 3 </since_tizen>
public PointStateType GetState(uint point)
{
PointStateType ret = (PointStateType)NDalicPINVOKE.Touch_GetState(swigCPtr, point);
/// </summary>
/// <param name="point">The point required.</param>
/// <returns>The actor that was underneath the point specified.</returns>
+ /// <since_tizen> 3 </since_tizen>
public View GetHitView(uint point)
{
global::System.IntPtr cPtr = NDalicPINVOKE.Touch_GetHitActor(swigCPtr, point);
/// </summary>
/// <param name="point">The point required.</param>
/// <returns>The coordinates relative to the top-left of the hit actor of the point specified.</returns>
+ /// <since_tizen> 3 </since_tizen>
public Vector2 GetLocalPosition(uint point)
{
Vector2 ret = new Vector2(NDalicPINVOKE.Touch_GetLocalPosition(swigCPtr, point), false);
/// </summary>
/// <param name="point">The point required.</param>
/// <returns>The coordinates relative to the top-left of the screen of the point specified.</returns>
+ /// <since_tizen> 3 </since_tizen>
public Vector2 GetScreenPosition(uint point)
{
Vector2 ret = new Vector2(NDalicPINVOKE.Touch_GetScreenPosition(swigCPtr, point), false);
/// </summary>
/// <param name="point">The point required.</param>
/// <returns>The radius of the press point.</returns>
+ /// <since_tizen> 3 </since_tizen>
public float GetRadius(uint point)
{
float ret = NDalicPINVOKE.Touch_GetRadius(swigCPtr, point);
/// </summary>
/// <param name="point">The point required.</param>
/// <returns>The horizontal and vertical radii of the press point.</returns>
+ /// <since_tizen> 3 </since_tizen>
public Vector2 GetEllipseRadius(uint point)
{
Vector2 ret = new Vector2(NDalicPINVOKE.Touch_GetEllipseRadius(swigCPtr, point), false);
/// </summary>
/// <param name="point">The point required.</param>
/// <returns>The touch pressure.</returns>
+ /// <since_tizen> 3 </since_tizen>
public float GetPressure(uint point)
{
float ret = NDalicPINVOKE.Touch_GetPressure(swigCPtr, point);
}
}
-}
+}
\ No newline at end of file
namespace Tizen.NUI
{
-
+ /// <summary>
+ /// This object translates data from a property array of maps into an array of animators.
+ /// </summary>
public class TransitionData : BaseHandle
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
base.Dispose(type);
}
+ /// <summary>
+ /// Create an instance of TransitionData.
+ /// </summary>
+ /// <param name="transition">The transition data to store (a single animator).</param>
+ /// <since_tizen> 3 </since_tizen>
public TransitionData(PropertyMap transition) : this(NDalicPINVOKE.TransitionData_New__SWIG_0(PropertyMap.getCPtr(transition)), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+
+ /// <summary>
+ /// Create an instance of TransitionData.
+ /// </summary>
+ /// <param name="transition">The transition data to store (an array of maps of animators).</param>
+ /// <since_tizen> 3 </since_tizen>
public TransitionData(PropertyArray transition) : this(NDalicPINVOKE.TransitionData_New__SWIG_1(PropertyArray.getCPtr(transition)), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Create an instance of TransitionData by copy constructor.
+ /// </summary>
+ /// <param name="transition">Handle to an object.</param>
+ /// <since_tizen> 3 </since_tizen>
public TransitionData(TransitionData handle) : this(NDalicPINVOKE.new_TransitionData__SWIG_1(TransitionData.getCPtr(handle)), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// returns the count of the individual property transitions stored within this handle.
+ /// </summary>
+ /// <returns>A handle to the image at the the specified position.</returns>
+ /// <since_tizen> 3 </since_tizen>
public uint Count()
{
uint ret = NDalicPINVOKE.TransitionData_Count(swigCPtr);
return ret;
}
+ /// <summary>
+ /// returns the count of the individual property transitions stored within this handle.
+ /// </summary>
+ /// <param name="index">The index of the animator.</param>
+ /// <returns>A property map representing the animator.</returns>
+ /// <since_tizen> 3 </since_tizen>
public PropertyMap GetAnimatorAt(uint index)
{
PropertyMap ret = new PropertyMap(NDalicPINVOKE.TransitionData_GetAnimatorAt(swigCPtr, index), true);
}
-}
+}
\ No newline at end of file
namespace Tizen.NUI
{
+ /// <summary>
+ /// TypeInfo class for instantiation of registered types and introspection of their actions and signals.
+ /// </summary>
public class TypeInfo : BaseHandle
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
base.Dispose(type);
}
-
+ /// <summary>
+ /// Creates TypeInfo object.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public TypeInfo() : this(NDalicPINVOKE.new_TypeInfo__SWIG_0(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Creates TypeInfo object.
+ /// </summary>
+ /// <param name="handle">This copy constructor is required for (smart) pointer semantics.</param>
+ /// <since_tizen> 3 </since_tizen>
public TypeInfo(TypeInfo handle) : this(NDalicPINVOKE.new_TypeInfo__SWIG_1(TypeInfo.getCPtr(handle)), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Retrieves the type name for this type.
+ /// </summary>
+ /// <returns>The string name.</returns>
+ /// <since_tizen> 3 </since_tizen>
public string GetName()
{
string ret = NDalicPINVOKE.TypeInfo_GetName(swigCPtr);
return ret;
}
+ /// <summary>
+ /// Retrieves the type name for this type.
+ /// </summary>
+ /// <returns>The string name.</returns>
+ /// <since_tizen> 3 </since_tizen>
public string GetBaseName()
{
string ret = NDalicPINVOKE.TypeInfo_GetBaseName(swigCPtr);
return ret;
}
+ /// <summary>
+ /// Creates an object from this type.
+ /// </summary>
+ /// <returns>The BaseHandle for the newly created object.</returns>
+ /// <since_tizen> 3 </since_tizen>
public BaseHandle CreateInstance()
{
BaseHandle ret = new BaseHandle(NDalicPINVOKE.TypeInfo_CreateInstance(swigCPtr), true);
return ret;
}
+ /// <summary>
+ /// Retrieves the number of event side type registered properties for this type.<br>
+ /// This count does not include all properties.
+ /// </summary>
+ /// <returns>The count.</returns>
+ /// <since_tizen> 3 </since_tizen>
public uint GetPropertyCount()
{
uint ret = NDalicPINVOKE.TypeInfo_GetPropertyCount(swigCPtr);
return ret;
}
+ /// <summary>
+ /// Given a property index, retrieve the property name associated with it.
+ /// </summary>
+ /// <param name="index">The property index.</param>
+ /// <returns>The name of the property at the given index.</returns>
+ /// <since_tizen> 3 </since_tizen>
public string GetPropertyName(int index)
{
string ret = NDalicPINVOKE.TypeInfo_GetPropertyName(swigCPtr, index);
}
-}
+}
\ No newline at end of file
/// <summary>
/// The Clicked event will be triggered when the button is touched and the touch point doesn't leave the boundary of the button.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandlerWithReturnType<object, EventArgs, bool> Clicked
{
add
/// <summary>
/// The Pressed event will be triggered when the button is touched.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandlerWithReturnType<object, EventArgs, bool> Pressed
{
add
/// <summary>
/// The Released event will be triggered when the button is touched and the touch point leaves the boundary of the button.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandlerWithReturnType<object, EventArgs, bool> Released
{
add
/// <summary>
/// The StateChanged event will be triggered when the button's state is changed.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandlerWithReturnType<object, EventArgs, bool> StateChanged
{
add
/// <summary>
/// Gets or sets the unselected button foreground or icon visual.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Tizen.NUI.PropertyMap UnselectedVisual
{
get
/// <summary>
/// Gets or sets the selected button foreground or icon visual.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Tizen.NUI.PropertyMap SelectedVisual
{
get
/// <summary>
/// Gets or sets the disabled selected state foreground or icon button visual.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Tizen.NUI.PropertyMap DisabledSelectedVisual
{
get
/// <summary>
/// Gets or sets the disabled unselected state foreground or icon visual.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Tizen.NUI.PropertyMap DisabledUnselectedVisual
{
get
/// <summary>
/// Gets or sets the disabled unselected state background button visual.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Tizen.NUI.PropertyMap UnselectedBackgroundVisual
{
get
/// <summary>
/// Gets or sets the selected background button visual.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Tizen.NUI.PropertyMap SelectedBackgroundVisual
{
get
/// <summary>
/// Gets or sets the disabled while unselected background button visual.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Tizen.NUI.PropertyMap DisabledUnselectedBackgroundVisual
{
get
/// <summary>
/// Gets or sets the disabled while selected background button visual.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Tizen.NUI.PropertyMap DisabledSelectedBackgroundVisual
{
get
/// <summary>
/// Gets or sets the position of the the label in relation to the foreground or icon, if both present.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Align LabelRelativeAlignment
{
get
/// <summary>
/// Gets or sets the padding around the text.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector4 LabelPadding
{
get
/// <summary>
/// Gets or sets the padding around the foreground visual.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector4 ForegroundVisualPadding
{
get
/// Creates an uninitialized button.<br>
/// Only the derived versions can be instantiated.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Button() : this(NDalicPINVOKE.new_Button__SWIG_0(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// <summary>
/// If the autorepeating property is set to true, then the togglable property is set to false.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool AutoRepeating
{
get
/// <summary>
/// By default, this value is set to 0.15 seconds.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float InitialAutoRepeatingDelay
{
get
/// <summary>
/// By default, this value is set to 0.05 seconds.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float NextAutoRepeatingDelay
{
get
/// <summary>
/// If the togglable property is set to true, then the autorepeating property is set to false.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool Togglable
{
get
/// <summary>
/// Gets or sets the togglable button as either selected or unselected, togglable property must be set to true.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool Selected
{
get
/// <summary>
/// Gets or sets the unselected color.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Color UnselectedColor
{
get
/// <summary>
/// Gets or sets the selected color.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Color SelectedColor
{
get
/// <summary>
/// Gets or sets the label.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Tizen.NUI.PropertyMap Label
{
get
/// <summary>
/// Gets or sets the text of the label.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public string LabelText
{
get
/// <summary>
/// Enumeration for describing the position, the text label can be, in relation to the control (and foreground/icon).
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum Align
{
/// <summary>
}
-}
+}
\ No newline at end of file
/// <summary>
/// Creates an initialized CheckBoxButton.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public CheckBoxButton() : this(NDalicPINVOKE.CheckBoxButton_New(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
-}
+}
\ No newline at end of file
/// <summary>
/// An event is sent when the user has touched outside the dialog.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public event EventHandler<TouchedOutsideEventArgs> TouchedOutside
{
add
/// <summary>
/// An event is sent when the popup starts showing.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandler<ShowingEventArgs> Showing
{
add
/// <summary>
/// An event is sent when the popup has been fully displayed.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandler<ShownEventArgs> Shown
{
add
/// <summary>
/// An event is sent when the popup starts to hide.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandler<HidingEventArgs> Hiding
{
add
/// <summary>
/// An event is sent when the popup has been completely hidden.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandler<HiddenEventArgs> Hidden
{
add
/// <summary>
/// Creates the popup.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Popup() : this(NDalicPINVOKE.Popup_New(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// Sets the title for this popup.
/// </summary>
/// <param name="titleView">The actor to set the title.</param>
+ /// <since_tizen> 3 </since_tizen>
public void SetTitle(View titleView)
{
NDalicPINVOKE.Popup_SetTitle(swigCPtr, View.getCPtr(titleView));
/// Sets the content actor.
/// </summary>
/// <param name="content">The actor to use.</param>
+ /// <since_tizen> 3 </since_tizen>
public void SetContent(View content)
{
NDalicPINVOKE.Popup_SetContent(swigCPtr, View.getCPtr(content));
/// Sets the actor to use for the footer in this popup.
/// </summary>
/// <param name="footer">The footer actor to be added to this popup.</param>
+ /// <since_tizen> 3 </since_tizen>
public void SetFooter(View footer)
{
NDalicPINVOKE.Popup_SetFooter(swigCPtr, View.getCPtr(footer));
/// All 4 states changes cause notifications via 4 respective signals that can be connected to.<br>
/// </summary>
/// <param name="displayState">The desired display state to change to.</param>
+ /// <since_tizen> 3 </since_tizen>
public void SetDisplayState(Popup.DisplayStateType displayState)
{
NDalicPINVOKE.Popup_SetDisplayState(swigCPtr, (int)displayState);
/// <summary>
/// The display states of the popup.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum DisplayStateType
{
Showing,
/// The animation modes within the popup.<br>
/// Choose from a predefined mode or "CUSTOM" to use the ANIMATION_IN and ANIMATION_OUT properties.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum AnimationModeType
{
None,
/// The popup is positioned adjacent to it's parent in the direction specified by this mode.<br>
/// NON_CONTEXTUAL disables any contextual positioning.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum ContextualModeType
{
NonContextual,
/// <summary>
/// The popup title.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public PropertyMap Title
{
get
/// <summary>
/// The popup content.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public PropertyMap Content
{
get
/// <summary>
/// The popup footer.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public PropertyMap Footer
{
get
/// <summary>
/// The popup display state.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public DisplayStateType DisplayState
{
get
/// <summary>
/// The touch transparent.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool TouchTransparent
{
get
/// <summary>
/// The popup tail visibility.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool TailVisibility
{
get
/// <summary>
/// The popup tail position.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector3 TailPosition
{
get
/// <summary>
/// The contextual mode.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public ContextualModeType ContextualMode
{
get
/// <summary>
/// The animation duration.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float AnimationDuration
{
get
/// <summary>
/// The animation mode.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public AnimationModeType AnimationMode
{
get
/// <summary>
/// The entry animation.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public PropertyMap EntryAnimation
{
get
/// <summary>
/// The exit animation.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public PropertyMap ExitAnimation
{
get
/// <summary>
/// The auto hide delay.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int AutoHideDelay
{
get
/// <summary>
/// The backing enabled.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool BackingEnabled
{
get
/// <summary>
/// The backing color.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector4 BackingColor
{
get
/// <summary>
/// The background image.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public string PopupBackgroundImage
{
get
/// <summary>
/// The background border.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Rectangle PopupBackgroundBorder
{
get
/// <summary>
/// The tail up image.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public string TailUpImage
{
get
/// <summary>
/// The tail down image.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public string TailDownImage
{
get
/// <summary>
/// The tail left image.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public string TailLeftImage
{
get
/// <summary>
/// The tail right image.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public string TailRightImage
{
get
}
-}
+}
\ No newline at end of file
/// <summary>
/// The event is sent when the ProgressBar value changes.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandler<ValueChangedEventArgs> ValueChanged
{
add
/// <summary>
/// Creates the ProgressBar.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public ProgressBar() : this(NDalicPINVOKE.ProgressBar_New(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// If the value is set to 1, then the progress bar will be set to end.<br>
/// Any value outside the range is ignored.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float ProgressValue
{
get
/// If the value is set to 1, then the progress bar will be set secondary progress to end.<br>
/// Any value outside of the range is ignored.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float SecondaryProgressValue
{
get
/// <summary>
/// Sets the progress bar as \e indeterminate state.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool Indeterminate
{
get
/// The track visual value of progress bar, it's full progress area, and it's shown behind the PROGRESS_VISUAL.<br>
/// Optional. If not supplied, the default track visual will be shown.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Tizen.NUI.PropertyMap TrackVisual
{
get
/// The progress visual value of the progress bar, the size of the progress visual is changed based on the PROGRESS_VALUE.<br>
/// Optional. If not supplied, then the default progress visual will be shown.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Tizen.NUI.PropertyMap ProgressVisual
{
get
/// The secondary progress visual of the progress bar, the size of the secondary progress visual is changed based on the SECONDARY_PROGRESS_VALUE.<br>
/// Optional. If not supplied, then the secondary progress visual will not be shown.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Tizen.NUI.PropertyMap SecondaryProgressVisual
{
get
/// The indeterminate visual of the progress bar.<br>
/// Optional. If not supplied, then the default indeterminate visual will be shown.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Tizen.NUI.PropertyMap IndeterminateVisual
{
get
/// The transition data for the indeterminate visual animation.<br>
/// Optional. If not supplied, then the default animation will be played.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Tizen.NUI.PropertyArray IndeterminateVisualAnimation
{
get
/// <summary>
/// The label visual of the progress bar.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Tizen.NUI.PropertyMap LabelVisual
{
get
}
-}
+}
\ No newline at end of file
/// <summary>
/// Creates the PushButton.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public PushButton() : this(NDalicPINVOKE.PushButton_New(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
}
-}
+}
\ No newline at end of file
/// <summary>
/// Creates an uninitialized RadioButton.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public RadioButton() : this(NDalicPINVOKE.RadioButton_New__SWIG_0(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// Creates an uninitialized RadioButton with the label.
/// </summary>
/// <param name="label">The label text.</param>
+ /// <since_tizen> 3 </since_tizen>
public RadioButton(string label) : this(NDalicPINVOKE.RadioButton_New__SWIG_1(label), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
}
-}
+}
\ No newline at end of file
/// <summary>
/// The current scroll position of the scrollable content.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float CurrentScrollPosition
{
get
/// <summary>
/// The event emitted when panning is finished on the scroll indicator.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandler<PanFinishedEventArgs> PanFinished
{
add
/// <summary>
/// This is the event emitted when the current scroll position of the scrollable content.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public event EventHandler<ScrollIntervalEventArgs> ScrollInterval
{
add
/// Creates an initialized scrollbar.
/// </summary>
/// <param name="direction">The direction of the scrollbar (either vertically or horizontally).</param>
+ /// <since_tizen> 3 </since_tizen>
public ScrollBar(ScrollBar.Direction direction) : this(NDalicPINVOKE.ScrollBar_New__SWIG_0((int)direction), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// <summary>
/// Creates an uninitialized scrollbar.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public ScrollBar() : this(NDalicPINVOKE.ScrollBar_New__SWIG_1(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// <summary>
/// The direction of the scrollbar.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum Direction
{
Vertical = 0,
/// <summary>
/// The indicator height policy.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum IndicatorHeightPolicyType
{
Variable = 0,
/// <summary>
/// The direction of the scrollbar.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Direction ScrollDirection
{
get
/// <summary>
/// The indicator height policy.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public IndicatorHeightPolicyType IndicatorHeightPolicy
{
get
/// <summary>
/// The fixed height of the scroll indicator.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float IndicatorFixedHeight
{
get
/// <summary>
/// The duration in seconds for the scroll indicator to become fully visible.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float IndicatorShowDuration
{
get
/// <summary>
/// The duration in seconds for the scroll indicator to become fully invisible.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float IndicatorHideDuration
{
get
/// <summary>
/// The list of values to get the notification when the current scroll position of the scrollable object goes above or below any of these values.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Tizen.NUI.PropertyArray ScrollPositionIntervals
{
get
/// <summary>
/// The minimum height for a variable size indicator.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float IndicatorMinimumHeight
{
get
/// <summary>
/// The padding at the start of the indicator. For example, the top if the scrollDirection is vertical.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float IndicatorStartPadding
{
get
/// <summary>
/// The padding at the end of the indicator. For example, the bottom if the scrollDirection is vertical.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float IndicatorEndPadding
{
get
}
-}
+}
\ No newline at end of file
using System.Runtime.InteropServices;
using Tizen.NUI.BaseComponents;
+ /// <summary>
+ /// ScrollView contains views that can be scrolled manually (via touch).
+ /// </summary>
public class ScrollView : Scrollable
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
base.Dispose(type);
}
- /**
- * @brief Event arguments that passed via the SnapStarted signal
- *
- */
+ /// <summary>
+ /// Event arguments that passed via the SnapStarted signal.
+ /// </summary>
public class SnapStartedEventArgs : EventArgs
{
private Tizen.NUI.ScrollView.SnapEvent _snapEvent;
- /**
- * @brief SnapEvent - is the SnapEvent information like snap or flick (it tells the target position, scale, rotation for the snap or flick).
- *
- */
+ /// <summary>
+ /// SnapEventInfo is the SnapEvent information like snap or flick (it tells the target position, scale, rotation for the snap or flick).
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Tizen.NUI.ScrollView.SnapEvent SnapEventInfo
{
get
private DaliEventHandler<object, SnapStartedEventArgs> _scrollViewSnapStartedEventHandler;
private SnapStartedCallbackDelegate _scrollViewSnapStartedCallbackDelegate;
- /**
- * @brief Event for the SnapStarted signal which can be used to subscribe or unsubscribe the event handler
- * (in the type of SnapStartedEventHandler-DaliEventHandler<object,SnapStartedEventArgs>) provided by the user.
- * The SnapStarted signal is emitted when the ScrollView has started to snap or flick (it tells the target
- * position, scale, rotation for the snap or flick).
- *
- */
+ /// <summary>
+ /// SnapStarted can be used to subscribe or unsubscribe the event handler
+ /// (in the type of SnapStartedEventHandler-DaliEventHandler<object, SnapStartedEventArgs>) provided by the user.<br>
+ /// The SnapStarted signal is emitted when the ScrollView has started to snap or flick (it tells the target
+ /// position, scale, rotation for the snap or flick).
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event DaliEventHandler<object, SnapStartedEventArgs> SnapStarted
{
add
}
}
+ /// <summary>
+ /// Snaps signal event's data.
+ /// </summary>
public class SnapEvent : global::System.IDisposable
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
}
}
+ /// <summary>
+ /// Dispose.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public void Dispose()
{
//Throw excpetion if Dispose() is called in separate thread.
}
}
+ /// <summary>
+ /// Scroll position.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector2 position
{
set
}
}
+ /// <summary>
+ /// Scroll duration.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float duration
{
set
}
}
+ /// <summary>
+ /// Create an instance of SnapEvent.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public SnapEvent() : this(NDalicPINVOKE.new_ScrollView_SnapEvent(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Create an instance of ScrollView.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public ScrollView() : this(NDalicPINVOKE.ScrollView_New(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Gets snap-animation's AlphaFunction.
+ /// </summary>
+ /// <returns>Current easing alpha function of the snap animation.</returns>
+ /// <since_tizen> 3 </since_tizen>
public AlphaFunction GetScrollSnapAlphaFunction()
{
AlphaFunction ret = new AlphaFunction(NDalicPINVOKE.ScrollView_GetScrollSnapAlphaFunction(swigCPtr), true);
return ret;
}
+ /// <summary>
+ /// Sets snap-animation's AlphaFunction.
+ /// </summary>
+ /// <param name="alpha">Easing alpha function of the snap animation.</param>
+ /// <since_tizen> 3 </since_tizen>
public void SetScrollSnapAlphaFunction(AlphaFunction alpha)
{
NDalicPINVOKE.ScrollView_SetScrollSnapAlphaFunction(swigCPtr, AlphaFunction.getCPtr(alpha));
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Gets flick-animation's AlphaFunction.
+ /// </summary>
+ /// <returns>Current easing alpha function of the flick animation.</returns>
+ /// <since_tizen> 3 </since_tizen>
public AlphaFunction GetScrollFlickAlphaFunction()
{
AlphaFunction ret = new AlphaFunction(NDalicPINVOKE.ScrollView_GetScrollFlickAlphaFunction(swigCPtr), true);
return ret;
}
+ /// <summary>
+ /// Sets flick-animation's AlphaFunction.
+ /// </summary>
+ /// <param name="alpha">Easing alpha function of the flick animation.</param>
+ /// <since_tizen> 3 </since_tizen>
public void SetScrollFlickAlphaFunction(AlphaFunction alpha)
{
NDalicPINVOKE.ScrollView_SetScrollFlickAlphaFunction(swigCPtr, AlphaFunction.getCPtr(alpha));
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Gets the time for the scroll snap-animation.
+ /// </summary>
+ /// <returns>The time in seconds for the animation to take.</returns>
+ /// <since_tizen> 3 </since_tizen>
public float GetScrollSnapDuration()
{
float ret = NDalicPINVOKE.ScrollView_GetScrollSnapDuration(swigCPtr);
return ret;
}
+ /// <summary>
+ /// Sets the time for the scroll snap-animation.
+ /// </summary>
+ /// <param name="time">The time in seconds for the animation to take.</param>
+ /// <since_tizen> 3 </since_tizen>
public void SetScrollSnapDuration(float time)
{
NDalicPINVOKE.ScrollView_SetScrollSnapDuration(swigCPtr, time);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Gets the time for the scroll flick-animation.
+ /// </summary>
+ /// <returns>The time in seconds for the animation to take.</returns>
+ /// <since_tizen> 3 </since_tizen>
public float GetScrollFlickDuration()
{
float ret = NDalicPINVOKE.ScrollView_GetScrollFlickDuration(swigCPtr);
return ret;
}
+ /// <summary>
+ /// Sets the time for the scroll snap-animation.
+ /// </summary>
+ /// <param name="time">The time in seconds for the animation to take.</param>
+ /// <since_tizen> 3 </since_tizen>
public void SetScrollFlickDuration(float time)
{
NDalicPINVOKE.ScrollView_SetScrollFlickDuration(swigCPtr, time);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
-
+ /// <summary>
+ /// Sets scroll sensibility of pan gesture.
+ /// </summary>
+ /// <param name="sensitive">True to enable scroll, false to disable scrolling.</param>
+ /// <since_tizen> 3 </since_tizen>
public void SetScrollSensitive(bool sensitive)
{
NDalicPINVOKE.ScrollView_SetScrollSensitive(swigCPtr, sensitive);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Sets maximum overshoot amount.
+ /// </summary>
+ /// <param name="overshootX">The maximum number of horizontally scrolled pixels before overshoot X reaches 1.0f.</param>
+ /// <param name="overshootY">The maximum number of vertically scrolled pixels before overshoot X reaches 1.0f.</param>
+ /// <since_tizen> 3 </since_tizen>
public void SetMaxOvershoot(float overshootX, float overshootY)
{
NDalicPINVOKE.ScrollView_SetMaxOvershoot(swigCPtr, overshootX, overshootY);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Sets Snap Overshoot animation's AlphaFunction.
+ /// </summary>
+ /// <param name="alpha">Easing alpha function of the overshoot snap animation.</param>
+ /// <since_tizen> 3 </since_tizen>
public void SetSnapOvershootAlphaFunction(AlphaFunction alpha)
{
NDalicPINVOKE.ScrollView_SetSnapOvershootAlphaFunction(swigCPtr, AlphaFunction.getCPtr(alpha));
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Sets Snap Overshoot animation's Duration.
+ /// </summary>
+ /// <param name="duration">duration The duration of the overshoot snap animation.</param>
+ /// <since_tizen> 3 </since_tizen>
public void SetSnapOvershootDuration(float duration)
{
NDalicPINVOKE.ScrollView_SetSnapOvershootDuration(swigCPtr, duration);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Enables or Disables Actor Auto-Snap mode.<br>
+ /// When Actor Auto-Snap mode has been enabled, ScrollView will automatically,
+ /// snap to the closest actor (The closest actor will appear in the center of the ScrollView).
+ /// </summary>
+ /// <param name="enable">Enables (true), or disables (false) Actor AutoSnap.</param>
+ /// <since_tizen> 3 </since_tizen>
public void SetViewAutoSnap(bool enable)
{
NDalicPINVOKE.ScrollView_SetActorAutoSnap(swigCPtr, enable);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Enables or Disables Wrap mode for ScrollView contents.<br>
+ /// When enabled, the ScrollView contents are wrapped over the X/Y Domain.
+ /// </summary>
+ /// <param name="enable">Enables (true), or disables (false) Wrap Mode.</param>
+ /// <since_tizen> 3 </since_tizen>
public void SetWrapMode(bool enable)
{
NDalicPINVOKE.ScrollView_SetWrapMode(swigCPtr, enable);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Gets the current distance needed to scroll for ScrollUpdatedSignal to be emitted.
+ /// </summary>
+ /// <returns>Current scroll update distance.</returns>
+ /// <since_tizen> 3 </since_tizen>
public int GetScrollUpdateDistance()
{
int ret = NDalicPINVOKE.ScrollView_GetScrollUpdateDistance(swigCPtr);
return ret;
}
+ /// <summary>
+ /// Sets the distance needed to scroll for ScrollUpdatedSignal to be emitted.<br>
+ /// The scroll update distance tells ScrollView how far to move before ScrollUpdatedSignal the informs application.<br>
+ /// Each time the ScrollView crosses this distance the signal will be emitted.<br>
+ /// </summary>
+ /// <param name="distance">The distance for ScrollView to move before emitting update signal.</param>
+ /// <since_tizen> 3 </since_tizen>
public void SetScrollUpdateDistance(int distance)
{
NDalicPINVOKE.ScrollView_SetScrollUpdateDistance(swigCPtr, distance);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Returns state of Axis Auto Lock mode.
+ /// </summary>
+ /// <returns>Whether Axis Auto Lock mode has been enabled or not.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool GetAxisAutoLock()
{
bool ret = NDalicPINVOKE.ScrollView_GetAxisAutoLock(swigCPtr);
return ret;
}
+ /// <summary>
+ /// Enables or Disables Axis Auto Lock mode for panning within the ScrollView.<br>
+ /// When enabled, any pan gesture that appears mostly horizontal or mostly
+ /// vertical, will be automatically restricted to horizontal only or vertical
+ /// only panning, until the pan gesture has completed.
+ /// </summary>
+ /// <param name="enable">Enables (true), or disables (false) AxisAutoLock mode.</param>
+ /// <since_tizen> 3 </since_tizen>
public void SetAxisAutoLock(bool enable)
{
NDalicPINVOKE.ScrollView_SetAxisAutoLock(swigCPtr, enable);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Gets the gradient threshold at which a panning gesture should be locked to the Horizontal or Vertical axis.
+ /// </summary>
+ /// <returns>The gradient, a value between 0.0 and 1.0f.</returns>
+ /// <since_tizen> 3 </since_tizen>
public float GetAxisAutoLockGradient()
{
float ret = NDalicPINVOKE.ScrollView_GetAxisAutoLockGradient(swigCPtr);
return ret;
}
+ /// <summary>
+ /// Sets the gradient threshold at which a panning gesture should be locked to the Horizontal or Vertical axis.<br>
+ /// By default, this is 0.36 (0.36:1) which means angles less than 20 degrees to an axis will lock to that axis.<br>
+ /// </summary>
+ /// <param name="gradient">gradient A value between 0.0 and 1.0 (auto-lock for all angles).</param>
+ /// <since_tizen> 3 </since_tizen>
public void SetAxisAutoLockGradient(float gradient)
{
NDalicPINVOKE.ScrollView_SetAxisAutoLockGradient(swigCPtr, gradient);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Gets the friction coefficient setting for ScrollView when flicking in free panning mode.
+ /// This is a value in stage-diagonals per second^2, stage-diagonal = Length( stage.width, stage.height )
+ /// </summary>
+ /// <returns>Friction coefficient is returned.</returns>
+ /// <since_tizen> 3 </since_tizen>
public float GetFrictionCoefficient()
{
float ret = NDalicPINVOKE.ScrollView_GetFrictionCoefficient(swigCPtr);
return ret;
}
+ /// <summary>
+ /// Sets the friction coefficient for ScrollView when flicking.<br>
+ /// </summary>
+ /// <param name="friction">Friction coefficient must be greater than 0.0 (default = 1.0).</param>
+ /// <since_tizen> 3 </since_tizen>
public void SetFrictionCoefficient(float friction)
{
NDalicPINVOKE.ScrollView_SetFrictionCoefficient(swigCPtr, friction);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Gets the flick speed coefficient for ScrollView when flicking in free panning mode.<br>
+ /// This is a constant which multiplies the input touch flick velocity to determine the actual velocity at which to move the scrolling area.
+ /// </summary>
+ /// <returns>The flick speed coefficient is returned.</returns>
+ /// <since_tizen> 3 </since_tizen>
public float GetFlickSpeedCoefficient()
{
float ret = NDalicPINVOKE.ScrollView_GetFlickSpeedCoefficient(swigCPtr);
return ret;
}
+ /// <summary>
+ /// Sets the flick speed coefficient for ScrollView when flicking in free panning mode.<br>
+ /// This is a constant which multiplies the input touch flick velocity to determine the actual velocity at
+ /// which to move the scrolling area.<br>
+ /// </summary>
+ /// <param name="speed">The flick speed coefficient (default = 1.0).</param>
+ /// <since_tizen> 3 </since_tizen>
public void SetFlickSpeedCoefficient(float speed)
{
NDalicPINVOKE.ScrollView_SetFlickSpeedCoefficient(swigCPtr, speed);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Gets the minimum pan distance required for a flick gesture in pixels.<br>
+ /// </summary>
+ /// <returns>Minimum pan distance vector with separate x and y distance.</returns>
+ /// <since_tizen> 3 </since_tizen>
public Vector2 GetMinimumDistanceForFlick()
{
Vector2 ret = new Vector2(NDalicPINVOKE.ScrollView_GetMinimumDistanceForFlick(swigCPtr), true);
return ret;
}
+ /// <summary>
+ /// Sets the minimum pan distance required for a flick in pixels.<br>
+ /// Takes a Vector2 containing separate x and y values. As long as the pan distance exceeds one of these axes, a flick will be allowed.
+ /// </summary>
+ /// <param name="distance">The flick speed coefficient (default = 1.0).</param>
+ /// <since_tizen> 3 </since_tizen>
public void SetMinimumDistanceForFlick(Vector2 distance)
{
NDalicPINVOKE.ScrollView_SetMinimumDistanceForFlick(swigCPtr, Vector2.getCPtr(distance));
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Returns the minimum pan speed required for a flick gesture in pixels per second.
+ /// </summary>
+ /// <returns>Minimum pan speed.</returns>
+ /// <since_tizen> 3 </since_tizen>
public float GetMinimumSpeedForFlick()
{
float ret = NDalicPINVOKE.ScrollView_GetMinimumSpeedForFlick(swigCPtr);
return ret;
}
+ /// <summary>
+ /// Sets the minimum pan speed required for a flick in pixels per second.<br>
+ /// </summary>
+ /// <param name="speed">The minimum pan speed for a flick.</param>
+ /// <since_tizen> 3 </since_tizen>
public void SetMinimumSpeedForFlick(float speed)
{
NDalicPINVOKE.ScrollView_SetMinimumSpeedForFlick(swigCPtr, speed);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Gets the maximum flick speed setting for ScrollView when flicking in free panning mode.<br>
+ /// This is a value in stage-diagonals per second.
+ /// </summary>
+ /// <returns>Maximum flick speed is returned.</returns>
+ /// <since_tizen> 3 </since_tizen>
public float GetMaxFlickSpeed()
{
float ret = NDalicPINVOKE.ScrollView_GetMaxFlickSpeed(swigCPtr);
return ret;
}
+ /// <summary>
+ /// Sets the maximum flick speed for the ScrollView when flicking in free panning mode.<br>
+ /// This is a value in stage-diagonals per second. stage-diagonal = Length( stage.width, stage.height ).<br>
+ /// </summary>
+ /// <param name="speed">Maximum flick speed (default = 3.0).</param>
+ /// <since_tizen> 3 </since_tizen>
public void SetMaxFlickSpeed(float speed)
{
NDalicPINVOKE.ScrollView_SetMaxFlickSpeed(swigCPtr, speed);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Gets the step of scroll distance in actor coordinates for each wheel event received in free panning mode.<br>
+ /// </summary>
+ /// <returns>The step of scroll distance(pixel) in X and Y axes.</returns>
+ /// <since_tizen> 3 </since_tizen>
public Vector2 GetWheelScrollDistanceStep()
{
Vector2 ret = new Vector2(NDalicPINVOKE.ScrollView_GetWheelScrollDistanceStep(swigCPtr), true);
return ret;
}
+ /// <summary>
+ /// Sets the step of scroll distance in actor coordinates for each wheel event received in free panning mode.<br>
+ /// </summary>
+ /// <param name="step">step The step of scroll distance(pixel) in X and Y axes.</param>
+ /// <since_tizen> 3 </since_tizen>
public void SetWheelScrollDistanceStep(Vector2 step)
{
NDalicPINVOKE.ScrollView_SetWheelScrollDistanceStep(swigCPtr, Vector2.getCPtr(step));
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Retrieves current scroll position.<br>
+ /// </summary>
+ /// <returns>The current scroll position.</returns>
+ /// <since_tizen> 3 </since_tizen>
public Vector2 GetCurrentScrollPosition()
{
Vector2 ret = new Vector2(NDalicPINVOKE.ScrollView_GetCurrentScrollPosition(swigCPtr), true);
return ret;
}
+ /// <summary>
+ /// Retrieves current scroll page based on ScrollView dimensions being the size of one page, and all pages laid out in<br>
+ /// a grid fashion, increasing from left to right until the end of the X-domain.
+ /// </summary>
+ /// <returns>The current scroll position.</returns>
+ /// <since_tizen> 3 </since_tizen>
public uint GetCurrentPage()
{
uint ret = NDalicPINVOKE.ScrollView_GetCurrentPage(swigCPtr);
return ret;
}
+ /// <summary>
+ /// Scrolls View to position specified (contents will scroll to this position).
+ /// </summary>
+ /// <param name="position">The position to scroll to.</param>
+ /// <since_tizen> 3 </since_tizen>
public void ScrollTo(Vector2 position)
{
NDalicPINVOKE.ScrollView_ScrollTo__SWIG_0(swigCPtr, Vector2.getCPtr(position));
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Scrolls View to position specified (contents will scroll to this position).
+ /// </summary>
+ /// <param name="position">The position to scroll to.</param>
+ /// <param name="duration">The duration of the animation in seconds.</param>
+ /// <since_tizen> 3 </since_tizen>
public void ScrollTo(Vector2 position, float duration)
{
NDalicPINVOKE.ScrollView_ScrollTo__SWIG_1(swigCPtr, Vector2.getCPtr(position), duration);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Scrolls View to position specified (contents will scroll to this position).
+ /// </summary>
+ /// <param name="position">The position to scroll to.</param>
+ /// <param name="duration">The duration of the animation in seconds.</param>
+ /// <param name="alpha">The alpha function to use.</param>
+ /// <since_tizen> 3 </since_tizen>
public void ScrollTo(Vector2 position, float duration, AlphaFunction alpha)
{
NDalicPINVOKE.ScrollView_ScrollTo__SWIG_2(swigCPtr, Vector2.getCPtr(position), duration, AlphaFunction.getCPtr(alpha));
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Scrolls View to position specified (contents will scroll to this position).
+ /// </summary>
+ /// <param name="position">The position to scroll to.</param>
+ /// <param name="duration">The duration of the animation in seconds.</param>
+ /// <param name="horizontalBias">Whether to bias scrolling to left or right.</param>
+ /// <param name="verticalBias">Whether to bias scrolling to top or bottom.</param>
+ /// <since_tizen> 3 </since_tizen>
public void ScrollTo(Vector2 position, float duration, DirectionBias horizontalBias, DirectionBias verticalBias)
{
NDalicPINVOKE.ScrollView_ScrollTo__SWIG_3(swigCPtr, Vector2.getCPtr(position), duration, (int)horizontalBias, (int)verticalBias);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Scrolls View to position specified (contents will scroll to this position).
+ /// </summary>
+ /// <param name="position">The position to scroll to.</param>
+ /// <param name="duration">The duration of the animation in seconds.</param>
+ /// <param name="alpha">Alpha function to use.</param>
+ /// <param name="horizontalBias">Whether to bias scrolling to left or right.</param>
+ /// <param name="verticalBias">Whether to bias scrolling to top or bottom.</param>
+ /// <since_tizen> 3 </since_tizen>
public void ScrollTo(Vector2 position, float duration, AlphaFunction alpha, DirectionBias horizontalBias, DirectionBias verticalBias)
{
NDalicPINVOKE.ScrollView_ScrollTo__SWIG_4(swigCPtr, Vector2.getCPtr(position), duration, AlphaFunction.getCPtr(alpha), (int)horizontalBias, (int)verticalBias);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Scrolls View to position specified (contents will scroll to this position).
+ /// </summary>
+ /// <param name="page">The page to scroll to.</param>
+ /// <since_tizen> 3 </since_tizen>
public void ScrollTo(uint page)
{
NDalicPINVOKE.ScrollView_ScrollTo__SWIG_5(swigCPtr, page);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Scrolls View to position specified (contents will scroll to this position).
+ /// </summary>
+ /// <param name="page">The page to scroll to.</param>
+ /// <param name="duration">The duration of the animation in seconds.</param>
+ /// <since_tizen> 3 </since_tizen>
public void ScrollTo(uint page, float duration)
{
NDalicPINVOKE.ScrollView_ScrollTo__SWIG_6(swigCPtr, page, duration);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Scrolls View to position specified (contents will scroll to this position).
+ /// </summary>
+ /// <param name="page">The page to scroll to.</param>
+ /// <param name="duration">The duration of the animation in seconds.</param>
+ /// <param name="bias">Whether to bias scrolling to left or right.</param>
+ /// <since_tizen> 3 </since_tizen>
public void ScrollTo(uint page, float duration, DirectionBias bias)
{
NDalicPINVOKE.ScrollView_ScrollTo__SWIG_7(swigCPtr, page, duration, (int)bias);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Scrolls View to position specified (contents will scroll to this position).
+ /// </summary>
+ /// <param name="view">The view to center in on (via Scrolling).</param>
+ /// <since_tizen> 3 </since_tizen>
public void ScrollTo(View view)
{
NDalicPINVOKE.ScrollView_ScrollTo__SWIG_8(swigCPtr, View.getCPtr(view));
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Scrolls View to position specified (contents will scroll to this position).
+ /// </summary>
+ /// <param name="view">The view to center in on (via Scrolling).</param>
+ /// <param name="duration">The duration of the animation in seconds.</param>
+ /// <since_tizen> 3 </since_tizen>
public void ScrollTo(View view, float duration)
{
NDalicPINVOKE.ScrollView_ScrollTo__SWIG_9(swigCPtr, View.getCPtr(view), duration);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Scrolls View to the nearest snap points as specified by the Rulers.<br>
+ /// If already at snap points, then will return false, and not scroll.<br>
+ /// </summary>
+ /// <returns>True if Snapping necessary.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool ScrollToSnapPoint()
{
bool ret = NDalicPINVOKE.ScrollView_ScrollToSnapPoint(swigCPtr);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Applies Effect to ScrollView.
+ /// </summary>
+ /// <param name="effect">The effect to apply to scroll view.</param>
+ /// <since_tizen> 3 </since_tizen>
public void ApplyEffect(ScrollViewEffect effect)
{
NDalicPINVOKE.ScrollView_ApplyEffect(swigCPtr, ScrollViewEffect.getCPtr(effect));
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Removes Effect from ScrollView.
+ /// </summary>
+ /// <param name="effect">The effect to remove.</param>
+ /// <since_tizen> 3 </since_tizen>
public void RemoveEffect(ScrollViewEffect effect)
{
NDalicPINVOKE.ScrollView_RemoveEffect(swigCPtr, ScrollViewEffect.getCPtr(effect));
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Remove All Effects from ScrollView.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public void RemoveAllEffects()
{
NDalicPINVOKE.ScrollView_RemoveAllEffects(swigCPtr);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Binds view to this ScrollView.
+ /// Once an actor is bound to a ScrollView, it will be subject to that ScrollView's properties.
+ /// </summary>
+ /// <param name="child">The view to add to this ScrollView.</param>
+ /// <since_tizen> 3 </since_tizen>
public void BindView(View child)
{
NDalicPINVOKE.ScrollView_BindActor(swigCPtr, View.getCPtr(child));
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Unbinds view to this ScrollView.
+ /// Once an actor is bound to a ScrollView, it will be subject to that ScrollView's properties.
+ /// </summary>
+ /// <param name="child">The view to remove to this ScrollView.</param>
+ /// <since_tizen> 3 </since_tizen>
public void UnbindView(View child)
{
NDalicPINVOKE.ScrollView_UnbindActor(swigCPtr, View.getCPtr(child));
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Allows the user to constrain the scroll view in a particular direction.
+ /// </summary>
+ /// <param name="direction">The axis to constrain the scroll-view to.</param>
+ /// <param name="threshold">The threshold to apply around the axis.</param>
+ /// <since_tizen> 3 </since_tizen>
public void SetScrollingDirection(Radian direction, Radian threshold)
{
NDalicPINVOKE.ScrollView_SetScrollingDirection__SWIG_0(swigCPtr, Radian.getCPtr(direction), Radian.getCPtr(threshold));
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Allows the user to constrain the scroll view in a particular direction.
+ /// </summary>
+ /// <param name="direction">The axis to constrain the scroll-view to.</param>
+ /// <since_tizen> 3 </since_tizen>
public void SetScrollingDirection(Radian direction)
{
NDalicPINVOKE.ScrollView_SetScrollingDirection__SWIG_1(swigCPtr, Radian.getCPtr(direction));
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Removes a direction constraint from the scroll view.
+ /// </summary>
+ /// <param name="direction">The axis to constrain the scroll-view to.</param>
+ /// <since_tizen> 3 </since_tizen>
public void RemoveScrollingDirection(Radian direction)
{
NDalicPINVOKE.ScrollView_RemoveScrollingDirection(swigCPtr, Radian.getCPtr(direction));
return ret;
}
+ /// <summary>
+ /// Sets and Gets WrapEnabled property.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool WrapEnabled
{
get
SetProperty(ScrollView.Property.WRAP_ENABLED, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Sets and Gets PanningEnabled property.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool PanningEnabled
{
get
SetProperty(ScrollView.Property.PANNING_ENABLED, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Sets and Gets AxisAutoLockEnabled property.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool AxisAutoLockEnabled
{
get
SetProperty(ScrollView.Property.AXIS_AUTO_LOCK_ENABLED, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Sets and Gets WheelScrollDistanceStep property.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector2 WheelScrollDistanceStep
{
get
SetProperty(ScrollView.Property.WHEEL_SCROLL_DISTANCE_STEP, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Sets and Gets ScrollPosition property.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector2 ScrollPosition
{
get
SetProperty(ScrollView.Property.SCROLL_POSITION, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Sets and Gets ScrollPrePosition property.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector2 ScrollPrePosition
{
get
SetProperty(ScrollView.Property.SCROLL_PRE_POSITION, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Sets and Gets ScrollPrePositionMax property.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector2 ScrollPrePositionMax
{
get
SetProperty(ScrollView.Property.SCROLL_PRE_POSITION_MAX, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Sets and Gets OvershootX property.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float OvershootX
{
get
SetProperty(ScrollView.Property.OVERSHOOT_X, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Sets and Gets OvershootY property.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float OvershootY
{
get
SetProperty(ScrollView.Property.OVERSHOOT_Y, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Sets and Gets ScrollFinal property.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector2 ScrollFinal
{
get
SetProperty(ScrollView.Property.SCROLL_FINAL, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Sets and Gets Wrap property.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool Wrap
{
get
SetProperty(ScrollView.Property.WRAP, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Sets and Gets Panning property.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool Panning
{
get
SetProperty(ScrollView.Property.PANNING, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Sets and Gets Scrolling property.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool Scrolling
{
get
SetProperty(ScrollView.Property.SCROLLING, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Sets and Gets ScrollDomainSize property.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector2 ScrollDomainSize
{
get
SetProperty(ScrollView.Property.SCROLL_DOMAIN_SIZE, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Sets and Gets ScrollDomainOffset property.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector2 ScrollDomainOffset
{
get
SetProperty(ScrollView.Property.SCROLL_DOMAIN_OFFSET, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Sets and Gets ScrollPositionDelta property.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector2 ScrollPositionDelta
{
get
SetProperty(ScrollView.Property.SCROLL_POSITION_DELTA, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Sets and Gets StartPagePosition property.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector3 StartPagePosition
{
get
}
}
+
+ /// <summary>
+ /// Sets and Gets ScrollMode property.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public PropertyMap ScrollMode
{
get
}
-}
+}
\ No newline at end of file
/// <summary>
/// The slider.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Slider Slider
{
get
/// <summary>
/// The slider value.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float SlideValue
{
get
/// <summary>
/// The slider.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Slider Slider
{
get
/// <summary>
/// The slider value.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float SlideValue
{
get
/// <summary>
/// The slider.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Slider Slider
{
get
/// <summary>
/// The slider value.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int SlideValue
{
get
/// <summary>
/// An event emitted when the slider value changes.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandlerWithReturnType<object, ValueChangedEventArgs, bool> ValueChanged
{
add
/// <summary>
/// An event emitted when the sliding is finished.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandlerWithReturnType<object, SlidingFinishedEventArgs, bool> SlidingFinished
{
add
/// <summary>
/// An event emitted when the slider handle reaches a mark.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandlerWithReturnType<object, MarkReachedEventArgs, bool> MarkReached
{
add
}
}
+ /// <since_tizen> 3 </since_tizen>
public void Dispose()
{
//Throw excpetion if Dispose() is called in separate thread.
/// <summary>
/// Creates the slider control.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Slider() : this(NDalicPINVOKE.Slider_New(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// </summary>
/// <param name="handle">The handle to an object.</param>
/// <returns>The handle to a slider or an uninitialized handle.</returns>
+ /// <since_tizen> 3 </since_tizen>
public new static Slider DownCast(BaseHandle handle)
{
Slider ret = Registry.GetManagedBaseHandleFromNativePtr(handle) as Slider;
/// <summary>
/// The lower bound property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float LowerBound
{
get
/// <summary>
/// The upper bound property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float UpperBound
{
get
/// <summary>
/// The value property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float Value
{
get
/// <summary>
/// The track visual property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public PropertyMap TrackVisual
{
get
/// <summary>
/// The handle visual property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public PropertyMap HandleVisual
{
get
/// <summary>
/// The progress visual property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public PropertyMap ProgressVisual
{
get
/// <summary>
/// The popup visual property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public PropertyMap PopupVisual
{
get
/// <summary>
/// The popup arrow visual property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public PropertyMap PopupArrowVisual
{
get
/// <summary>
/// The disable color property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector4 DisabledColor
{
get
/// <summary>
/// The value precision property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int ValuePrecision
{
get
/// <summary>
/// The show popup property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool ShowPopup
{
get
/// <summary>
/// The show value property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool ShowValue
{
get
/// <summary>
/// The marks property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Tizen.NUI.PropertyArray Marks
{
get
/// <summary>
/// The snap to marks property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool SnapToMarks
{
get
/// <summary>
/// The mark tolerance property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float MarkTolerance
{
get
}
-}
+}
\ No newline at end of file
namespace Tizen.NUI
{
+ /// <summary>
+ /// A ToggleButton allows the user to change a setting between two or more states.
+ /// </summary>
public class ToggleButton : Tizen.NUI.UIComponents.Button
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
public static readonly int CURRENT_STATE_INDEX = NDalicPINVOKE.ToggleButton_Property_CURRENT_STATE_INDEX_get();
}
+ /// <summary>
+ /// Create an instance for toggleButton.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public ToggleButton() : this(NDalicPINVOKE.ToggleButton_New(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Gets and Sets the state visual array of toggle button.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Tizen.NUI.PropertyArray StateVisuals
{
get
SetProperty(ToggleButton.Property.STATE_VISUALS, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Gets and Sets the tooltips of toggle button.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Tizen.NUI.PropertyArray Tooltips
{
get
SetProperty(ToggleButton.Property.TOOLTIPS, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Gets and Sets the current state index of toggle button.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int CurrentStateIndex
{
get
}
-}
+}
\ No newline at end of file
/// <param name="arg1">The first value.</param>
/// <param name="arg2">The second value.</param>
/// <returns>The vector containing the result of the addition.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static Vector2 operator +(Vector2 arg1, Vector2 arg2)
{
return arg1.Add(arg2);
/// <param name="arg1">The first value.</param>
/// <param name="arg2">The second value.</param>
/// <returns>The vector containing the result of the subtraction.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static Vector2 operator -(Vector2 arg1, Vector2 arg2)
{
return arg1.Subtract(arg2);
/// </summary>
/// <param name="arg1">The target value.</param>
/// <returns>The vector containing the negation.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static Vector2 operator -(Vector2 arg1)
{
return arg1.Subtract();
/// <param name="arg1">The first value.</param>
/// <param name="arg2">The second value.</param>
/// <returns>The vector containing the result of the multiplication.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static Vector2 operator *(Vector2 arg1, Vector2 arg2)
{
return arg1.Multiply(arg2);
/// <param name="arg1">The first value.</param>
/// <param name="arg2">The float value to scale the vector.</param>
/// <returns>The vector containing the result of the scaling.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static Vector2 operator *(Vector2 arg1, float arg2)
{
return arg1.Multiply(arg2);
/// <param name="arg1">The first value.</param>
/// <param name="arg2">The second value.</param>
/// <returns>The vector containing the result of the division.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static Vector2 operator /(Vector2 arg1, Vector2 arg2)
{
return arg1.Divide(arg2);
/// <param name="arg1">The first value.</param>
/// <param name="arg2">The float value to scale the vector by.</param>
/// <returns>The vector containing the result of the scaling.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static Vector2 operator /(Vector2 arg1, float arg2)
{
return arg1.Divide(arg2);
/// </summary>
/// <param name="index">The subscript index.</param>
/// <returns>The float at the given index.</returns>
+ /// <since_tizen> 3 </since_tizen>
public float this[uint index]
{
get
/// <summary>
/// The default constructor initializes the vector to 0.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector2() : this(NDalicPINVOKE.new_Vector2__SWIG_0(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// </summary>
/// <param name="x">The x or width component.</param>
/// <param name="y">The y or height component.</param>
+ /// <since_tizen> 3 </since_tizen>
public Vector2(float x, float y) : this(NDalicPINVOKE.new_Vector2__SWIG_1(x, y), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// The conversion constructor from an array of two floats.
/// </summary>
/// <param name="array">The array of xy.</param>
+ /// <since_tizen> 3 </since_tizen>
public Vector2(float[] array) : this(NDalicPINVOKE.new_Vector2__SWIG_2(array), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// The constructor.
/// </summary>
/// <param name="vec3">Vector3 to create this vector from.</param>
+ /// <since_tizen> 3 </since_tizen>
public Vector2(Vector3 vec3) : this(NDalicPINVOKE.new_Vector2__SWIG_3(Vector3.getCPtr(vec3)), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// The constructor.
/// </summary>
/// <param name="vec4">Vector4 to create this vector from.</param>
+ /// <since_tizen> 3 </since_tizen>
public Vector2(Vector4 vec4) : this(NDalicPINVOKE.new_Vector2__SWIG_4(Vector4.getCPtr(vec4)), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// <summary>
/// (1.0f,1.0f).
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static Vector2 One
{
get
/// <summary>
/// The vector representing the x-axis.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static Vector2 XAxis
{
get
/// <summary>
/// The vector representing the y-axis.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static Vector2 YAxis
{
get
/// <summary>
/// The vector representing the negative x-axis.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static Vector2 NegativeXAxis
{
get
/// <summary>
/// The vector representing the negative y-axis.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static Vector2 NegativeYAxis
{
get
/// <summary>
/// (0.0f, 0.0f).
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static Vector2 Zero
{
get
/// Returns the length of the vector.
/// </summary>
/// <returns>The length of the vector.</returns>
+ /// <since_tizen> 3 </since_tizen>
public float Length()
{
float ret = NDalicPINVOKE.Vector2_Length(swigCPtr);
/// testing as it avoids the use of a square root.<br>
/// </summary>
/// <returns>The length of the vector squared</returns>
+ /// <since_tizen> 3 </since_tizen>
public float LengthSquared()
{
float ret = NDalicPINVOKE.Vector2_LengthSquared(swigCPtr);
/// <summary>
/// Sets the vector to be the unit length, whilst maintaining its direction.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public void Normalize()
{
NDalicPINVOKE.Vector2_Normalize(swigCPtr);
/// </summary>
/// <param name="min">The minimum vector.</param>
/// <param name="max">The maximum vector.</param>
+ /// <since_tizen> 3 </since_tizen>
public void Clamp(Vector2 min, Vector2 max)
{
NDalicPINVOKE.Vector2_Clamp(swigCPtr, Vector2.getCPtr(min), Vector2.getCPtr(max));
/// <summary>
/// The x component.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float X
{
set
/// <summary>
/// The width.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float Width
{
set
/// <summary>
/// The y component.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float Y
{
set
/// <summary>
/// The height.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float Height
{
set
}
-}
+}
\ No newline at end of file
/// <param name="arg1">The first value.</param>
/// <param name="arg2">The second value.</param>
/// <returns>The vector containing the result of the addition.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static Vector3 operator +(Vector3 arg1, Vector3 arg2)
{
return arg1.Add(arg2);
/// <param name="arg1">The first value.</param>
/// <param name="arg2">The second value.</param>
/// <returns>The vector containing the result of the subtraction.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static Vector3 operator -(Vector3 arg1, Vector3 arg2)
{
return arg1.Subtract(arg2);
/// </summary>
/// <param name="arg1">The target value.</param>
/// <returns>The vector containg the negation.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static Vector3 operator -(Vector3 arg1)
{
return arg1.Subtract();
/// <param name="arg1">The first value.</param>
/// <param name="arg2">The second value.</param>
/// <returns>The vector containing the result of the multiplication.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static Vector3 operator *(Vector3 arg1, Vector3 arg2)
{
return arg1.Multiply(arg2);
/// <param name="arg1">The first value.</param>
/// <param name="arg2">The float value to scale the vector.</param>
/// <returns>The vector containing the result of the scaling.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static Vector3 operator *(Vector3 arg1, float arg2)
{
return arg1.Multiply(arg2);
/// <param name="arg1">The first value.</param>
/// <param name="arg2">The second value.</param>
/// <returns>The vector containing the result of the division.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static Vector3 operator /(Vector3 arg1, Vector3 arg2)
{
return arg1.Divide(arg2);
/// <param name="arg1">The first value.</param>
/// <param name="arg2">The float value to scale the vector by.</param>
/// <returns>The vector containing the result of the scaling.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static Vector3 operator /(Vector3 arg1, float arg2)
{
return arg1.Divide(arg2);
/// </summary>
/// <param name="index">The subscript index.</param>
/// <returns>The float at the given index.</returns>
+ /// <since_tizen> 3 </since_tizen>
public float this[uint index]
{
get
/// <summary>
/// The constructor.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector3() : this(NDalicPINVOKE.new_Vector3__SWIG_0(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// <param name="x">The x (or width) component.</param>
/// <param name="y">The y (or height) component.</param>
/// <param name="z">The z (or depth) component.</param>
+ /// <since_tizen> 3 </since_tizen>
public Vector3(float x, float y, float z) : this(NDalicPINVOKE.new_Vector3__SWIG_1(x, y, z), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// Conversion constructor from an array of three floats.
/// </summary>
/// <param name="array">An array of xyz.</param>
+ /// <since_tizen> 3 </since_tizen>
public Vector3(float[] array) : this(NDalicPINVOKE.new_Vector3__SWIG_2(array), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// The constructor.
/// </summary>
/// <param name="vec2">Vector2 to create this vector from.</param>
+ /// <since_tizen> 3 </since_tizen>
public Vector3(Vector2 vec2) : this(NDalicPINVOKE.new_Vector3__SWIG_3(Vector2.getCPtr(vec2)), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// The constructor.
/// </summary>
/// <param name="vec4">Vector4 to create this vector from.</param>
+ /// <since_tizen> 3 </since_tizen>
public Vector3(Vector4 vec4) : this(NDalicPINVOKE.new_Vector3__SWIG_4(Vector4.getCPtr(vec4)), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// <summary>
/// (1.0f,1.0f,1.0f).
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static Vector3 One
{
get
/// <summary>
/// The vector representing the x-axis.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static Vector3 XAxis
{
get
/// <summary>
/// The vector representing the y-axis.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static Vector3 YAxis
{
get
/// <summary>
/// The vector representing the z-axis.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static Vector3 ZAxis
{
get
/// <summary>
/// The vector representing the negative x-axis.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static Vector3 NegativeXAxis
{
get
/// <summary>
/// Th vector representing the negative y-axis.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static Vector3 NegativeYAxis
{
get
/// <summary>
/// The vector representing the negative z-axis.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static Vector3 NegativeZAxis
{
get
/// <summary>
/// (0.0f, 0.0f, 0.0f).
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static Vector3 Zero
{
get
/// Returns the length of the vector.
/// </summary>
/// <returns>The length of the vector.</returns>
+ /// <since_tizen> 3 </since_tizen>
public float Length()
{
float ret = NDalicPINVOKE.Vector3_Length(swigCPtr);
/// testing as it avoids the use of a square root.<br>
/// </summary>
/// <returns>The length of the vector squared.</returns>
+ /// <since_tizen> 3 </since_tizen>
public float LengthSquared()
{
float ret = NDalicPINVOKE.Vector3_LengthSquared(swigCPtr);
/// <summary>
/// Sets the vector to be unit length, whilst maintaining its direction.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public void Normalize()
{
NDalicPINVOKE.Vector3_Normalize(swigCPtr);
/// </summary>
/// <param name="min">The minimum vector.</param>
/// <param name="max">The maximum vector.</param>
+ /// <since_tizen> 3 </since_tizen>
public void Clamp(Vector3 min, Vector3 max)
{
NDalicPINVOKE.Vector3_Clamp(swigCPtr, Vector3.getCPtr(min), Vector3.getCPtr(max));
/// Returns the x and y components (or width and height, or r and g) as a Vector2.
/// </summary>
/// <returns>The partial vector contents as Vector2 (x,y).</returns>
+ /// <since_tizen> 3 </since_tizen>
public Vector2 GetVectorXY()
{
Vector2 ret = new Vector2(NDalicPINVOKE.Vector3_GetVectorXY__SWIG_0(swigCPtr), false);
/// Returns the y and z components (or height and depth, or g and b) as a Vector2.
/// </summary>
/// <returns>The partial vector contents as Vector2 (y,z).</returns>
+ /// <since_tizen> 3 </since_tizen>
public Vector2 GetVectorYZ()
{
Vector2 ret = new Vector2(NDalicPINVOKE.Vector3_GetVectorYZ__SWIG_0(swigCPtr), false);
/// <summary>
/// The x component.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float X
{
set
/// <summary>
/// The width component.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float Width
{
set
/// <summary>
/// The red component.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float R
{
set
/// <summary>
/// The y component.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float Y
{
set
/// <summary>
/// The height component.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float Height
{
set
/// <summary>
/// The green component.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float G
{
set
/// <summary>
/// The z component.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float Z
{
set
/// <summary>
/// The depth component.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float Depth
{
set
/// <summary>
/// The blue component.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float B
{
set
}
-}
+}
\ No newline at end of file
/// <param name="arg1">The first value.</param>
/// <param name="arg2">The second value.</param>
/// <returns>The vector containing the result of the addition.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static Vector4 operator +(Vector4 arg1, Vector4 arg2)
{
return arg1.Add(arg2);
/// <param name="arg1">The first value.</param>
/// <param name="arg2">The second value.</param>
/// <returns>The vector containing the result of the subtraction.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static Vector4 operator -(Vector4 arg1, Vector4 arg2)
{
return arg1.Subtract(arg2);
/// </summary>
/// <param name="arg1">The target value.</param>
/// <returns>The vector containing the negation.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static Vector4 operator -(Vector4 arg1)
{
return arg1.Subtract();
/// <param name="arg1">The first value.</param>
/// <param name="arg2">The second value.</param>
/// <returns>The vector containing the result of the multiplication.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static Vector4 operator *(Vector4 arg1, Vector4 arg2)
{
return arg1.Multiply(arg2);
/// <param name="arg1">The first value.</param>
/// <param name="arg2">The float value to scale the vector.</param>
/// <returns>The vector containing the result of scaling.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static Vector4 operator *(Vector4 arg1, float arg2)
{
return arg1.Multiply(arg2);
/// <param name="arg1">The first value.</param>
/// <param name="arg2">The second value.</param>
/// <returns>The vector containing the result of the division.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static Vector4 operator /(Vector4 arg1, Vector4 arg2)
{
return arg1.Divide(arg2);
/// <param name="arg1">The first value.</param>
/// <param name="arg2">The float value to scale the vector by.</param>
/// <returns>The vector containing the result of scaling.</returns>
+ /// <since_tizen> 3 </since_tizen>
public static Vector4 operator /(Vector4 arg1, float arg2)
{
return arg1.Divide(arg2);
/// </summary>
/// <param name="index">The subscript index.</param>
/// <returns>The float at the given index.</returns>
+ /// <since_tizen> 3 </since_tizen>
public float this[uint index]
{
get
/// <summary>
/// The default constructor initializes the vector to 0.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector4() : this(NDalicPINVOKE.new_Vector4__SWIG_0(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// <param name="y">The y (or g/t) component.</param>
/// <param name="z">The z (or b/p) component.</param>
/// <param name="w">The w (or a/q) component.</param>
+ /// <since_tizen> 3 </since_tizen>
public Vector4(float x, float y, float z, float w) : this(NDalicPINVOKE.new_Vector4__SWIG_1(x, y, z, w), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// The conversion constructor from an array of four floats.
/// </summary>
/// <param name="array">The array of either xyzw/rgba/stpq.</param>
+ /// <since_tizen> 3 </since_tizen>
public Vector4(float[] array) : this(NDalicPINVOKE.new_Vector4__SWIG_2(array), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// The conversion constructor from Vector2.
/// </summary>
/// <param name="vec2">Vector2 to copy from, z and w are initialized to 0.</param>
+ /// <since_tizen> 3 </since_tizen>
public Vector4(Vector2 vec2) : this(NDalicPINVOKE.new_Vector4__SWIG_3(Vector2.getCPtr(vec2)), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// The conversion constructor from Vector3.
/// </summary>
/// <param name="vec3">Vector3 to copy from, w is initialized to 0.</param>
+ /// <since_tizen> 3 </since_tizen>
public Vector4(Vector3 vec3) : this(NDalicPINVOKE.new_Vector4__SWIG_4(Vector3.getCPtr(vec3)), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// <summary>
/// (1.0f,1.0f,1.0f,1.0f).
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static Vector4 One
{
get
/// <summary>
/// (1.0f,0.0f,0.0f,0.0f).
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static Vector4 XAxis
{
get
/// <summary>
/// (0.0f,1.0f,0.0f,0.0f).
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static Vector4 YAxis
{
get
/// <summary>
/// (0.0f,0.0f,1.0f,0.0f).
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static Vector4 ZAxis
{
get
/// <summary>
/// (0.0f, 0.0f, 0.0f, 0.0f).
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static Vector4 Zero
{
get
/// Returns the length of the vector.
/// </summary>
/// <returns>The length.</returns>
+ /// <since_tizen> 3 </since_tizen>
public float Length()
{
float ret = NDalicPINVOKE.Vector4_Length(swigCPtr);
/// threshold checks as it avoids use of the square root.<br>
/// </summary>
/// <returns>The length of the vector squared.</returns>
+ /// <since_tizen> 3 </since_tizen>
public float LengthSquared()
{
float ret = NDalicPINVOKE.Vector4_LengthSquared(swigCPtr);
/// Normalizes the vector.<br>
/// Sets the vector to unit length whilst maintaining its direction.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public void Normalize()
{
NDalicPINVOKE.Vector4_Normalize(swigCPtr);
/// </summary>
/// <param name="min">The minimum vector.</param>
/// <param name="max">The maximum vector.</param>
+ /// <since_tizen> 3 </since_tizen>
public void Clamp(Vector4 min, Vector4 max)
{
NDalicPINVOKE.Vector4_Clamp(swigCPtr, Vector4.getCPtr(min), Vector4.getCPtr(max));
/// <summary>
/// The x component.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float X
{
set
/// <summary>
/// The red component.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float R
{
set
/// <summary>
/// The s component.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float S
{
set
/// <summary>
/// The y component.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float Y
{
set
/// <summary>
/// The green component.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float G
{
set
/// <summary>
/// The t component.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float T
{
set
/// <summary>
/// The z component.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float Z
{
set
/// <summary>
/// The blue component.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float B
{
set
/// <summary>
/// The p component.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float P
{
set
/// <summary>
/// The w component.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float W
{
set
/// <summary>
/// The alpha component.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float A
{
set
/// <summary>
/// The q component.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float Q
{
set
}
-}
+}
\ No newline at end of file
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
}
-}
+}
\ No newline at end of file
/// <summary>
/// Creates an empty visual handle.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public VisualBase() : this(NDalicPINVOKE.new_VisualBase__SWIG_0(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// <summary>
/// The name of the visual.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public string Name
{
set
/// </summary>
/// <param name="transform">A property map describing the transform.</param>
/// <param name="controlSize">The size of the parent control for visuals that need to scale internally.</param>
+ /// <since_tizen> 3 </since_tizen>
public void SetTransformAndSize(PropertyMap transform, Vector2 controlSize)
{
NDalicPINVOKE.VisualBase_SetTransformAndSize(swigCPtr, PropertyMap.getCPtr(transform), Vector2.getCPtr(controlSize));
/// </summary>
/// <param name="width">The width to use.</param>
/// <returns>The height based on the width.</returns>
+ /// <since_tizen> 3 </since_tizen>
public float GetHeightForWidth(float width)
{
float ret = NDalicPINVOKE.VisualBase_GetHeightForWidth(swigCPtr, width);
/// </summary>
/// <param name="height">The height to use.</param>
/// <returns>The width based on the height.</returns>
+ /// <since_tizen> 3 </since_tizen>
public float GetWidthForHeight(float height)
{
float ret = NDalicPINVOKE.VisualBase_GetWidthForHeight(swigCPtr, height);
/// A visual may not actually have a natural size until it has been placed on window and acquired all it's resources.<br>
/// </summary>
/// <param name="naturalSize">The visual's natural size.</param>
+ /// <since_tizen> 3 </since_tizen>
public void GetNaturalSize(Size2D naturalSize)
{
NDalicPINVOKE.VisualBase_GetNaturalSize(swigCPtr, Size2D.getCPtr(naturalSize));
/// <summary>
/// The depth index of this visual.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int DepthIndex
{
set
}
-}
+}
\ No newline at end of file
/// </summary>
/// <param name="propertyMap">The map contains the properties required by the visual. The content of the map determines the type of visual that will be returned.</param>
/// <returns>The handle to the created visual.</returns>
+ /// <since_tizen> 3 </since_tizen>
public VisualBase CreateVisual(PropertyMap propertyMap)
{
VisualBase ret = new VisualBase(NDalicPINVOKE.VisualFactory_CreateVisual__SWIG_0(swigCPtr, PropertyMap.getCPtr(propertyMap)), true);
/// <summary>
/// Retrieves the VisualFactory singleton.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static VisualFactory Instance
{
get
}
-}
+}
\ No newline at end of file
/// or absolute (in world units).<br>
/// Optional.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Size2D Size
{
get
/// or absolute (in world units).<br>
/// Optional.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector2 Position
{
get
/// (percentage [0.0f to 1.0f] of the control).<br>
/// Optional.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public RelativeVector2 RelativeSize
{
get
/// (percentage [0.0f to 1.0f] of the control).<br>
/// Optional.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public RelativeVector2 RelativePosition
{
get
/// By default, both the x and the y offset are relative.<br>
/// Optional.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public VisualTransformPolicyType PositionPolicy
{
get
/// By default, the x offset is relative.<br>
/// Optional.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public VisualTransformPolicyType PositionPolicyX
{
get
/// By default, the y offset is relative.<br>
/// Optional.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public VisualTransformPolicyType PositionPolicyY
{
get
/// By default, offsets of both the width and the height are relative to the control's size.<br>
/// Optional.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public VisualTransformPolicyType SizePolicy
{
get
/// By default, the value of the width is relative to the control's width.<br>
/// Optional.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public VisualTransformPolicyType SizePolicyWidth
{
get
/// By default, the height value is relative to the control's height.<br>
/// Optional.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public VisualTransformPolicyType SizePolicyHeight
{
get
/// By default, the origin is center.<br>
/// Optional.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Visual.AlignType Origin
{
get
/// By default, the anchor point is center.<br>
/// Optional.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Visual.AlignType AnchorPoint
{
get
/// By default, the depth index is 0.<br>
/// Optional.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int DepthIndex
{
get
/// <summary>
/// Gets the transform map used by the visual.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public PropertyMap OutputTransformMap
{
get
/// <summary>
/// Gets the property map to create the visual.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public PropertyMap OutputVisualMap
{
get
/// <summary>
/// The shader to use in the visual.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public PropertyMap Shader
{
get
/// Enables or disables the premultiplied alpha. <br>
/// The premultiplied alpha is false by default unless this behavior is modified by the derived visual type.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool PremultipliedAlpha
{
get
/// <summary>
/// Mix color is a blend color for any visual.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Color MixColor
{
get
/// <summary>
/// Opacity is the alpha component of the mix color discussed above.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float Opacity
{
get
/// Mandatory.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public string URL
{
get
/// Gets or sets the URL of the alpha mask.<br>
/// Optional.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public string AlphaMaskURL
{
get
/// For normal quad images only.<br>
/// Optional.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public FittingModeType FittingMode
{
get
/// For normal quad images only.<br>
/// Optional.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public SamplingModeType SamplingMode
{
get
/// For normal quad images only.<br>
/// Optional.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int DesiredWidth
{
get
/// For normal quad images only.<br>
/// Optional.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int DesiredHeight
{
get
/// For normal quad images only.<br>
/// Optional.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool SynchronousLoading
{
get
/// For n-patch images only.<br>
/// Optional.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool BorderOnly
{
get
/// For normal quad images only.<br>
/// Optional.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector4 PixelArea
{
get
/// For normal quad images only.<br>
/// Optional.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public WrapModeType WrapModeU
{
get
/// For normal quad images only.
/// Optional.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public WrapModeType WrapModeV
{
get
}
}
+ /// <summary>
+ /// Gets or sets scale factor to apply to the content image before masking.
+ /// </summary>
+ /// <since_tizen> 4 </since_tizen>
public float MaskContentScale
{
get
}
}
+ /// <summary>
+ /// Whether to crop image to mask or scale mask to fit image.
+ /// </summary>
+ /// <since_tizen> 4 </since_tizen>
public bool CropToMask
{
get
/// Gets or sets the text to display in the UTF-8 format.<br>
/// Mandatory.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public string Text
{
get
/// Gets or sets the requested font family to use.<br>
/// Optional.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public string FontFamily
{
get
/// Gets or sets the requested font style to use.<br>
/// Optional.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public PropertyMap FontStyle
{
get
/// Gets or sets the size of font in points.<br>
/// Mandatory.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float PointSize
{
get
/// If not specified, the default is false.<br>
/// Optional.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool MultiLine
{
get
/// If not specified, the default is begin.<br>
/// Optional.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public HorizontalAlignment HorizontalAlignment
{
get
/// If not specified, the default is top.<br>
/// Optional.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public VerticalAlignment VerticalAlignment
{
get
/// Gets or sets the color of the text.<br>
/// Optional.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Color TextColor
{
get
/// Gets or sets whether the mark-up processing is enabled.<br>
/// Optional.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool EnableMarkup
{
get
/// Gets or sets the color of the border.<br>
/// Mandatory.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Color Color
{
get
/// Gets or sets the width of the border (in pixels).<br>
/// Mandatory.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float BorderSize
{
get
/// If not supplied, the default is false.<br>
/// Optional.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool AntiAliasing
{
get
/// Gets or sets the solid color required.<br>
/// Mandatory.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Color Color
{
get
/// Gets or sets the start position of a linear gradient.<br>
/// Mandatory for linear.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector2 StartPosition
{
get
/// Gets or sets the end position of a linear gradient.<br>
/// Mandatory for linear.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector2 EndPosition
{
get
/// Gets or sets the center point of a radial gradient.<br>
/// Mandatory for radial.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector2 Center
{
get
/// Gets or sets the size of the radius of a radial gradient.<br>
/// Mandatory for radial.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float Radius
{
get
/// If not supplied, the default is 0.0f and 1.0f.<br>
/// Optional.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public PropertyArray StopOffset
{
get
/// At least 2 values are required to show a gradient.<br>
/// Mandatory.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public PropertyArray StopColor
{
get
/// If not supplied, the default is GradientVisualUnitsType.ObjectBoundingBox.<br>
/// Optional.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public GradientVisualUnitsType Units
{
get
/// If not supplied, the default is GradientVisualSpreadMethodType.Pad.<br>
/// Optional.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public GradientVisualSpreadMethodType SpreadMethod
{
get
/// Gets or sets the location of the ".obj" file.<br>
/// Mandatory.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public string ObjectURL
{
get
/// If not specified, then a textureless object is assumed.<br>
/// Optional.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public string MaterialtURL
{
get
/// Gets or sets the path to the directory the textures (including gloss and normal) are stored in.<br>
/// Mandatory if using material.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public string TexturesPath
{
get
/// If not specified, it will use the best it can support (will try MeshVisualShadingModeValue.TexturedWithDetailedSpecularLighting first).<br>
/// Optional.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public MeshVisualShadingModeValue ShadingMode
{
get
/// If not specified, the default is true.<br>
/// Optional.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool UseMipmapping
{
get
/// If not specified, the default is true.<br>
/// Optional.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool UseSoftNormals
{
get
/// If not specified, the default is an offset outwards from the center of the screen.<br>
/// Optional.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector3 LightPosition
{
get
/// If not specified, the default is PrimitiveVisualShapeType.Sphere.<br>
/// Optional.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public PrimitiveVisualShapeType Shape
{
get
/// Applies to all shapes.<br>
/// Optional.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public new Color MixColor
{
get
/// The range is from 1 to 255.<br>
/// Optional.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int Slices
{
get
/// The range is from 1 to 255.<br>
/// Optional.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int Stacks
{
get
/// Only values greater than or equal to 0.0f are accepted.<br>
/// Optional.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float ScaleTopRadius
{
get
/// Only values greater than or equal to 0.0f are accepted.<br>
/// Optional.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float ScaleBottomRadius
{
get
/// Only values greater than or equal to 0.0f are accepted.<br>
/// Optional.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float ScaleHeight
{
get
/// Only values greater than or equal to 0.0f are accepted.<br>
/// Optional.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float ScaleRadius
{
get
/// Each Vector3 parameter should be greater than or equal to 0.0f.<br>
/// Optional.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector3 ScaleDimensions
{
get
/// The range is from 0.0f to 1.0f.<br>
/// Optional.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float BevelPercentage
{
get
/// The range is from 0.0f to 1.0f.<br>
/// Optional.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float BevelSmoothness
{
get
/// Applies to all shapes.<br>
/// Optional.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector3 LightPosition
{
get
/// Gets or sets the URL of the image.<br>
/// Mandatory.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public string URL
{
get
/// For n-patch images only.<br>
/// Optional.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool BorderOnly
{
get
/// For n-patch images only.<br>
/// Optional.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Rectangle Border
{
get
private int? _cacheSize = null;
private float? _frameDelay = null;
+ /// <summary>
+ /// Gets and Sets the url in the AnimatedImageVisual.
+ /// </summary>
+ /// <since_tizen> 4 </since_tizen>
public string URL
{
get
}
}
+ /// <summary>
+ /// Gets and Sets the url list in the AnimatedImageVisual.
+ /// </summary>
+ /// <since_tizen> 4 </since_tizen>
public List<string> URLS
{
get
}
}
+ /// <summary>
+ /// Gets and Sets the batch size for pre-loading images in the AnimatedImageVisual.
+ /// </summary>
+ /// <since_tizen> 4 </since_tizen>
public int BatchSize
{
get
}
}
+ /// <summary>
+ /// Gets and Sets the cache size for loading images in the AnimatedImageVisual.
+ /// </summary>
+ /// <since_tizen> 4 </since_tizen>
public int CacheSize
{
get
UpdateVisual();
}
}
+
+ /// <summary>
+ /// Gets and Sets The number of milliseconds between each frame in the AnimatedImageVisual.
+ /// </summary>
+ /// <since_tizen> 4 </since_tizen>
public float FrameDelay
{
get
}
-
//temporary fix for TCT
+ /// <summary>
+ /// A class encapsulating the property map of the transition data.
+ /// </summary>
public class VisualAnimator : VisualMap
{
+ /// <summary>
+ /// Create VisualAnimator object.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public VisualAnimator() : base()
{
}
private string _propertyIndex = null;
private object _destinationValue = null;
+ /// <summary>
+ /// Sets and Gets the AlphaFunction of this transition.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public AlphaFunction.BuiltinFunctions AlphaFunction
{
get
}
}
+ /// <summary>
+ /// Sets and Gets the StartTime of this transition.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int StartTime
{
get
}
}
+ /// <summary>
+ /// Sets and Gets the EndTime of this transition.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int EndTime
{
get
}
}
+ /// <summary>
+ /// Sets and Gets the Target of this transition.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public string Target
{
get
}
}
+ /// <summary>
+ /// Sets and Gets the PropertyIndex of this transition.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public string PropertyIndex
{
get
}
}
+ /// <summary>
+ /// Sets and Gets the DestinationValue of this transition.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public object DestinationValue
{
get
-}
+}
\ No newline at end of file
/// <summary>
/// The type of the wheel event.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Wheel.WheelType Type
{
get
/// <summary>
/// The direction of wheel rolling (0 = default vertical wheel, 1 = horizontal wheel).
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int Direction
{
get
/// <summary>
/// Modifier keys pressed during the event (such as Shift, Alt, and Ctrl).
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public uint Modifiers
{
get
/// <summary>
/// The coordinates of the cursor relative to the top-left of the screen.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector2 Point
{
get
/// <summary>
/// The offset of rolling (positive value means roll down or clockwise, and negative value means roll up or counter-clockwise).
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int Z
{
get
/// <summary>
/// The time the wheel is being rolled.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public uint TimeStamp
{
get
/// <summary>
/// The default constructor.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Wheel() : this(NDalicPINVOKE.new_Wheel__SWIG_0(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// <param name="point">The coordinates of the cursor relative to the top-left of the screen.</param>
/// <param name="z">The offset of rolling (positive value means roll down or clockwise, and negative value means roll up or counter-clockwise).</param>
/// <param name="timeStamp">The time the wheel is being rolled.</param>
+ /// <since_tizen> 3 </since_tizen>
public Wheel(Wheel.WheelType type, int direction, uint modifiers, Vector2 point, int z, uint timeStamp) : this(NDalicPINVOKE.new_Wheel__SWIG_1((int)type, direction, modifiers, Vector2.getCPtr(point), z, timeStamp), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// Checks to see if the Shift key modifier has been supplied.
/// </summary>
/// <returns>True if Shift modifier.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool IsShiftModifier()
{
bool ret = NDalicPINVOKE.Wheel_IsShiftModifier(swigCPtr);
/// Checks to see if Ctrl (control) key modifier has been supplied.
/// </summary>
/// <returns>True if Ctrl modifier.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool IsCtrlModifier()
{
bool ret = NDalicPINVOKE.Wheel_IsCtrlModifier(swigCPtr);
/// Checks to see if Alt key modifier has been supplied.
/// </summary>
/// <returns>True if Alt modifier.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool IsAltModifier()
{
bool ret = NDalicPINVOKE.Wheel_IsAltModifier(swigCPtr);
/// <summary>
/// The type of the wheel event.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum WheelType
{
MouseWheel,
}
-}
+}
\ No newline at end of file
/// This is the constructor for Widget.
/// </summary>
/// <param name="id">for widget instance</param>
+ /// <since_tizen> 4 </since_tizen>
public Widget(string id) : this(NDalicManualPINVOKE.Widget_New(id), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// <summary>
/// widget data.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public WidgetData WidgetData
{
get;
/// <summary>
/// a bundle.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public SWIGTYPE_p_bundle Bundle
{
get;
/// <summary>
/// window size.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public Size2D WindowSize
{
get;
/// <summary>
/// Create event.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public event EventHandler<CreateEventArgs> Create
{
add
/// <summary>
/// widget data.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public WidgetData WidgetData
{
get;
/// <summary>
/// a bundle.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public SWIGTYPE_p_bundle Bundle
{
get;
/// <summary>
/// widget terminate type.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public WidgetTerminateType WidgetTerminateType
{
get;
/// <summary>
/// Terminate event.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public event EventHandler<TerminateEventArgs> Terminate
{
add
/// <summary>
/// widget data.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public WidgetData WidgetData
{
get;
/// <summary>
/// Pause event.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public event EventHandler<PauseEventArgs> Pause
{
add
/// <summary>
/// widget data.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public WidgetData WidgetData
{
get;
/// <summary>
/// Resume event.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public event EventHandler<ResumeEventArgs> Resume
{
add
/// <summary>
/// widget data.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public WidgetData WidgetData
{
get;
/// <summary>
/// window size.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public Size2D WindowSize
{
get;
/// <summary>
/// Resize event.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public event EventHandler<ResizeEventArgs> Resize
{
add
/// <summary>
/// widget data.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public WidgetData WidgetData
{
get;
/// <summary>
/// A bundle.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public SWIGTYPE_p_bundle Bundle
{
get;
/// 1 -> force but do someting
/// 2 -> force
/// </remark>
+ /// <since_tizen> 4 </since_tizen>
public int Force
{
get;
/// <summary>
/// Update event.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public event EventHandler<UpdateEventArgs> Update
{
add
/// <summary>
/// Enumeration for terminate type of widget instance.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public enum WidgetTerminateType
{
/// <summary>
/// <summary>
/// Enumeration for lifecycle event type of widget instance.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public enum WidgetLifecycleEventType
{
/// <summary>
Resume = 4
}
}
-}
+}
\ No newline at end of file
/// Get widget instance id.
/// </summary>
/// <returns>Id of widget instance.</returns>
+ /// <since_tizen> 4 </since_tizen>
public string GetInstanceId()
{
string ret = NDalicManualPINVOKE.WidgetData_GetInstanceId(swigCPtr);
/// Get widget instance content.
/// </summary>
/// <returns>Content of widget instance.</returns>
+ /// <since_tizen> 4 </since_tizen>
public string GetContent()
{
string ret = NDalicManualPINVOKE.WidgetData_GetContent(swigCPtr);
/// Get widget instance Window.
/// </summary>
/// <returns>Window of widget instance</returns>
+ /// <since_tizen> 4 </since_tizen>
public Window GetWindow()
{
Window ret = new Window(NDalicManualPINVOKE.WidgetData_GetWindow(swigCPtr), false);
/// Set widget instance arguments.
/// </summary>
/// <param name="content">Content of widget instance</param>
+ /// <since_tizen> 4 </since_tizen>
public void SetContent(string content)
{
NDalicManualPINVOKE.WidgetData_SetContent(swigCPtr, content);
/// Set widget instance arguments.
/// </summary>
/// <param name="window">Window of widget instance.</param>
+ /// <since_tizen> 4 </since_tizen>
public void SetWindow(Window window)
{
NDalicManualPINVOKE.WidgetData_SetWindow(swigCPtr, Window.getCPtr(window));
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
}
-}
+}
\ No newline at end of file
/// <summary>
/// Creates a new WidgetView.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public WidgetView(string widgetId, string contentInfo, int width, int height, float updatePeriod) : this(NDalicManualPINVOKE.WidgetView_New(widgetId, contentInfo, width, height, updatePeriod), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// <summary>
/// The widet view.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public WidgetView WidgetView
{
get
/// This signal is emitted after all resources required by a control are loaded and ready.<br>
/// Most resources are only loaded when the control is placed on the stage.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandler<WidgetViewEventArgs> WidgetAdded
{
add
/// This signal is emitted after all resources required by a control are loaded and ready.<br>
/// Most resources are only loaded when the control is placed on the stage.<br>
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public event EventHandler<WidgetViewEventArgs> WidgetDeleted
{
add
/// This signal is emitted after all resources required by a control are loaded and ready.<br>
/// Most resources are only loaded when the control is placed on the stage.<br>
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public event EventHandler<WidgetViewEventArgs> WidgetCreationAborted
{
add
/// This signal is emitted after all resources required by a control are loaded and ready.<br>
/// Most resources are only loaded when the control is placed on the stage.<br>
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public event EventHandler<WidgetViewEventArgs> WidgetContentUpdated
{
add
/// This signal is emitted after all resources required by a control are loaded and ready.<br>
/// Most resources are only loaded when the control is placed on the stage.<br>
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public event EventHandler<WidgetViewEventArgs> WidgetUpdatePeriodChanged
{
add
/// This signal is emitted after all resources required by a control are loaded and ready.<br>
/// Most resources are only loaded when the control is placed on the stage.<br>
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public event EventHandler<WidgetViewEventArgs> WidgetFaulted
{
add
/// Pauses a given widget.
/// </summary>
/// <returns>True on success, false otherwise.</returns>
+ /// <since_tizen> 4 </since_tizen>
public bool PauseWidget()
{
bool ret = NDalicManualPINVOKE.WidgetView_PauseWidget(swigCPtr);
/// Resumes a given widget.
/// </summary>
/// <returns>True on success, false otherwise.</returns>
+ /// <since_tizen> 4 </since_tizen>
public bool ResumeWidget()
{
bool ret = NDalicManualPINVOKE.WidgetView_ResumeWidget(swigCPtr);
/// If a widget gets ON_HOLD event, it will not do anything even if you feed touch up event.
/// </summary>
/// <returns>True on success, false otherwise.</returns>
+ /// <since_tizen> 4 </since_tizen>
public bool CancelTouchEvent()
{
bool ret = NDalicManualPINVOKE.WidgetView_CancelTouchEvent(swigCPtr);
/// Activates a widget in the faulted state.
/// A widget in faulted state must be activated before adding the widget.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public void ActivateFaultedWidget()
{
NDalicManualPINVOKE.WidgetView_ActivateFaultedWidget(swigCPtr);
/// <summary>
/// Gets the ID of the widget.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public string WidgetID
{
get
/// <summary>
/// Gets the ID of the instance.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public string InstanceID
{
get
/// <summary>
/// Gets the content info.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public string ContentInfo
{
get
/// <summary>
/// Gets the title.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public string Title
{
get
/// <summary>
/// Gets the update peroid.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public float UpdatePeriod
{
get
/// <summary>
/// Gets or sets the preview.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public bool Preview
{
get
/// <summary>
/// Gets or sets the loading text.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public bool LoadingText
{
get
/// <summary>
/// Gets or sets whether the widget state is faulted or not.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public bool WidgetStateFaulted
{
get
/// <summary>
/// Gets or sets whether the widget is to delete permanently or not.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public bool PermanentDelete
{
get
}
-}
+}
\ No newline at end of file
base.Dispose(type);
}
+ /// <summary>
+ /// Creates a new widgetView manager object.
+ /// </summary>
+ /// <since_tizen> 4 </since_tizen>
public WidgetViewManager(NUIApplication nuiApplication, string appId) : this(NDalicManualPINVOKE.WidgetViewManager_New(Application.getCPtr(nuiApplication.ApplicationHandle), appId), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// <param name="height">The widget height.</param>
/// <param name="updatePeriod">The period of updating contents of the widget.</param>
/// <returns>A handle to WidgetView.</returns>
+ /// <since_tizen> 4 </since_tizen>
public WidgetView AddWidget(string widgetId, string contentInfo, int width, int height, float updatePeriod)
{
WidgetView ret = new WidgetView(NDalicManualPINVOKE.WidgetViewManager_AddWidget(swigCPtr, widgetId, contentInfo, width, height, updatePeriod), true);
}
-}
+}
\ No newline at end of file
/// Sets whether the window accepts a focus or not.
/// </summary>
/// <param name="accept">If a focus is accepted or not. The default is true.</param>
+ /// <since_tizen> 3 </since_tizen>
public void SetAcceptFocus(bool accept)
{
NDalicPINVOKE.SetAcceptFocus(swigCPtr, accept);
/// Returns whether the window accepts a focus or not.
/// </summary>
/// <returns>True if the window accepts a focus, false otherwise.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool IsFocusAcceptable()
{
bool ret = NDalicPINVOKE.IsFocusAcceptable(swigCPtr);
/// <summary>
/// Shows the window if it is hidden.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public void Show()
{
NDalicPINVOKE.Show(swigCPtr);
/// <summary>
/// Hides the window if it is showing.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public void Hide()
{
NDalicPINVOKE.Hide(swigCPtr);
/// Retrieves whether the window is visible or not.
/// </summary>
/// <returns>True if the window is visible.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool IsVisible()
{
bool temp = NDalicPINVOKE.IsVisible(swigCPtr);
/// Gets the count of supported auxiliary hints of the window.
/// </summary>
/// <returns>The number of supported auxiliary hints.</returns>
+ /// <since_tizen> 3 </since_tizen>
public uint GetSupportedAuxiliaryHintCount() {
uint ret = NDalicPINVOKE.GetSupportedAuxiliaryHintCount(swigCPtr);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// </summary>
/// <param name="index">The index of the supported auxiliary hint lists.</param>
/// <returns>The auxiliary hint string of the index.</returns>
+ /// <since_tizen> 3 </since_tizen>
public string GetSupportedAuxiliaryHint(uint index) {
string ret = NDalicPINVOKE.GetSupportedAuxiliaryHint(swigCPtr, index);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// <param name="hint">The auxiliary hint string.</param>
/// <param name="value">The value string.</param>
/// <returns>The ID of created auxiliary hint, or 0 on failure.</returns>
+ /// <since_tizen> 3 </since_tizen>
public uint AddAuxiliaryHint(string hint, string value) {
uint ret = NDalicPINVOKE.AddAuxiliaryHint(swigCPtr, hint, value);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// </summary>
/// <param name="id">The ID of the auxiliary hint.</param>
/// <returns>True if no error occurred, false otherwise.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool RemoveAuxiliaryHint(uint id) {
bool ret = NDalicPINVOKE.RemoveAuxiliaryHint(swigCPtr, id);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// <param name="id">The auxiliary hint ID.</param>
/// <param name="value">The value string to be set.</param>
/// <returns>True if no error occurred, false otherwise.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool SetAuxiliaryHintValue(uint id, string value) {
bool ret = NDalicPINVOKE.SetAuxiliaryHintValue(swigCPtr, id, value);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// </summary>
/// <param name="id">The auxiliary hint ID.</param>
/// <returns>The string value of the auxiliary hint ID, or an empty string if none exists.</returns>
+ /// <since_tizen> 3 </since_tizen>
public string GetAuxiliaryHintValue(uint id) {
string ret = NDalicPINVOKE.GetAuxiliaryHintValue(swigCPtr, id);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// </summary>
/// <param name="hint">The auxiliary hint string.</param>
/// <returns>The ID of auxiliary hint string, or 0 on failure.</returns>
+ /// <since_tizen> 3 </since_tizen>
public uint GetAuxiliaryHintId(string hint) {
uint ret = NDalicPINVOKE.GetAuxiliaryHintId(swigCPtr, hint);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// Sets a region to accept input events.
/// </summary>
/// <param name="inputRegion">The region to accept input events.</param>
+ /// <since_tizen> 3 </since_tizen>
public void SetInputRegion(Rectangle inputRegion) {
NDalicPINVOKE.SetInputRegion(swigCPtr, Rectangle.getCPtr(inputRegion));
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// <summary>
/// Gets or sets a window type.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public WindowType Type
{
get
/// </summary>
/// <param name="level">The notification window level.</param>
/// <returns>True if no error occurred, false otherwise.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool SetNotificationLevel(NotificationLevel level) {
bool ret = NDalicPINVOKE.SetNotificationLevel(swigCPtr, (int)level);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// Gets a priority level for the specified notification window.
/// </summary>
/// <returns>The notification window level.</returns>
+ /// <since_tizen> 3 </since_tizen>
public NotificationLevel GetNotificationLevel() {
NotificationLevel ret = (NotificationLevel)NDalicPINVOKE.GetNotificationLevel(swigCPtr);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// Sets a transparent window's visual state to opaque.
/// </summary>
/// <param name="opaque">Whether the window's visual state is opaque.</param>
+ /// <since_tizen> 3 </since_tizen>
public void SetOpaqueState(bool opaque) {
NDalicPINVOKE.SetOpaqueState(swigCPtr, opaque);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// Returns whether a transparent window's visual state is opaque or not.
/// </summary>
/// <returns>True if the window's visual state is opaque, false otherwise.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool IsOpaqueState() {
bool ret = NDalicPINVOKE.IsOpaqueState(swigCPtr);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// </summary>
/// <param name="screenMode">The screen mode.</param>
/// <returns>True if no error occurred, false otherwise.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool SetScreenMode(ScreenMode screenMode) {
bool ret = NDalicPINVOKE.SetScreenMode(swigCPtr, (int)screenMode);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// Gets the screen mode of the window.
/// </summary>
/// <returns>The screen mode.</returns>
+ /// <since_tizen> 3 </since_tizen>
public ScreenMode GetScreenMode() {
ScreenMode ret = (ScreenMode)NDalicPINVOKE.GetScreenMode(swigCPtr);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// </summary>
/// <param name="brightness">The preferred brightness (0 to 100).</param>
/// <returns>True if no error occurred, false otherwise.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool SetBrightness(int brightness) {
bool ret = NDalicPINVOKE.SetBrightness(swigCPtr, brightness);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// Gets the preferred brightness of the window.
/// </summary>
/// <returns>The preferred brightness.</returns>
+ /// <since_tizen> 3 </since_tizen>
public int GetBrightness() {
int ret = NDalicPINVOKE.GetBrightness(swigCPtr);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
private delegate void WindowFocusChangedEventCallbackType(bool focusGained);
private event EventHandler<FocusChangedEventArgs> _windowFocusChangedEventHandler;
+ /// <summary>
+ /// FocusChanged event.
+ /// </summary>
+ /// <since_tizen> 4 </since_tizen>
public event EventHandler<FocusChangedEventArgs> FocusChanged
{
add
/// <summary>
/// Gets/Sets a window title.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public string Title
{
get
/// </summary>
/// <param name="name">The name of the window.</param>
/// <param name="klass">The class of the window.</param>
+ /// <since_tizen> 4 </since_tizen>
public void SetClass(string name, string klass)
{
NDalicPINVOKE.Window_SetClass(swigCPtr, name, klass);
/// <summary>
/// Raises the window to the top of the window stack.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public void Raise()
{
NDalicPINVOKE.Window_Raise(swigCPtr);
/// <summary>
/// Lowers the window to the bottom of the window stack.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public void Lower()
{
NDalicPINVOKE.Window_Lower(swigCPtr);
/// <summary>
/// Activates the window to the top of the window stack even it is iconified.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public void Activate()
{
NDalicPINVOKE.Window_Activate(swigCPtr);
/// Gets the default ( root ) layer.
/// </summary>
/// <returns>The root layer.</returns>
+ /// <since_tizen> 3 </since_tizen>
public Layer GetDefaultLayer()
{
return this.GetRootLayer();
return ret;
}
+ /// <since_tizen> 3 </since_tizen>
public Layer GetLayer(uint depth)
{
IntPtr cPtr = NDalicPINVOKE.Stage_GetLayer(stageCPtr, depth);
/// Keep rendering for at least the given amount of time.
/// </summary>
/// <param name="durationSeconds">Time to keep rendering, 0 means render at least one more frame.</param>
+ /// <since_tizen> 3 </since_tizen>
public void KeepRendering(float durationSeconds)
{
NDalicPINVOKE.Stage_KeepRendering(stageCPtr, durationSeconds);
/// The stage instance property (read-only).<br>
/// Gets the current window.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static Window Instance
{
get
/// </summary>
/// <param name="DaliKey">The key code to grab.</param>
/// <returns>True if the grab succeeds.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool GrabKeyTopmost(int DaliKey)
{
bool ret = NDalicManualPINVOKE.GrabKeyTopmost(HandleRef.ToIntPtr(this.swigCPtr), DaliKey);
/// </summary>
/// <param name="DaliKey">The key code to ungrab.</param>
/// <returns>True if the ungrab succeeds.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool UngrabKeyTopmost(int DaliKey)
{
bool ret = NDalicManualPINVOKE.UngrabKeyTopmost(HandleRef.ToIntPtr(this.swigCPtr), DaliKey);
/// <param name="DaliKey">The key code to grab.</param>
/// <param name="GrabMode">The grab mode for the key.</param>
/// <returns>True if the grab succeeds.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool GrabKey(int DaliKey, KeyGrabMode GrabMode)
{
bool ret = NDalicManualPINVOKE.GrabKey(HandleRef.ToIntPtr(this.swigCPtr), DaliKey, (int)GrabMode);
/// </summary>
/// <param name="DaliKey">The key code to ungrab.</param>
/// <returns>True if the ungrab succeeds.</returns>
+ /// <since_tizen> 3 </since_tizen>
public bool UngrabKey(int DaliKey)
{
bool ret = NDalicManualPINVOKE.UngrabKey(HandleRef.ToIntPtr(this.swigCPtr), DaliKey);
/// <summary>
/// Enumeration for orientation of the window is the way in which a rectangular page is oriented for normal viewing.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum WindowOrientation
{
Portrait = 0,
/// <summary>
/// Enumeration for the key grab mode for platform-level APIs.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum KeyGrabMode
{
/// <summary>
/// <summary>
/// Touch.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Touch Touch
{
get
/// then when the last finger is lifted.<br>
/// An interrupted event will also be emitted (if it occurs).<br>
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public event EventHandler<TouchEventArgs> TouchEvent
{
add
/// <summary>
/// Wheel.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Wheel Wheel
{
get
/// <summary>
/// This event is emitted when the wheel event is received.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public event EventHandler<WheelEventArgs> WheelEvent
{
add
/// <summary>
/// Key.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Key Key
{
get
/// <summary>
/// This event is emitted when the key event is received.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public event EventHandler<KeyEventArgs> KeyEvent
{
add
private delegate void WindowResizedEventCallbackType(IntPtr windowSize);
private event EventHandler<ResizedEventArgs> _windowResizedEventHandler;
+ /// <summary>
+ /// This event is emitted when the window resized.
+ /// </summary>
+ /// <since_tizen> 4 </since_tizen>
public event EventHandler<ResizedEventArgs> Resized
{
add
/// <summary>
/// The window size property (read-only).
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Size2D Size
{
get
/// <summary>
/// The background color property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Color BackgroundColor
{
set
/// The DPI property (read-only).<br>
/// Retrieves the DPI of the display device to which the Window is connected.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector2 Dpi
{
get
/// The layer count property (read-only).<br>
/// Queries the number of on-Window layers.<br>
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public uint LayerCount
{
get
/// Adds a layer to the stage.
/// </summary>
/// <param name="layer">Layer to add.</param>
+ /// <since_tizen> 3 </since_tizen>
public void AddLayer(Layer layer)
{
NDalicPINVOKE.Stage_Add(stageCPtr, Layer.getCPtr(layer));
/// Removes a layer from the stage.
/// </summary>
/// <param name="layer">Layer to remove.</param>
+ /// <since_tizen> 4 </since_tizen>
public void RemoveLayer(Layer layer)
{
NDalicPINVOKE.Stage_Remove(stageCPtr, Layer.getCPtr(layer));
/// <summary>
/// Gets or sets a size of the window.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public Size2D WindowSize
{
get
/// <summary>
/// Gets or sets a position of the window.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public Position2D WindowPosition
{
get
/// <summary>
/// Feed a key-event into the window.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public static void FeedKeyEvent(Key keyEvent)
{
NDalicManualPINVOKE.Window_FeedKeyEvent(Key.getCPtr(keyEvent));
/// Allows at least one more render, even when paused.
/// The window should be shown, not minimised.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public void RenderOnce()
{
NDalicManualPINVOKE.Window_RenderOnce(swigCPtr);
}
}
-}
+}
\ No newline at end of file