*
*/
+extern alias TizenSystemSettings;
+using TizenSystemSettings.Tizen.System;
using System;
using System.ComponentModel;
-using System.Collections.Generic;
-using Tizen.NUI.Binding;
namespace Tizen.NUI.BaseComponents
{
{
}
- internal static global::System.Runtime.InteropServices.HandleRef getCPtr(RendererParameters obj)
- {
- return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
- }
-
/// <summary>
/// Dispose
/// </summary>
{
set
{
- Interop.RendererParameters.TextSet(swigCPtr, value);
+ Interop.RendererParameters.TextSet(SwigCPtr, value);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
get
{
- string ret = Interop.RendererParameters.TextGet(swigCPtr);
+ string ret = Interop.RendererParameters.TextGet(SwigCPtr);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
return ret;
}
break;
}
}
- Interop.RendererParameters.HorizontalAlignmentSet(swigCPtr, alignment);
+ Interop.RendererParameters.HorizontalAlignmentSet(SwigCPtr, alignment);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
get
{
- string ret = Interop.RendererParameters.HorizontalAlignmentGet(swigCPtr);
+ string ret = Interop.RendererParameters.HorizontalAlignmentGet(SwigCPtr);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
HorizontalAlignment alignment = HorizontalAlignment.Begin;
switch (ret)
break;
}
}
- Interop.RendererParameters.VerticalAlignmentSet(swigCPtr, alignment);
+ Interop.RendererParameters.VerticalAlignmentSet(SwigCPtr, alignment);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
get
{
- string ret = Interop.RendererParameters.VerticalAlignmentGet(swigCPtr);
+ string ret = Interop.RendererParameters.VerticalAlignmentGet(SwigCPtr);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
VerticalAlignment alignment = VerticalAlignment.Top;
switch (ret)
{
set
{
- Interop.RendererParameters.FontFamilySet(swigCPtr, value);
+ Interop.RendererParameters.FontFamilySet(SwigCPtr, value);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
get
{
- string ret = Interop.RendererParameters.FontFamilyGet(swigCPtr);
+ string ret = Interop.RendererParameters.FontFamilyGet(SwigCPtr);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
return ret;
}
{
set
{
- Interop.RendererParameters.FontWeightSet(swigCPtr, value);
+ Interop.RendererParameters.FontWeightSet(SwigCPtr, value);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
get
{
- string ret = Interop.RendererParameters.FontWeightGet(swigCPtr);
+ string ret = Interop.RendererParameters.FontWeightGet(SwigCPtr);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
return ret;
}
{
set
{
- Interop.RendererParameters.FontWidthSet(swigCPtr, value);
+ Interop.RendererParameters.FontWidthSet(SwigCPtr, value);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
get
{
- string ret = Interop.RendererParameters.FontWidthGet(swigCPtr);
+ string ret = Interop.RendererParameters.FontWidthGet(SwigCPtr);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
return ret;
}
{
set
{
- Interop.RendererParameters.FontSlantSet(swigCPtr, value);
+ Interop.RendererParameters.FontSlantSet(SwigCPtr, value);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
get
{
- string ret = Interop.RendererParameters.FontSlantGet(swigCPtr);
+ string ret = Interop.RendererParameters.FontSlantGet(SwigCPtr);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
return ret;
}
break;
}
}
- Interop.RendererParameters.LayoutSet(swigCPtr, textLayout);
+ Interop.RendererParameters.LayoutSet(SwigCPtr, textLayout);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
get
{
- string ret = Interop.RendererParameters.LayoutGet(swigCPtr);
+ string ret = Interop.RendererParameters.LayoutGet(SwigCPtr);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
TextLayout textLayout = TextLayout.SingleLine;
switch (ret)
break;
}
}
- Interop.RendererParameters.CircularAlignmentSet(swigCPtr, alignment);
+ Interop.RendererParameters.CircularAlignmentSet(SwigCPtr, alignment);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
get
{
- string ret = Interop.RendererParameters.CircularAlignmentGet(swigCPtr);
+ string ret = Interop.RendererParameters.CircularAlignmentGet(SwigCPtr);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
CircularAlignment alignment = CircularAlignment.Begin;
switch (ret)
{
set
{
- Interop.RendererParameters.TextColorSet(swigCPtr, Vector4.getCPtr(value));
+ Interop.RendererParameters.TextColorSet(SwigCPtr, Vector4.getCPtr(value));
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
get
{
- Vector4 ret = new Vector4(Interop.RendererParameters.TextColorGet(swigCPtr), true);
+ Vector4 ret = new Vector4(Interop.RendererParameters.TextColorGet(SwigCPtr), true);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
return ret;
}
{
set
{
- Interop.RendererParameters.FontSizeSet(swigCPtr, value);
+ Interop.RendererParameters.FontSizeSet(SwigCPtr, value);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
get
{
- float ret = Interop.RendererParameters.FontSizeGet(swigCPtr);
+ float ret = Interop.RendererParameters.FontSizeGet(SwigCPtr);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
return ret;
}
{
set
{
- Interop.RendererParameters.TextWidthSet(swigCPtr, value);
+ Interop.RendererParameters.TextWidthSet(SwigCPtr, value);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
get
{
- uint ret = Interop.RendererParameters.TextWidthGet(swigCPtr);
+ uint ret = Interop.RendererParameters.TextWidthGet(SwigCPtr);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
return ret;
}
{
set
{
- Interop.RendererParameters.TextHeightSet(swigCPtr, value);
+ Interop.RendererParameters.TextHeightSet(SwigCPtr, value);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
get
{
- uint ret = Interop.RendererParameters.TextHeightGet(swigCPtr);
+ uint ret = Interop.RendererParameters.TextHeightGet(SwigCPtr);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
return ret;
}
{
set
{
- Interop.RendererParameters.RadiusSet(swigCPtr, value);
+ Interop.RendererParameters.RadiusSet(SwigCPtr, value);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
get
{
- uint ret = Interop.RendererParameters.RadiusGet(swigCPtr);
+ uint ret = Interop.RendererParameters.RadiusGet(SwigCPtr);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
return ret;
}
{
set
{
- Interop.RendererParameters.BeginAngleSet(swigCPtr, value);
+ Interop.RendererParameters.BeginAngleSet(SwigCPtr, value);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
get
{
- float ret = Interop.RendererParameters.BeginAngleGet(swigCPtr);
+ float ret = Interop.RendererParameters.BeginAngleGet(SwigCPtr);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
return ret;
}
{
set
{
- Interop.RendererParameters.IncrementAngleSet(swigCPtr, value);
+ Interop.RendererParameters.IncrementAngleSet(SwigCPtr, value);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
get
{
- float ret = Interop.RendererParameters.IncrementAngleGet(swigCPtr);
+ float ret = Interop.RendererParameters.IncrementAngleGet(SwigCPtr);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
return ret;
}
{
set
{
- Interop.RendererParameters.EllipsisEnabledSet(swigCPtr, value);
+ Interop.RendererParameters.EllipsisEnabledSet(SwigCPtr, value);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
get
{
- bool ret = Interop.RendererParameters.EllipsisEnabledGet(swigCPtr);
+ bool ret = Interop.RendererParameters.EllipsisEnabledGet(SwigCPtr);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
return ret;
}
{
set
{
- Interop.RendererParameters.MarkupEnabledSet(swigCPtr, value);
+ Interop.RendererParameters.MarkupEnabledSet(SwigCPtr, value);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
get
{
- bool ret = Interop.RendererParameters.MarkupEnabledGet(swigCPtr);
+ bool ret = Interop.RendererParameters.MarkupEnabledGet(SwigCPtr);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
return ret;
}
{
set
{
- Interop.RendererParameters.IsTextColorSetSet(swigCPtr, value);
+ Interop.RendererParameters.IsTextColorSetSet(SwigCPtr, value);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
get
{
- bool ret = Interop.RendererParameters.IsTextColorSetGet(swigCPtr);
+ bool ret = Interop.RendererParameters.IsTextColorSetGet(SwigCPtr);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
return ret;
}
{
set
{
- Interop.RendererParameters.MinLineSizeSet(swigCPtr, value);
+ Interop.RendererParameters.MinLineSizeSet(SwigCPtr, value);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
get
{
- float ret = Interop.RendererParameters.MinLineSizeGet(swigCPtr);
+ float ret = Interop.RendererParameters.MinLineSizeGet(SwigCPtr);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
return ret;
}
{
set
{
- Interop.RendererParameters.PaddingSet(swigCPtr, Extents.getCPtr(value));
+ Interop.RendererParameters.PaddingSet(SwigCPtr, Extents.getCPtr(value));
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
get
{
- Extents ret = new Extents(Interop.RendererParameters.PaddingGet(swigCPtr), true);
+ Extents ret = new Extents(Interop.RendererParameters.PaddingGet(SwigCPtr), true);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
return ret;
}
{
}
- internal static global::System.Runtime.InteropServices.HandleRef getCPtr(EmbeddedItemInfo obj)
- {
- return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
- }
-
/// <summary>
/// Dispose
/// </summary>
{
set
{
- Interop.EmbeddedItemInfo.CharacterIndexSet(swigCPtr, value);
+ Interop.EmbeddedItemInfo.CharacterIndexSet(SwigCPtr, value);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
get
{
- uint ret = Interop.EmbeddedItemInfo.CharacterIndexGet(swigCPtr);
+ uint ret = Interop.EmbeddedItemInfo.CharacterIndexGet(SwigCPtr);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
return ret;
}
{
set
{
- Interop.EmbeddedItemInfo.GlyphIndexSet(swigCPtr, value);
+ Interop.EmbeddedItemInfo.GlyphIndexSet(SwigCPtr, value);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
get
{
- uint ret = Interop.EmbeddedItemInfo.GlyphIndexGet(swigCPtr);
+ uint ret = Interop.EmbeddedItemInfo.GlyphIndexGet(SwigCPtr);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
return ret;
}
{
set
{
- Interop.EmbeddedItemInfo.PositionSet(swigCPtr, Vector2.getCPtr(value));
+ Interop.EmbeddedItemInfo.PositionSet(SwigCPtr, Vector2.getCPtr(value));
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
get
{
- Vector2 ret = new Vector2(Interop.EmbeddedItemInfo.PositionGet(swigCPtr), swigCMemOwn);
+ Vector2 ret = new Vector2(Interop.EmbeddedItemInfo.PositionGet(SwigCPtr), SwigCMemOwn);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
return ret;
}
{
set
{
- Interop.EmbeddedItemInfo.SizeSet(swigCPtr, Size.getCPtr(value));
+ Interop.EmbeddedItemInfo.SizeSet(SwigCPtr, Size.getCPtr(value));
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
get
{
- Size ret = new Size(Interop.EmbeddedItemInfo.SizeGet(swigCPtr), swigCMemOwn);
+ Size ret = new Size(Interop.EmbeddedItemInfo.SizeGet(SwigCPtr), SwigCMemOwn);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
return ret;
}
{
set
{
- Interop.EmbeddedItemInfo.RotatedSizeSet(swigCPtr, Size.getCPtr(value));
+ Interop.EmbeddedItemInfo.RotatedSizeSet(SwigCPtr, Size.getCPtr(value));
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
get
{
- Size ret = new Size(Interop.EmbeddedItemInfo.RotatedSizeGet(swigCPtr), swigCMemOwn);
+ Size ret = new Size(Interop.EmbeddedItemInfo.RotatedSizeGet(SwigCPtr), SwigCMemOwn);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
return ret;
}
{
set
{
- Interop.EmbeddedItemInfo.AngleSet(swigCPtr, Degree.getCPtr(value));
+ Interop.EmbeddedItemInfo.AngleSet(SwigCPtr, Degree.getCPtr(value));
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
get
{
- Degree ret = new Degree(Interop.EmbeddedItemInfo.AngleGet(swigCPtr), swigCMemOwn);
+ Degree ret = new Degree(Interop.EmbeddedItemInfo.AngleGet(SwigCPtr), SwigCMemOwn);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
return ret;
}
{
set
{
- Interop.EmbeddedItemInfo.ColorBlendingModeSet(swigCPtr, value);
+ Interop.EmbeddedItemInfo.ColorBlendingModeSet(SwigCPtr, value);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
get
{
- Tizen.NUI.ColorBlendingMode ret = Interop.EmbeddedItemInfo.ColorBlendingModeGet(swigCPtr);
+ Tizen.NUI.ColorBlendingMode ret = Interop.EmbeddedItemInfo.ColorBlendingModeGet(SwigCPtr);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
return ret;
}
{
}
- internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ShadowParameters obj)
- {
- return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
- }
-
/// <summary>
/// Dispose
/// </summary>
{
set
{
- Interop.ShadowParameters.InputSet(swigCPtr, PixelBuffer.getCPtr(value));
+ Interop.ShadowParameters.InputSet(SwigCPtr, PixelBuffer.getCPtr(value));
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
get
{
- PixelBuffer ret = new PixelBuffer(Interop.ShadowParameters.InputGet(swigCPtr), true);
+ PixelBuffer ret = new PixelBuffer(Interop.ShadowParameters.InputGet(SwigCPtr), true);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
return ret;
}
{
set
{
- Interop.ShadowParameters.TextColorSet(swigCPtr, Vector4.getCPtr(value));
+ Interop.ShadowParameters.TextColorSet(SwigCPtr, Vector4.getCPtr(value));
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
get
{
- Vector4 ret = new Vector4(Interop.ShadowParameters.TextColorGet(swigCPtr), true);
+ Vector4 ret = new Vector4(Interop.ShadowParameters.TextColorGet(SwigCPtr), true);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
return ret;
}
{
set
{
- Interop.ShadowParameters.ColorSet(swigCPtr, Vector4.getCPtr(value));
+ Interop.ShadowParameters.ColorSet(SwigCPtr, Vector4.getCPtr(value));
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
get
{
- Vector4 ret = new Vector4(Interop.ShadowParameters.ColorGet(swigCPtr), true);
+ Vector4 ret = new Vector4(Interop.ShadowParameters.ColorGet(SwigCPtr), true);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
return ret;
}
{
set
{
- Interop.ShadowParameters.OffsetSet(swigCPtr, Vector2.getCPtr(value));
+ Interop.ShadowParameters.OffsetSet(SwigCPtr, Vector2.getCPtr(value));
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
get
{
- Vector2 ret = new Vector2(Interop.ShadowParameters.OffsetGet(swigCPtr), true);
+ Vector2 ret = new Vector2(Interop.ShadowParameters.OffsetGet(SwigCPtr), true);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
return ret;
}
{
set
{
- Interop.ShadowParameters.BlendShadowSet(swigCPtr, value);
+ Interop.ShadowParameters.BlendShadowSet(SwigCPtr, value);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
get
{
- bool ret = Interop.ShadowParameters.BlendShadowGet(swigCPtr);
+ bool ret = Interop.ShadowParameters.BlendShadowGet(SwigCPtr);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
return ret;
}
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
- }
+#if PROFILE_TV
+ private const float FontSizeScaleSmall = 0.8f;
+ private const float FontSizeScaleNormal = 1.0f;
+ private const float FontSizeScaleLarge = 1.5f;
+ private const float FontSizeScaleHuge = 1.9f;
+ private const float FontSizeScaleGiant = 2.5f;
+#elif PROFILE_WEARABLE
+ // The following values from 'system-settings/libutil/sstu.c'
+ private const float FontSizeScaleSmall = 0.9f;
+ private const float FontSizeScaleNormal = 1.0f;
+ private const float FontSizeScaleLarge = 1.1f;
+ private const float FontSizeScaleHuge = 1.9f;
+ private const float FontSizeScaleGiant = 2.5f;
+#else // PROFILE_MOBILE and etc
+ // The following values from 'system-settings/libutil/sstu.c'
+ private const float FontSizeScaleSmall = 0.8f;
+ private const float FontSizeScaleNormal = 1.0f;
+ private const float FontSizeScaleLarge = 1.5f;
+ private const float FontSizeScaleHuge = 1.9f;
+ private const float FontSizeScaleGiant = 2.5f;
+#endif
+
+ /// <summary>
+ /// It returns a float value according to SystemSettingsFontSize.
+ /// The returned value can be used for FontSizeScale property.
+ /// <param name="systemSettingsFontSize">The SystemSettingsFontSize enum value.</param>
+ /// <returns> A float value for FontSizeScale property. </returns>
+ /// </summary>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public static float GetFontSizeScale(SystemSettingsFontSize systemSettingsFontSize)
+ {
+ float ret = FontSizeScaleNormal;
+
+ switch (systemSettingsFontSize)
+ {
+ case SystemSettingsFontSize.Small:
+ ret = FontSizeScaleSmall;
+ break;
+ case SystemSettingsFontSize.Normal:
+ ret = FontSizeScaleNormal;
+ break;
+ case SystemSettingsFontSize.Large:
+ ret = FontSizeScaleLarge;
+ break;
+ case SystemSettingsFontSize.Huge:
+ ret = FontSizeScaleHuge;
+ break;
+ case SystemSettingsFontSize.Giant:
+ ret = FontSizeScaleGiant;
+ break;
+ }
+
+ return ret;
+ }
+
+ /// <summary>
+ /// Copy the previously selected text from the text control into the clipboard.
+ /// </summary>
+ /// <param name="textEditor">The textEditor control from which the text is copied.</param>
+ /// <returns>The copied text.</returns>
+ /// <since_tizen> 9 </since_tizen>
+ public static string CopyToClipboard(TextEditor textEditor)
+ {
+ string copiedText = Interop.TextEditor.CopyText(textEditor.SwigCPtr);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return copiedText;
+ }
+
+ /// <summary>
+ /// Copy the previously selected text from the text control into the clipboard.
+ /// </summary>
+ /// <param name="textField">The textField control from which the text is copied.</param>
+ /// <returns>The copied text.</returns>
+ /// <since_tizen> 9 </since_tizen>
+ public static string CopyToClipboard(TextField textField)
+ {
+ string copiedText = Interop.TextField.CopyText(textField.SwigCPtr);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return copiedText;
+ }
+
+ /// <summary>
+ /// Cut the previously selected text from the text control into the clipboard.
+ /// </summary>
+ /// <param name="textEditor">The textEditor control from which the text is cut.</param>
+ /// <returns>The cut text.</returns>
+ /// <since_tizen> 9 </since_tizen>
+ public static string CutToClipboard(TextEditor textEditor)
+ {
+ string cutText = Interop.TextEditor.CutText(textEditor.SwigCPtr);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return cutText;
+ }
+
+ /// <summary>
+ /// Cut the previously selected text from the text control into the clipboard.
+ /// </summary>
+ /// <param name="textField">The textField control from which the text is cut.</param>
+ /// <returns>The cut text.</returns>
+ /// <since_tizen> 9 </since_tizen>
+ public static string CutToClipboard(TextField textField)
+ {
+ string cutText = Interop.TextField.CutText(textField.SwigCPtr);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return cutText;
+ }
+
+ /// <summary>
+ /// Paste the most recently copied/cut text item from the clipboard into the text control.
+ /// </summary>
+ /// <remarks>
+ /// The pasted text will be inserted in the current cursor position and if the text control has no focus,
+ /// the text will be appended to the last cursor position and the text control will gain focus.
+ /// If some text inside the text control is selected, it will be replaced by the pasted text.
+ /// </remarks>
+ /// <param name="textEditor">The textEditor control into which the text is pasted.</param>
+ /// <since_tizen> 9 </since_tizen>
+ public static void PasteTo(TextEditor textEditor)
+ {
+ Interop.TextEditor.PasteText(textEditor.SwigCPtr);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
+ /// <summary>
+ /// Paste the most recently copied/cut text item from the clipboard into the text control.
+ /// </summary>
+ /// <remarks>
+ /// The pasted text will be inserted in the current cursor position and if the text control has no focus,
+ /// the text will be appended to the last cursor position and the text control will gain focus.
+ /// If some text inside the text control is selected, it will be replaced by the pasted text.
+ /// </remarks>
+ /// <param name="textField">The textField control into which the text is pasted.</param>
+ /// <since_tizen> 9 </since_tizen>
+ public static void PasteTo(TextField textField)
+ {
+ Interop.TextField.PasteText(textField.SwigCPtr);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
+ }
}