[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_TextLabel_Property_RENDER_MODE_get")]
public static extern int RenderModeGet();
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_TextLabel_Property_MANUAL_RENDERED_get")]
+ public static extern int ManualRenderedGet();
+
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_TextLabel_RequestAsyncRenderWithFixedSize")]
public static extern void RequestAsyncRenderWithFixedSize(global::System.Runtime.InteropServices.HandleRef textLabelRef, float width, float height);
}
}
+ /// <summary>
+ /// Whether the last async rendering result is a manual render. <br />
+ /// If it's false, the render result was automatically requested by OnRelayout.
+ /// </summary>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public bool ManualRendered
+ {
+ get
+ {
+ bool manualRendered = false;
+ using (var propertyValue = GetProperty(TextLabel.Property.ManualRendered))
+ {
+ propertyValue.Get(out manualRendered);
+ }
+ return manualRendered;
+ }
+ }
private TextLabelSelectorData EnsureSelectorData() => selectorData ?? (selectorData = new TextLabelSelectorData());
internal static readonly int RemoveBackInset = Interop.TextLabel.RemoveBackInsetGet();
internal static readonly int Cutout = Interop.TextLabel.CutoutGet();
internal static readonly int RenderMode = Interop.TextLabel.RenderModeGet();
+ internal static readonly int ManualRendered = Interop.TextLabel.ManualRenderedGet();
internal static void Preload()