[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_TextEditor_Property_REMOVE_BACK_INSET_get")]
public static extern int RemoveBackInsetGet();
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_TextEditor_Property_FONT_VARIATIONS_get")]
+ public static extern int FontVariationsGet();
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_TextEditor_RegisterFontVariationProperty")]
+ public static extern int RegisterFontVariationProperty(global::System.Runtime.InteropServices.HandleRef textEditorRef, string pTag);
}
}
}
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_TextField_Property_REMOVE_BACK_INSET_get")]
public static extern int RemoveBackInsetGet();
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_TextField_Property_FONT_VARIATIONS_get")]
+ public static extern int FontVariationsGet();
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_TextField_RegisterFontVariationProperty")]
+ public static extern int RegisterFontVariationProperty(global::System.Runtime.InteropServices.HandleRef textFieldRef, string pTag);
}
}
}
[DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_TextLabel_Property_ASYNC_LINE_COUNT_get")]
public static extern int AsyncLineCountGet();
+ [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_TextLabel_Property_FONT_VARIATIONS_get")]
+ public static extern int FontVariationsGet();
[DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_TextLabel_RequestAsyncRenderWithFixedSize")]
public static extern void RequestAsyncRenderWithFixedSize(HandleRef textLabelRef, float width, float height);
[DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_TextLabel_AsyncHeightForWidthComputedSignal_Disconnect")]
public static extern void AsyncHeightForWidthComputedDisconnect(HandleRef textLabelRef, HandleRef handler);
+ [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_TextLabel_RegisterFontVariationProperty")]
+ public static extern int RegisterFontVariationProperty(HandleRef textLabelRef, string pTag);
}
}
}
return ThemeManager.GetStyle(this.GetType()) == null ? false : true;
}
+ /// <summary>
+ /// Registers FontVariationsProperty with string tag.
+ /// </summary>
+ /// <param name="tag">The tag of font variations.</param>
+ /// <remarks>
+ /// The returned index can be used with animation.
+ /// </remarks>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public int RegisterFontVariationProperty(string tag)
+ {
+ int index = Interop.TextEditor.RegisterFontVariationProperty(SwigCPtr, tag);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return index;
+ }
+
/// <summary>
/// The TranslatableText property.<br />
/// The text can set the SID value.<br />
internal static readonly int CharacterSpacing = Interop.TextEditor.CharacterSpacingGet();
internal static readonly int RemoveFrontInset = Interop.TextEditor.RemoveFrontInsetGet();
internal static readonly int RemoveBackInset = Interop.TextEditor.RemoveBackInsetGet();
+ internal static readonly int FontVariations = Interop.TextEditor.FontVariationsGet();
internal static void Preload()
{
{
GrabHandleColor = new Color(r, g, b, a);
}
+ public void SetFontVariation(string axis, float value)
+ {
+ int index = RegisterFontVariationProperty(axis);
+ Object.InternalSetPropertyFloat(SwigCPtr, index, value);
+ }
+ public void SetFontVariation(int index, float value)
+ {
+ Object.InternalSetPropertyFloat(SwigCPtr, index, value);
+ }
internal class TextEditorLayout : LayoutItem
{
return ThemeManager.GetStyle(this.GetType()) == null ? false : true;
}
+ /// <summary>
+ /// Registers FontVariationsProperty with string tag.
+ /// </summary>
+ /// <param name="tag">The tag of font variations.</param>
+ /// <remarks>
+ /// The returned index can be used with animation.
+ /// </remarks>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public int RegisterFontVariationProperty(string tag)
+ {
+ int index = Interop.TextField.RegisterFontVariationProperty(SwigCPtr, tag);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return index;
+ }
+
/// <summary>
/// The TranslatableText property.<br />
/// The text can set the SID value.<br />
internal static readonly int CharacterSpacing = Interop.TextField.CharacterSpacingGet();
internal static readonly int RemoveFrontInset = Interop.TextField.RemoveFrontInsetGet();
internal static readonly int RemoveBackInset = Interop.TextField.RemoveBackInsetGet();
+ internal static readonly int FontVariations = Interop.TextField.FontVariationsGet();
internal static void Preload()
{
{
GrabHandleColor = new Color(r, g, b, a);
}
+ public void SetFontVariation(string axis, float value)
+ {
+ int index = RegisterFontVariationProperty(axis);
+ Object.InternalSetPropertyFloat(SwigCPtr, index, value);
+ }
+ public void SetFontVariation(int index, float value)
+ {
+ Object.InternalSetPropertyFloat(SwigCPtr, index, value);
+ }
internal class TextFieldLayout : LayoutItem
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Registers FontVariationsProperty with string tag.
+ /// </summary>
+ /// <param name="tag">The tag of font variations.</param>
+ /// <remarks>
+ /// The returned index can be used with animation.
+ /// </remarks>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public int RegisterFontVariationProperty(string tag)
+ {
+ int index = Interop.TextLabel.RegisterFontVariationProperty(SwigCPtr, tag);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return index;
+ }
+
/// <summary>
/// The TranslatableText property.<br />
/// The text can set the SID value.<br />
internal static readonly int RenderMode = Interop.TextLabel.RenderModeGet();
internal static readonly int ManualRendered = Interop.TextLabel.ManualRenderedGet();
internal static readonly int AsyncLineCount = Interop.TextLabel.AsyncLineCountGet();
+ internal static readonly int FontVariations = Interop.TextLabel.FontVariationsGet();
internal static readonly int EllipsisMode = Interop.TextLabel.EllipsisModeGet();
internal static readonly int IsScrolling = Interop.TextLabel.IsScrollingGet();
{
AnchorClickedColor = new Color(r, g, b, a);
}
+ public void SetFontVariation(string axis, float value)
+ {
+ int index = RegisterFontVariationProperty(axis);
+ Object.InternalSetPropertyFloat(SwigCPtr, index, value);
+ }
+ public void SetFontVariation(int index, float value)
+ {
+ Object.InternalSetPropertyFloat(SwigCPtr, index, value);
+ }
}
}